Commit Graph

392 Commits

Author SHA1 Message Date
Julian Winkler
89b98faf04 ViewGroup: remove detached views
detached views should not be part of the view hierarchy
2024-02-18 10:08:43 +01:00
Julian Winkler
b7f06e41c1 implement release() methods in MediaCodec and related classes 2024-02-18 10:08:43 +01:00
Julian Winkler
5dfadc9c59 Add some more methods needed by NewPipe. Mostly stubs 2024-02-18 10:08:43 +01:00
Mis012
72d6ad9914 Drawable: stub 'ripple' as transparent ColorDrawable, fix view.setBackgroundColor for buttons 2024-02-18 00:30:36 +01:00
Mis012
dddc95ded3 README: update URLs, fix typos 2024-02-16 22:38:16 +01:00
Julian Winkler
838530fe59 add Intent.setDataAndType() method 2024-02-16 20:48:10 +01:00
Julian Winkler
1d8e140a3b TextView: add stubs to fix RecyclerView demo apk
The views_widgets_samples_flower_finder.apk was broken, because of
recent changes
2024-02-16 20:48:10 +01:00
Julian Winkler
a2eaaeb7d7 add Activity.getParentActivityIntent() method
This makes the back button in androidx apps working
2024-02-16 20:48:10 +01:00
Julian Winkler
2d6694d695 implement CompoundButton using GtkSwitch 2024-02-16 20:46:55 +01:00
Julian Winkler
d2725a73c9 View: parse minWidth and minHeight attributes from XML 2024-02-16 15:28:04 +01:00
Julian Winkler
3aed86b83a implement ListView using GtkListView
There is not much difference between GTKs ListView and Androids
ListView. So, we use GTKs implementation instead of copying from AOSP
2024-02-16 15:28:04 +01:00
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