Commit Graph

849 Commits

Author SHA1 Message Date
Mis012
da406ec4c2 api-impl: import more annotations from AOSP 2025-02-15 21:24:26 +01:00
Julian Winkler
4a7db70fbc implement PopupWindow.update() 2025-02-15 10:42:30 +01:00
Julian Winkler
9f94f9d668 ObjectAnimator: add back ofFloat() method stubs
We can't copy them from AOSP yet, because of missing class PathKeyframes
2025-02-15 10:21:15 +01:00
Julian Winkler
4f7b301c12 PropertyValuesHolder: add support for Property objects 2025-02-15 08:22:47 +01:00
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
fb2cba8572 fix Matrix.getValues() being transposed
This makes more CTS tests pass
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
87b254156d Drawable: queue up invalidate() calls, because GTK can't invalidate from inside draw()
This is analogous to wrapper_widget_queue_draw().
2025-02-10 21:55:14 +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
Mis012
b31dd386ac CI: don't run on MRs
CTS takes ~60min to complete, and free runners are x86
2025-02-09 22:58:01 +01:00