Commit Graph

648 Commits

Author SHA1 Message Date
Julian Winkler
0bfe4ba90a Layout: fix NullPointerException in constructor 2025-02-15 08:21:59 +01:00
Julian Winkler
1eb0a5074f Canvas: fix NullPointerException in setBitmap() 2025-02-15 08:21:30 +01:00
Julian Winkler
469001630f CursorWindow: fix some issues spotted by the CTS 2025-02-13 07:01:17 +01:00
Julian Winkler
4a0f3a0e28 add Context.getWallpaper() for CTS 2025-02-13 07:01:17 +01:00
Julian Winkler
123de5f819 Dialog: some fixes for CTS
Most Dialog test still fail, because we don't handle KeyEvents
2025-02-13 07:01:17 +01:00
Julian Winkler
5375f4b5fd implement android.text.Layout using PangoLayout
This is needed to have proper line wrapping in composeUI apps.

In the CTS, android.text.cts.StaticLayoutTest passes all checks now.
2025-02-13 07:01:17 +01:00
Julian Winkler
451848ae89 add Context.deleteDatabase() which is needed for the CTS test 2025-02-13 06:56:31 +01:00
Julian Winkler
829df70a9f Canvas: fix some issues spotted by the CTS 2025-02-13 06:56:31 +01:00
Julian Winkler
c725bb32df copy AutoCompleteTextView from AOSP
copied from main branch (frameworks/base commit 72ea9148bc619515a649cec9029136e42b342d9b)
2025-02-13 06:56:26 +01:00
Julian Winkler
1cf48085ff api-impl: add misc APIs needed for AntennaPod 2025-02-10 21:55:27 +01:00
Julian Winkler
c7f1e05f5d copy AnimatorSet and related classes from AOSP
This makes AnimatedVectorDrawableCompat from androidx functional and
probably also helps other animation stuff.
2025-02-10 21:55:27 +01:00
Julian Winkler
4e29b6af1d ImageView: unset Drawable callback when unsetting Drawable 2025-02-10 21:55:14 +01:00
Julian Winkler
652715ee00 Canvas: add more Bitmap drawing methods 2025-02-10 21:55:14 +01:00
Julian Winkler
f69cff7113 implement Bitmap.compress() 2025-02-10 21:55:14 +01:00
Julian Winkler
e9769c1587 Bitmap: explicitly store whether it was recycled 2025-02-10 21:55:14 +01:00
Julian Winkler
c01e57237e Context.startActivity: find Activity by action for Intents without component 2025-02-10 21:55:14 +01:00
Julian Winkler
edffed5233 Service: extend ContextWrapper 2025-02-10 21:55:14 +01:00
Julian Winkler
c17af62a19 Activity: catch exceptions while setting window background 2025-02-10 21:55:14 +01:00
Julian Winkler
cd9f6f5b05 NotificationManager: fix crash when clicking update notification in NewPipe 2025-02-09 16:48:45 +01:00
Mis012
ab5b600bf1 run whitespace_format.py --add-new-line-marker-at-end-of-file --remove-trailing-whitespace --remove-trailing-empty-lines --new-line-marker=linux --normalize-non-standard-whitespace=remove on src/ 2025-02-05 16:27:17 +01:00
Julian Winkler
a743361ae4 TextView: set default text to an empty String 2025-01-28 06:54:31 +01:00
Julian Winkler
32dcbe3131 TextView: add getTotalPaddingLeft / getTotalPaddingTop 2025-01-28 06:54:31 +01:00
Julian Winkler
6edde44b05 WebView: support base64 encoding 2025-01-28 06:54:31 +01:00
Julian Winkler
9c454accca make LayoutInflater instances persistent per Context
Also implement LayoutInfater.cloneInContext() and support mutipe View
factories at once.

This is needed, so that androidx can repace all normal Views with
appcompat Views, which is needed for proper tint color support.
2025-01-28 06:54:31 +01:00
Julian Winkler
cb64c13f2d implement ImageView.setImageTintList() 2025-01-27 18:00:14 +01:00