Commit Graph

400 Commits

Author SHA1 Message Date
Mis012
52886e0541 api-impl-jni: android_os_SystemClock.c: use CLOCK_MONOTONIC to match System.nanoTime 2024-02-22 14:25:29 +01:00
Mis012
da0971e88f Activity: implement Activity.recreate 2024-02-19 16:29:09 +01:00
Julian Winkler
5f3f8a5e6c ProgressBar: use GtkSpinner for indeterminate mode 2024-02-18 10:08:44 +01:00
Julian Winkler
3486d59e81 ListView: observe dataset changes 2024-02-18 10:08:44 +01:00
Julian Winkler
9c684ee906 implement PopupWindow using GtkPopover 2024-02-18 10:08:43 +01:00
Julian Winkler
0bb3d7ce15 implement ViewStub.inflate() 2024-02-18 10:08:43 +01:00
Julian Winkler
b9b28619dd AdapterView: implement setAdapter / getAdapter() properly 2024-02-18 10:08:43 +01:00
Julian Winkler
85f750d76b ProgressBar: enable haveComplexMeasure 2024-02-18 10:08:43 +01:00
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