Commit Graph

977 Commits

Author SHA1 Message Date
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
Julian Winkler
72e86cba13 PackageManager.getApplicationInfo(): don't pretend that other packages are installed
So that WhatsApp no longer thinks the task killer apps are installed.
2025-10-21 06:59:59 +02:00
Julian Winkler
7e7e6c0e6e android.text.Layout: convert byte index to character index
This fixes a WhatsApp crash when rendering text with emojis.
2025-10-21 06:59:59 +02:00
Julian Winkler
f5c1de9782 EditText: handle setText(null) properly 2025-10-21 06:59:59 +02:00
lsnow
46e9cbb0ba NotificationManager: check for null before adding an action button 2025-10-19 23:19:59 +08:00
Julian Winkler
70e879c61b add documentation for the DBus API of cross application Intents 2025-10-13 15:16:13 +02:00