Mis012
ab7c6cf834
api-impl: add stubs to make AnimationDrawable and Animation not cause lockups
...
apps may (ab)use AnimationDrawable.run and Animation.setAnimationListener
to time transitions between states; even though we don't currently implement
the animations, state transitions are still desirable (otherwise the app may
lock up)
2024-03-16 23:37:16 +01:00
Julian Winkler
f852c2bbc9
remove View.haveComplexMeasure as it is redundant with haveCustomMeasure
...
Makes haveCustomMeasure true by default. And disable it for widgets
which previously set haveComplexMeasure
2024-03-15 18:57:49 +01:00
Julian Winkler
c0bc875c11
ScrollView: implement custom onMeasure()
2024-03-15 18:57:49 +01:00
Mis012
b55bbd8a6f
add android/widget/AbsoluteLayout from AOSP
2024-03-14 12:50:49 +01:00
Julian Winkler
9509289ee5
implement SeekBar using GtkScale
2024-03-10 23:00:42 +01:00
Julian Winkler
d22d083eb8
implement CheckBox and RadioButton using GtkCheckButton
2024-03-10 17:49:11 +01:00
Mis012
7207587b2f
add some stubs, borrow ListActivity and SimpleAdapter from AOSP
2024-03-07 15:47:10 +01:00
Mis012
6d587a19e5
misc stuff to make glmark2 run
2024-03-05 17:07:21 +01:00
Mis012
c430344bd7
TextView: implement more ways to obtain textColor, textSize; misc cleanup
...
also added a try/catch block to avoid regression
2024-02-28 01:49:23 +01:00
Julian Winkler
bcf252d3a6
implement MotionView.eventTime and VelocityTracker
...
This is needed to make androidx ViewPager work with touch input
2024-02-27 22:02:36 +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
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
5dfadc9c59
Add some more methods needed by NewPipe. Mostly stubs
2024-02-18 10:08:43 +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
2d6694d695
implement CompoundButton using GtkSwitch
2024-02-16 20:46:55 +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
d2f28a5b21
add some methods needed for androidx dialogs
2024-02-16 15:28:04 +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
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
aa56f3fb81
Add some methods needed for androidx preferences
2024-02-10 10:28:48 +01:00
Julian Winkler
bf3f595a8c
LinearLayout: set GtkBox to homogeneous if all child weights are equal
...
Real weighted allocation is not supported by GtkBox
2024-01-01 12:11:31 +01:00
Julian Winkler
52214f47d0
ImageView: check if Drawable actually has a Paintable
2024-01-01 12:09:17 +01:00