Commit Graph

141 Commits

Author SHA1 Message Date
Julian Winkler
a09aa53ecf api-impl: stubs and fixes for Breezy Weather 2025-10-01 22:59:22 +02:00
Julian Winkler
6e6e9a3be8 api-impl: misc fixes and additions to make Telegram launch 2025-07-14 16:32:28 +02:00
Julian Winkler
bf5eb099bd api-impl: misc additions for different apps 2025-07-14 16:32:28 +02:00
Mis012
1c83948b15 VectorDrawable: add an override to avoid intermediate rasterization
This matters for statically converting drawables into SVG,
which is necessary for drawable-based app icons.
2025-06-21 01:15:51 +02:00
Mis012
65a7e34871 Path: add arcTo and addArc, minor cleanup 2025-06-10 00:48:41 +02:00
Mis012
ed240daf66 Drawable: minor cleanup, add support for inflating adaptive-icon 2025-06-08 13:31:19 +02:00
Mis012
9461c47082 AdaptiveIconDrawable: add hacks to make it work
We don't currently have "shaders" implemented properly,
so just draw the layers and don't mask anything.
2025-06-08 02:14:05 +02:00
Mis012
43d3d39ee8 Canvas: fix translate and concat incorrectly being stubbed despite being implemented in GskCanvas, slight cleanup 2025-06-08 02:11:10 +02:00
Mis012
398202a4f9 AdaptiveIconDrawable: import from AOSP master (commit 1cdfff555f4a21f71ccc978290e2e212e2f8b168) 2025-06-05 17:24:08 +02:00
Julian Winkler
5383360c38 Canvas: implement another overload of drawRoundRect() 2025-06-04 22:48:23 +02:00
Julian Winkler
e011092025 api-impl: misc APIs for WhatsApp media chooser Activities 2025-04-26 11:07:31 +02:00
Julian Winkler
5de2c27abf api-impl: misc stubs for WhatsApp support 2025-04-21 10:19:48 +02:00
Julian Winkler
0c0af3d1be LayerDrawable: handle null Drawables
This fixes a NullPointerException with the SponsorBlock UI of the
Tubular NewPipe fork
2025-04-09 12:38:12 +02:00
Mis012
d2e2ab37bc graphics/Region: add stubs 2025-03-27 13:06:39 +01:00
Mis012
0a0e476883 (Gsk)Canvas: add debug prints, and a hack 2025-03-27 13:01:02 +01:00
Mis012
f3332b7201 api-impl: misc stubs and fixes 2025-03-26 21:12:02 +01:00
Julian Winkler
4a4b4a4722 api-impl: misc stubs and fixes for several apps including F-Droid and AuroraStore 2025-03-25 23:34:56 +01:00
Mis012
ca39c81224 Drawable: fix theme not getting passed to newly inflated drawables
When Theme support was added, not everything was immediately updated
to use theme information properly. This was fixed in a lot of places
since then, but it seems not here.
2025-02-27 22:44:55 +01:00
Julian Winkler
24f839f556 make android.text.Layout.draw() compatible custom Canvas classes
TextAndroidCanvas is a proxy canvas class which prevents us from
accessing the GtkSnapshot of the real canvas. To solve this problem, we
call Canvas.drawText() for each line.
2025-02-24 21:49:46 +01:00
Julian Winkler
4bb5dfd86e Paint: implement textAlign and text bounds 2025-02-24 21:45:36 +01:00
Julian Winkler
587aeaba74 Canvas: implement drawCircle() and a drawText() variant 2025-02-24 21:45:36 +01:00
Julian Winkler
3fb1f56da2 api-impl: add misc APIs for Open Sudoku 2025-02-24 21:45:36 +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