Commit Graph

406 Commits

Author SHA1 Message Date
Julian Winkler
bd2387ebd6 Dialog: call dismissListener on close request 2024-02-16 15:28:04 +01:00
Julian Winkler
bc8443e542 Dialog: add dismiss(), hide() and onCreate() methods 2024-02-16 15:28:04 +01:00
Julian Winkler
d253bfd24f findViewById(): only search among child views
also set default content view in Window
2024-02-16 15:28:04 +01:00
Julian Winkler
d2f28a5b21 add some methods needed for androidx dialogs 2024-02-16 15:28:04 +01:00
Mis012
056b911637 handle 'SEND' intent by copying to clipboard, make Activity subclass ContextWrapper, code style fixes 2024-02-10 20:58:38 +01:00
Julian Winkler
50ba9b952a make invisible widgets insensitive
Otherwise they would still intercept event handling
2024-02-10 10:28:48 +01:00
Julian Winkler
f3292a76f2 AssetManager: special handling for style and array types
These are complex and can't be loaded into a TypedArray
2024-02-10 10:28:48 +01:00
Julian Winkler
164383121c implement AssetManager.copyTheme() 2024-02-10 10:28:48 +01:00
Julian Winkler
ef029f7cea implement LayoutParams.resolveLayoutDirection() callback
This is needed to make androidx ConstraintLayout behave correctly
2024-02-10 10:28:48 +01:00
Julian Winkler
61d74cb690 update JDWP arguments for new ART version 2024-02-10 10:28:48 +01:00
Julian Winkler
77403170d2 TextView: relayout after setText()
This is necessary, when TextViews are recycled by RecyclerView
2024-02-10 10:28:48 +01:00
Julian Winkler
7b952c4336 View: set visibility attribute from XML 2024-02-10 10:28:48 +01:00
Julian Winkler
182c7cfb87 refactor View.native_measure()
It now respects gtk_widget_get_request_mode() when not specified
otherwise
2024-02-10 10:28:48 +01:00
Julian Winkler
eca365c60f AndroidLayout: set minimum sizes correctly
This is needed for GtkScrolledWindow, which we still use for
implementing ScrollView
2024-02-10 10:28:48 +01:00
Julian Winkler
e2ff23080c TextView: enable tabular numbers by default
Some apps like Gravity Defied expect the default font to have monospaced
numbers
2024-02-10 10:28:48 +01:00
Julian Winkler
88254d822f replace LinearLayout with AOSPs implementation
Also update QuickHelp.md, as LinearLayout was the last custom
implemented ViewGroup
2024-02-10 10:28:48 +01:00
Julian Winkler
6eeb6b0232 move performClick implementation to WrapperWidget 2024-02-10 10:28:48 +01:00
Julian Winkler
4ab7daa033 GLES20: use get_nio_buffer function from util.c
The version in util.c has a fix found by -Xcheck:jni
2024-02-10 10:28:48 +01:00
Julian Winkler
aa56f3fb81 Add some methods needed for androidx preferences 2024-02-10 10:28:48 +01:00
Julian Winkler
850fd2f076 add some stubs to make NewPipe video player work again 2024-02-08 14:22:40 +01:00
Julian Winkler
f107328bf4 MediaCodec: don't use JNI after GetPrimitiveArrayCritical()
this was found, because of having -Xcheck:jni enabled
2024-02-08 14:22:30 +01:00
Julian Winkler
810886ca59 View: set background as Drawable 2024-02-06 16:41:49 +01:00
Julian Winkler
7c59ed33bd make AssetManager feature complete with pre androidfw version 2024-02-06 16:41:49 +01:00
Julian Winkler
c1d8956309 AssetManager: use libandroidfw for everything except XML parsing
binary XML parsing still relies on ARSClib for now
2024-02-06 16:41:49 +01:00
Julian Winkler
8d4d0021b3 use libandroidfw also for themes 2024-02-06 16:41:49 +01:00