Julian Winkler
e011092025
api-impl: misc APIs for WhatsApp media chooser Activities
2025-04-26 11:07:31 +02: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
Julian Winkler
1cf48085ff
api-impl: add misc APIs needed for AntennaPod
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
cb64c13f2d
implement ImageView.setImageTintList()
2025-01-27 18:00:14 +01:00
Julian Winkler
64c5ebe5b6
api-impl: misc stubs for K-9 Mail
...
This makes the non composeUI parts of K-9 Mail mostly functional.
2025-01-12 14:37:24 +01:00
Julian Winkler
cd2c69cf73
reimplement Bitmap and Path using GdkTexture and GskPath
...
This allows us to use GskCanvas for Bitmap rendering
This increases the required GTK version to >= 4.14.
2024-12-22 12:30:29 +01:00
Mis012
58745f23ea
api-impl: misc stubs, additions and fixes
2024-12-20 00:11:06 +01:00
Julian Winkler
9023e2963b
ImageView: implement tint attribute
2024-12-15 07:39:25 +01:00
Julian Winkler
c492e1f03f
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
2024-10-03 15:57:44 +02:00
Julian Winkler
9fda1b36e6
BitmapDrawable: prevent garbage collection while in use
2024-08-05 23:00:50 +02:00
Julian Winkler
3c5a21357d
multiple additions and fixes for the Java APIs
...
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Mis012
5fb7cb283f
api-impl: misc stubs
2024-05-27 19:02:31 +02:00
Mis012
b52e08fd7a
ImageView/ImageButton: don't use deprecated gtk_picture_set_from_pixbuf, reduce code duplication
2024-04-20 00:08:09 +02:00
Mis012
2802aaa28d
api-impl: add stubs / simple stuff for OsmAnd
...
without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
2024-04-13 15:22:38 +02:00
Mis012
fefd2f108b
ImageView: handle setScaleType where it maps trivially to Gtk
2024-04-10 23:48:11 +02:00
Julian Winkler
9e770c663c
ImageView: use obtainStyledAttributes()
...
This is needed to support resolving attributes from themes
2024-04-09 18:19:18 +02:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Mis012
1e64babfd4
borrow AnimationDrawable from AOSP
2024-04-03 01:55:03 +02:00
Julian Winkler
35f26faa90
ImageButton: implement setDrawable()
2024-03-24 22:13:28 +01:00
Mis012
ab7c6cf834
api-impl: add stubs to make AnimationDrawable and Animation not cause lockups
...
apps may (ab)use AnimationDrawable.run and Animation.setAnimationListener
to time transitions between states; even though we don't currently implement
the animations, state transitions are still desirable (otherwise the app may
lock up)
2024-03-16 23:37:16 +01:00
Julian Winkler
f852c2bbc9
remove View.haveComplexMeasure as it is redundant with haveCustomMeasure
...
Makes haveCustomMeasure true by default. And disable it for widgets
which previously set haveComplexMeasure
2024-03-15 18:57:49 +01:00
Julian Winkler
aa56f3fb81
Add some methods needed for androidx preferences
2024-02-10 10:28:48 +01:00
Julian Winkler
52214f47d0
ImageView: check if Drawable actually has a Paintable
2024-01-01 12:09:17 +01:00