Julian Winkler
796742c0fc
implement android.graphics.Matrix and View.getMatrix()
...
This is needed for androidx CoordinatorLayout and will also be required
for VectorDrawables
2024-03-15 18:57:49 +01:00
Mis012
a7e89b816b
graphics/drawable/AnimationDrawable: subclass Drawable instead of Object
2024-03-14 12:50:49 +01:00
Mis012
72d6ad9914
Drawable: stub 'ripple' as transparent ColorDrawable, fix view.setBackgroundColor for buttons
2024-02-18 00:30:36 +01:00
Julian Winkler
2d6694d695
implement CompoundButton using GtkSwitch
2024-02-16 20:46:55 +01:00
Julian Winkler
aa56f3fb81
Add some methods needed for androidx preferences
2024-02-10 10:28:48 +01:00
Julian Winkler
850fd2f076
add some stubs to make NewPipe video player work again
2024-02-08 14:22:40 +01:00
Julian Winkler
b393a6bf1d
support loading BitmapDrawables from XML
2023-12-30 23:38:56 +01:00
Julian Winkler
493cb8284a
fix some Drawable related crashes in NewPipe
2023-12-30 23:38:56 +01:00
Julian Winkler
ca3c17d773
implement DrawableContainer and copy StateListDrawable from AOSP
2023-12-30 23:38:56 +01:00
Julian Winkler
8c7dbf6ceb
start implementing Drawable using underlying GdkPaintable
2023-12-30 23:38:48 +01:00
Julian Winkler
0614e6c245
add some stubs needed since we now handle onMeasure() for more Views
2023-12-29 11:40:52 +01:00
Julian Winkler
72a8b3a047
add more stubs
2023-11-12 12:16:23 +01:00
Julian Winkler
5813f9741d
AndroidLayout: implement get_request_mode
...
Also add stubs in Matrix and Paint class
2023-11-04 08:49:58 +01:00
Julian Winkler
4130e252cc
fixes to make Picasso Image Loader work
...
This library is used by newer NewPipe versions
2023-10-14 18:29:33 +02:00
Julian Winkler
b88707592a
add more stubs to make exoplayer not crash
2023-10-14 18:29:33 +02:00
Julian Winkler
c830abc5f3
add more API stubs for NewPipe
2023-10-14 18:29:33 +02:00
Julian Winkler
f5fc993484
add APIs needed for non legacy NewPipe version
2023-10-14 18:29:33 +02:00
Julian Winkler
399cf87254
fix some NullPointerExceptions with Flower Finder test apk
2023-10-14 10:01:01 +00:00
Mis012
24353378be
api-impl: implement Canvas text drawing as used by Gravity Defied
...
implements android.graphics.Typeface (always uses default
typeface for now), one version of Canvas.drawText, one version
of Paint.measureText, and Paint.ascend
2023-09-12 19:30:29 +02:00
Mis012
1e47824a79
src/api-impl: use skia instead of cairo
...
Using the C API provided by SkiaSharp's skia fork instead of using cairo
significantly improves performance. The API is also closer to the android
Canvas API, which makes the implementation more straightforward.
2023-09-12 13:37:41 +02:00
Julian Winkler
ceb5df9d39
implement BitmapFactory.decodeStream() using gdk_pixbuf_new_from_stream
...
The java InputStream is wrapped into a custom GInputStream
implementation
2023-09-01 16:05:26 +02:00
Julian Winkler
97f8c2ed0f
Add some missing APIs.
...
android.widget.Filter and android.webkit.MimeTypeMap are copied from
AOSP. Other new classes are only stub implementations.
2023-09-01 16:05:26 +02:00
Julian Winkler
c4b7bdc63d
ViewGroup: handle scroll events
2023-08-23 12:39:55 +02:00
Julian Winkler
960930a348
Add some stubs needed by android material library
2023-08-23 12:39:49 +02:00
Julian Winkler
44be3ff197
copy Color.parseColor() from AOSP
2023-08-22 19:39:57 +02:00