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
Julian Winkler
b25545c3c0
remove ARSCLib from the source tree
...
Also remove references to ARSCLib from doc/Architecture.md
2024-05-23 23:32:19 +02:00
Julian Winkler
cc5d4a3cb3
use libandroidfw for resource XML parsing
...
androidfw is implemented in native code and has much better performance
than ARSClib
2024-05-12 16:49:14 +00:00
Mis012
5a8dba4064
meson.build: specify dependency on openxr headers
2024-05-09 21:27:19 +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
Mis012
26a6b90b1c
meson.build: remove javac version warning
...
whatever the issue was it's probably long gone
2024-03-24 22:54:58 +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
3d9468aa9f
implement android.graphics.Path using skia
2024-03-24 22:13:28 +01:00
Julian Winkler
7ee4effb86
implement android.widget.Spinner using GtkDropDown
...
Helper classes from ListView implementation are reused. The declarations
have been moved to a new header file AdaperView.h
2024-03-22 21:02:22 +01:00
Mis012
d122b2a528
api-impl: implement vibrator using evdev
...
we use the first vibrator that is marked for use with feedbackd in udev
2024-03-22 13:17:29 +01:00
Julian Winkler
45de09a191
notification support using libportal
2024-03-18 07:26:25 +01:00