Mis012
2802aaa28d
api-impl: add stubs / simple stuff for OsmAnd
...
without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
2024-04-13 15:22:38 +02:00
Mis012
fefd2f108b
ImageView: handle setScaleType where it maps trivially to Gtk
2024-04-10 23:48:11 +02:00
Mis012
b12cebe66a
ProgressBar: add hack to fix NewPipe regression
2024-04-10 22:13:23 +02:00
Julian Winkler
ae58d2b319
implement TextView.setCompoundDrawables()
...
This adds an additional GtkBox for every TextView
2024-04-09 18:19:18 +02:00
Julian Winkler
9e770c663c
ImageView: use obtainStyledAttributes()
...
This is needed to support resolving attributes from themes
2024-04-09 18:19:18 +02:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Mis012
1e64babfd4
borrow AnimationDrawable from AOSP
2024-04-03 01:55:03 +02:00
Julian Winkler
35f26faa90
ImageButton: implement setDrawable()
2024-03-24 22:13:28 +01:00
Julian Winkler
494605932c
implement more APIs
2024-03-22 21:02:22 +01:00
Julian Winkler
7ee4effb86
implement android.widget.Spinner using GtkDropDown
...
Helper classes from ListView implementation are reused. The declarations
have been moved to a new header file AdaperView.h
2024-03-22 21:02:22 +01:00
Julian Winkler
dda3063e79
PopupMenu: use AOSP MenuInflater and support item visibility
2024-03-22 21:02:22 +01:00
Mis012
5af3fa9e79
api-impl: add TableLayout from AOSP
2024-03-21 16:19:19 +01:00
Julian Winkler
14217e8724
simple implementation of PopupMenu using GtkPopoverMenu
2024-03-17 22:39:13 +01:00
Julian Winkler
276b5ca7ef
add more APIs needed for NewPipe
2024-03-17 20:02:50 +01:00
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