Commit Graph

696 Commits

Author SHA1 Message Date
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
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
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
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
f5c1de9782 EditText: handle setText(null) properly 2025-10-21 06:59:59 +02:00
Julian Winkler
f208e944d2 View: respect requestLayout() calls also from inside onMeasure()
Previously, we accidentally cleared the flag after onMeasure(). This
fixes one cause for the bug where you had to resize the window to see
the content, but the bug still persists in some apps like Shosetsu.
2025-10-10 12:18:07 +02:00
Julian Winkler
d4aca99823 View: replace custom isAttachedToWindow tracking with GTK signals 2025-10-10 12:05:48 +02:00