Commit Graph

507 Commits

Author SHA1 Message Date
Julian Winkler
134bc9e7a5 README.md: add new dependencies 2024-05-07 08:42:50 +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
Julian Winkler
64411c75aa fix build on Debian 12 / GTK 4.8 2024-05-06 07:28:56 +02:00
Mis012
a99dfd80cc AudioTrack: fix getPlaybackHeadPosition and write
this fixes audio sync in exoplayer
2024-04-28 23:39:07 +02:00
Mis012
639a786056 PackageInfo: handle Resources.NotFoundException gracefully 2024-04-27 15:15:40 +02:00
Mis012
188df3e454 PackageInfo: handle non-string metadata 2024-04-26 18:11:29 +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
31929d2253 ignore deprecation warnings for per-widget css, switch gtk_widget_translate_coordinates to gtk_widget_compute_point 2024-04-20 16:34:01 +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
98d17ac25e fix some gcc-reported warnings 2024-04-20 00:05:51 +02:00
Mis012
21627aecad ANativeWindow: make the while loop hack work on main thread 2024-04-17 19:27:16 +02:00
Mis012
db3ba9b929 api-impl-jni: Canvas: fix 32bit compilation 2024-04-17 19:25:41 +02:00
Mis012
f52a221c73 android_os_MessageQueue: move looper prototypes to header, fix incorrect prototype 2024-04-15 23:12:58 +02:00
Mis012
a1df6a43e5 api-impl: stubs to make OsmAnd allow OpenGL renderer
it doesn't render anything sadly
2024-04-14 21:48:19 +02:00
Mis012
e1abceee85 api-impl: more stubs to make OsmAnd launch
with latest bionic_translation, OsmAnd doesn't crash in native code
2024-04-14 15:15:42 +02:00
Julian Winkler
62f91e8d3e install option: install apk to base app data dir
The default location is $HOME/.local/share/android_translation_layer/_installed_apks_/
2024-04-13 19:20:38 +02:00
Julian Winkler
5e674e1410 add option to install desktop entry with dynamic launcher portal
A desktop entry is needed to have window icons on Wayland.
2024-04-13 19:20:38 +02:00
Julian Winkler
1150402e38 Wayland: set application_id to package name for window icons
This needs a {package_name}.desktop file defining the icon
2024-04-13 15:45:22 +02:00
Julian Winkler
322f650d2c use g_get_user_data_dir() to locate app_data_dir_base
In order to be compatible with the XDG base specification
2024-04-13 15:45:22 +02:00
Julian Winkler
d5c2c122fc MediaCodec: make use of GtkGraphicsOffload when gtk >= 4.14
This replaces our custom subsurface implementation and has the
advantages, that the subsurface gets repositioned automatically and it
also supports underlay surfaces, so that the application can put control
widgets on top of the SurfaceView.

Our custom subsurface implementation will still be used for GL rendering
2024-04-13 15:25:39 +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
Mis012
b12cebe66a ProgressBar: add hack to fix NewPipe regression 2024-04-10 22:13:23 +02:00
Mis012
25325ca4e5 Paint: implement setAntiAlias, handle ANTI_ALIAS_FLAG 2024-04-09 18:58:05 +02:00