Commit Graph

94 Commits

Author SHA1 Message Date
Julian Winkler
0dfcb9324f drop GTK < 4.14 ifdefs 2024-12-22 23:40:11 +01:00
Julian Winkler
7695aadf91 implement Paint as combination of GDK, GSK and Pango attributes 2024-12-22 23:40:11 +01:00
Julian Winkler
f3bc468a1c drop Skia dependency
Everything is implementede using GTK Scene Graph now. Skia is no longer
needed.
2024-12-22 12:30:29 +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
Julian Winkler
47fc749018 implement WindowManager for composeUI popups
currently everything is created as GtkPopover which is not ideal for
toplevel windows, so print a warning in that case.
2024-12-17 22:38:09 +01:00
Julian Winkler
b087b82616 implement WallpaperManager.setBitmap() using XDG Portal 2024-12-13 22:32:04 +01:00
Julian Winkler
db1e9458de meson.build run dx with --incremental
This enables incremental dexing which speeds up incremental builds
2024-12-13 21:43:50 +01:00
Julian Winkler
a1c29c012e meson.build: don't build test_runner.jar by default 2024-12-13 09:29:54 +01:00
Julian Winkler
60095ea795 ListView: copy from AOSP
copied from tag android-6.0.1_r81
2024-11-30 18:56:17 +00:00
Mis012
d5bc4ea9a6 implement instrumentation 2024-11-30 18:57:03 +01:00
Daniel Panero
be93b4c396 JavaWidget: add css classes and default_stylesheet.css 2024-11-26 16:33:38 +01:00
Julian Winkler
332d3d1137 copy AdapterView, AbsSpinner and Gallery from AOSP
copied from tag android-6.0.1_r81

existing GTK based implementation was moved from AbsSpinner to Spinner
2024-11-24 22:11:40 +00:00
Daniel Panero
5f6943fd81 Add backbutton 2024-11-17 23:37:10 +00:00
Julian Winkler
58f29b7ba2 implement minimal Wayland server to import EGL surfaces into GtkGraphicsOffload
This allows us to use the translucent cutout feature of
GtkGraphicsOffload, which can not be implemented with our custom
subsurface implementation.
2024-11-17 16:50:45 +01:00
Julian Winkler
9b6c8db5ed enable lazy linking for libandroid so that it can launch with missing symbols
Outdated Nvidia driver version 340 doesn't implement EGL and causes
following error:
symbol lookup error: /app/lib/libandroid.so.0: undefined symbol: eglGetPlatformDisplay

The crash can be avoided by lazy linking as long as the application doesn't
use EGL directly.
2024-10-29 19:59:35 +00:00
Mis012
3d02598b75 meson.build: add install_rpath for libtranslation_layer_main.so 2024-10-29 14:12:39 +01:00
Julian Winkler
21a75d7ff0 WebView: use Asset_read() instead of Asset_openFileDescriptor()
openFileDescriptor doesn't work for assets which are compressed inside
the APK.
2024-10-05 10:26:50 +02:00
Julian Winkler
f3092fd4bd implement file sharing by file descriptor
Using custom gdbus code, as libportal doesn't expose the raw
org.freedesktop.portal.OpenURI.OpenFile method.
2024-10-03 15:57:44 +02:00
Julian Winkler
c492e1f03f add Java APIs needed for WhatsApp MainActivity and ConversationActivity 2024-10-03 15:57:44 +02:00
Mis012
e761bb6a6d api-impl: implement WebView using webkitgtk 2024-09-13 20:29:56 +02:00
Julian Winkler
b54bed4784 implementing MediaSession using MPRIS
NotificationManager will now ignore MediaStyle notifications
2024-07-17 22:35:55 +02:00
Julian Winkler
f249e1c487 MediaCodec: implement software decoding
The decoding is done by libavcodec, libswscale converts YUV to RGB data, which is
then put into a GtkPicture as GdkMemoryTexture.
2024-06-02 18:12:59 +02:00
Julian Winkler
e8eabb2027 GskCanvas.drawBitmap(): reuse GdkTexture objects 2024-05-27 16:37:49 +00:00
Mis012
4374ac01ad AssetManager: use libandroidfw to read assets straight from the apk file
they can still be put on the filesystem and will be read from there
preferentially, though overriding assets in this way can confuse
some creatively written apps and cause them to crash.
2024-05-26 00:10:16 +02:00
Julian Winkler
d4086fdb90 meson.build: run dx on the whole jar
This is now possible without ARSCLib

Also remove --verbose flag
2024-05-23 23:32:19 +02:00