Commit Graph

982 Commits

Author SHA1 Message Date
Mis012
451e23fcd2 ViewTreeObserver: implement onGlobalLayout properly 2025-10-27 11:14:34 +01:00
Mis012
9ab58e4736 api-impl: add misc stubs and static finals 2025-10-27 11:12:18 +01:00
Julian Winkler
c4e7d27b9b Context: handle startActivity() always asynchron 2025-10-26 20:32:04 +01:00
Julian Winkler
3abbef5117 make LeadingMarginSpan.Standard a ParcelableSpan 2025-10-26 20:32:04 +01:00
Julian Winkler
495dc7612d main.c: call Java System.exit() on termination 2025-10-26 20:32:04 +01:00
Julian Winkler
e2b43e2a2d CheckBox: fix setText() with non-String CharSequence 2025-10-26 17:45:26 +01:00
Julian Winkler
a861a62107 add Typeface.createFromFamiliesWithDefault() 2025-10-26 17:45:26 +01:00
Julian Winkler
448d76ce43 enable RippleDrawable inflation 2025-10-26 17:45:26 +01:00
Julian Winkler
f8a3b31379 GradientDrawable: support oval shape 2025-10-26 17:45:26 +01:00
Julian Winkler
a2f3f8808a api-impl: add stubs for WhatsApp forwarding Activity 2025-10-26 17:45:26 +01:00
Julian Winkler
007eee64d3 ImageView: don't call setImageDrawable() from contructor 2025-10-26 17:45:26 +01:00
Julian Winkler
8a5625350e AssetManager: re-extract native libs if APK file was updated 2025-10-26 17:45:26 +01:00
Julian Winkler
213b2029d8 stub WifiInfo.getBSSID() 2025-10-26 17:45:26 +01:00
Julian Winkler
5cd6a7fd85 AbsListView.onTouchUp(): Also update nextSelectedPosition
This seems to be a bug in the AOSP implementation, but somehow on AOSP
it doesn't have any effect.
2025-10-26 17:45:26 +01:00
Julian Winkler
b0df34027b ViewGroup: hide detached views 2025-10-26 17:45:26 +01:00
Julian Winkler
78cec69351 implement ShapeDrawable as constant color 2025-10-26 17:45:26 +01:00
Julian Winkler
387187a525 Activity: finish asynchron 2025-10-26 17:45:26 +01:00
Julian Winkler
131b53e9b1 Bitmap: workaround GTK unreferencing the default GdkDisplay during offscreen rendering 2025-10-26 16:06:29 +01:00
Julian Winkler
16db14ae54 View.serVisibility(): request relayout from parent
Since we no longer call requestLayout() recursively, it is now important
on which View the method is called.
2025-10-26 11:08:03 +01:00
Julian Winkler
86afbe26d1 ViewGroup: don't request layout for addInLayout / removeInLayout 2025-10-26 11:08:03 +01:00
Julian Winkler
3b69e949d9 TextView: make sure getPaint().getTextSize() returns the expected value
Using pango_font_description_set_absolute_size() now to prevent previous
rounding errors when converting from pixels to points and back.

This is needed to prevent androidx AppCompatTextViewAutoSizeHelper from
constantly requesting a relayout.
2025-10-26 11:08:03 +01:00
Julian Winkler
377c140d7c View.requestLayout(): avoid recursion
Calling this method recursively can confuse Views that overwrite it.
2025-10-26 11:08:03 +01:00
Julian Winkler
7941a04ab3 Bitmap: use thread local GdkDisplay to fix glitches on X11
GdkDisplay is not thread safe on X11. We can't even use the default
display from main thread, because a GTK render thread may run concurrently.
2025-10-24 12:05:20 +02:00
Julian Winkler
162ce00ba4 add missing openAssetFile() method in ContentProvider subclasses
Fixup of previous commit where openAssetFile() was added as abstract method.
2025-10-21 19:02:00 +02:00
Julian Winkler
82477865ad api-impl: add some methods to make the WhatsApp video player functional 2025-10-21 06:59:59 +02:00