Julian Winkler
a9f377f754
Button: fix setText() overriding the compoundDrawable
2025-03-02 00:05:59 +01:00
Julian Winkler
b33a470c7b
View: call onLayout() only on size change or on request
...
GTK always wants us to call gtk_widget_allocate() on all children, so we
need to do it manually when not calling onLayout().
2025-03-02 00:05:59 +01:00
Mis012
f0fcd47c80
replace our implementation of applyStyle with a native function that calls into libandroidfw
...
also change a few things to work with latest libandroidfw, since we are now using
it's helper functions that need to agree on e.g STYLE_NUM_ENTRIES with the Java
code.
2025-02-27 22:44:55 +01:00
Mis012
d97c3ee048
AssetManager: update to use v2 of libandroidfw C api
2025-02-27 22:44:55 +01:00
Mis012
ca39c81224
Drawable: fix theme not getting passed to newly inflated drawables
...
When Theme support was added, not everything was immediately updated
to use theme information properly. This was fixed in a lot of places
since then, but it seems not here.
2025-02-27 22:44:55 +01:00
Mis012
8afb1a0fe2
VelocityTracker: fix infinite loop typo
2025-02-27 22:06:28 +01:00
Mis012
b35ecc7918
CI: only run on master branch
2025-02-26 15:42:09 +01:00
Mis012
23feff7bbc
Activity: remove old debug prints
2025-02-26 15:40:14 +01:00
Julian Winkler
344058d475
add android.webkit.WebResourceResponse for K-9 Mail
2025-02-24 21:49:46 +01:00
Julian Winkler
19e91df8af
WrapperWidget: make sure onTouch listeners are called before onClick listeners
2025-02-24 21:49:46 +01:00
Julian Winkler
77fec3c9e6
Button: implement setCompoundDrawables()
2025-02-24 21:49:46 +01:00
Julian Winkler
161904c8a8
View: implement onKeyDown() callback
2025-02-24 21:49:46 +01:00
Julian Winkler
2374d44b0f
View: make sure onDetachedFromWindow() gets called before updating attachedToWindow property
2025-02-24 21:49:46 +01:00
Julian Winkler
24f839f556
make android.text.Layout.draw() compatible custom Canvas classes
...
TextAndroidCanvas is a proxy canvas class which prevents us from
accessing the GtkSnapshot of the real canvas. To solve this problem, we
call Canvas.drawText() for each line.
2025-02-24 21:49:46 +01:00
Julian Winkler
4bb5dfd86e
Paint: implement textAlign and text bounds
2025-02-24 21:45:36 +01:00
Julian Winkler
587aeaba74
Canvas: implement drawCircle() and a drawText() variant
2025-02-24 21:45:36 +01:00
Julian Winkler
3fb1f56da2
api-impl: add misc APIs for Open Sudoku
2025-02-24 21:45:36 +01:00
Julian Winkler
227f3c9682
View: HACK: catch Exceptions during dispatch draw
2025-02-24 21:45:36 +01:00
Julian Winkler
b911d73eb3
Activity: HACK: catch errors in onCreateOptionsMenu()
...
This method throws some non critical errors in the Open Sudoku app.
Catch them for now until we fixed the root cause.
2025-02-24 18:47:56 +01:00
Julian Winkler
f20bb6cb1c
ContentResolver: implement query() support for file:// URIs
...
This is needed for the subscription import feature in NewPipe.
2025-02-22 23:49:43 +01:00
Mis012
899805f23f
Canvas: add drawLines
2025-02-15 21:42:21 +01:00
Mis012
453224cf31
api-impl: misc stubs and trivial impls
2025-02-15 21:42:21 +01:00
Mis012
df03617f13
api-impl: add ClipDrawable from AOSP
...
taken from AOSP master (commit ed8c91e410671fa153f1587f61d05b303bf94f95)
2025-02-15 21:24:26 +01:00
Mis012
bf79a77993
api-impl: import ToggleButton from AOSP, clean up constructors
...
taken from AOSP master (commit ed8c91e410671fa153f1587f61d05b303bf94f95)
2025-02-15 21:24:26 +01:00
Mis012
da406ec4c2
api-impl: import more annotations from AOSP
2025-02-15 21:24:26 +01:00