Commit Graph

330 Commits

Author SHA1 Message Date
Julian Winkler
b28e90a75c implement SeekBar.getProgress() 2024-05-13 22:01:24 +02:00
Julian Winkler
ab9c7e4091 add OnSeekBarChangeListener methods 2024-05-13 22:01:24 +02:00
Julian Winkler
cc5d4a3cb3 use libandroidfw for resource XML parsing
androidfw is implemented in native code and has much better performance
than ARSClib
2024-05-12 16:49:14 +00:00
plata
480ba65f35 Add ExpandableListView widget 2024-05-12 11:25:42 +02:00
plata
62b2d9f1be android/text/TextUtils: add getCapsMode stub 2024-05-12 08:38:04 +00:00
Julian Winkler
e4a399f849 use AndroidLayout for all JavaWidgets 2024-05-11 07:07:24 +02:00
Julian Winkler
9fcec8b64c ViewPropertyAnimator: call onAnimationEnd() at the right time 2024-05-11 07:07:24 +02:00
Julian Winkler
cd4cd90f59 copy GestureDetector from AOSP 2024-05-11 07:07:24 +02:00
Julian Winkler
efc401ed2f Revert "hack: make GestureOverlayView measure 0 x 0"
This reverts commit 2879e03120.
2024-05-11 07:07:24 +02:00
Mis012
a99dfd80cc AudioTrack: fix getPlaybackHeadPosition and write
this fixes audio sync in exoplayer
2024-04-28 23:39:07 +02:00
Mis012
639a786056 PackageInfo: handle Resources.NotFoundException gracefully 2024-04-27 15:15:40 +02:00
Mis012
188df3e454 PackageInfo: handle non-string metadata 2024-04-26 18:11:29 +02:00
Mis012
30a9f66c4a api-impl: misc stubs for stupid ad stuff in SubwaySurfers 2024-04-26 18:11:29 +02:00
Mis012
341e39463a api-impl: copy GradientDrawable from AOSP, some stubs 2024-04-23 19:14:41 +02:00
Mis012
b52e08fd7a ImageView/ImageButton: don't use deprecated gtk_picture_set_from_pixbuf, reduce code duplication 2024-04-20 00:08:09 +02:00
Mis012
a1df6a43e5 api-impl: stubs to make OsmAnd allow OpenGL renderer
it doesn't render anything sadly
2024-04-14 21:48:19 +02:00
Mis012
e1abceee85 api-impl: more stubs to make OsmAnd launch
with latest bionic_translation, OsmAnd doesn't crash in native code
2024-04-14 15:15:42 +02:00
Julian Winkler
5e674e1410 add option to install desktop entry with dynamic launcher portal
A desktop entry is needed to have window icons on Wayland.
2024-04-13 19:20:38 +02:00
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
Mis012
25325ca4e5 Paint: implement setAntiAlias, handle ANTI_ALIAS_FLAG 2024-04-09 18:58:05 +02:00
Julian Winkler
540071e97e ColorStateList: load color with obtainStyledAttributes() 2024-04-09 18:19:46 +02:00
Julian Winkler
ce6b83ad81 AssetManager: load style with parser.getAttribute(null, "style")
This way, we get the type as well and can check for it being an
attribute properly.
2024-04-09 18:19:44 +02:00
Julian Winkler
3d9eb9611f GskCanvas: implement drawPath, rotate, translate, save, restore
This is enough to make DrawerArrowDrawable functional.

drawPath() only draws line segments for now.
2024-04-09 18:19:18 +02:00