Commit Graph

904 Commits

Author SHA1 Message Date
Julian Winkler
f20bb6cb1c ContentResolver: implement query() support for file:// URIs
This is needed for the subscription import feature in NewPipe.
2025-02-22 23:49:43 +01:00
Mis012
899805f23f Canvas: add drawLines 2025-02-15 21:42:21 +01:00
Mis012
453224cf31 api-impl: misc stubs and trivial impls 2025-02-15 21:42:21 +01:00
Mis012
df03617f13 api-impl: add ClipDrawable from AOSP
taken from AOSP master (commit ed8c91e410671fa153f1587f61d05b303bf94f95)
2025-02-15 21:24:26 +01:00
Mis012
bf79a77993 api-impl: import ToggleButton from AOSP, clean up constructors
taken from AOSP master (commit ed8c91e410671fa153f1587f61d05b303bf94f95)
2025-02-15 21:24:26 +01:00
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