Commit Graph

62 Commits

Author SHA1 Message Date
Julian Winkler
778d19f268 remove remaining dependencies on ARSClib 2024-05-23 23:30:03 +02:00
Julian Winkler
fdec418102 add some stubs needed because of previous commits
Since we now call draw() on View subclasses, we reach some new
codepaths which need new stubs
2024-05-20 08:12:15 +02:00
plata
480ba65f35 Add ExpandableListView widget 2024-05-12 11:25:42 +02:00
Julian Winkler
ad2ce495d9 api-impl/meson.build: tell Java compiler to use UTF-8 encoding 2024-05-07 07:15:41 +02:00
Mis012
30a9f66c4a api-impl: misc stubs for stupid ad stuff in SubwaySurfers 2024-04-26 18:11:29 +02:00
Mis012
341e39463a api-impl: copy GradientDrawable from AOSP, some stubs 2024-04-23 19:14:41 +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
Julian Winkler
2f4cd3917f implement some APIs needed for OctoDroid 2024-04-09 18:19:13 +02:00
Markuss Broks
1b1f026e76 implement android.app.ApplicationErrorReport 2024-04-01 19:41:06 +00:00
Julian Winkler
c9ac8b162a increase java source level to 1.8
Java 8 is supported in art_standalone for quite some time now and recent
openJDK releases dropped Java 7 support
2024-03-24 23:41:06 +01:00
Julian Winkler
ad266c7821 add support for custom Java Drawables
This is made possible, by adding a second Canvas implementation which
can be used to render directly to GdkSnapshot objects

For now the only implemented method is drawBitmap(), this is already
enough to make VectorDrawableCompat functional
2024-03-24 22:13:28 +01:00
Julian Winkler
0b78cbcc55 some graphics API stubs 2024-03-24 22:13:28 +01:00
Julian Winkler
f4a0191b1c implement VectorDrawable, by loading tmp SVG with gdkpixbuf
This won't work for Apps using VectorDrawableCompat
2024-03-24 21:26:38 +01:00
Julian Winkler
494605932c implement more APIs 2024-03-22 21:02:22 +01:00
Mis012
5af3fa9e79 api-impl: add TableLayout from AOSP 2024-03-21 16:19:19 +01:00
Julian Winkler
276b5ca7ef add more APIs needed for NewPipe 2024-03-17 20:02:50 +01:00
Mis012
fa1aa36f6b api-impl: add stubs, put Vibrator.java in meson.build (oops), sort sources with LC_ALL=C sort -h 2024-03-16 10:13:55 +01:00
Mis012
9fbfe9dea1 api-impl: remove hacky overrides for android.support
These were originally needed because the official android.support classes
required APIs that we didn't support and it didn't seem worth the effort
to make them happy when the actual apps using these compat classes
were comparatively trivial.

We now support all the necessary APIs, so we can remove the overrides
and let the apps use their bundled android.support classes.
2024-03-14 21:31:48 +01:00
Mis012
b55bbd8a6f add android/widget/AbsoluteLayout from AOSP 2024-03-14 12:50:49 +01:00
Mis012
7207587b2f add some stubs, borrow ListActivity and SimpleAdapter from AOSP 2024-03-07 15:47:10 +01:00
Mis012
60714ebf45 add PathInterpolator stub 2024-02-29 12:33:48 +01:00
Julian Winkler
5dfadc9c59 Add some more methods needed by NewPipe. Mostly stubs 2024-02-18 10:08:43 +01:00
Julian Winkler
d2f28a5b21 add some methods needed for androidx dialogs 2024-02-16 15:28:04 +01:00
Julian Winkler
72a8b3a047 add more stubs 2023-11-12 12:16:23 +01:00
Mis012
9ef2151c5e GLSurfaceView: remove old implementation, import the one from AOSP
Now that we have a reasonably well working SurfaceView implementation,
it is actually cleaner to just implement GLSurfaceView the way AOSP
does. In fact, their code doesn't have any weird dependencies, and
can mostly be used as-is.

The AOSP code is pure Java, which means we had to implement some
EGL wrappers.

This change fixes issues with Wayland (it only ever worked because
the pbuffers were allocated using an XWayland EGLDisplay), and
with resizing (which we simply didn't support), all while getting
rid of quite some (arguably not very readable) LoC.
2023-10-20 20:54:37 +02:00