Commit Graph

908 Commits

Author SHA1 Message Date
Julian Winkler
3708cc990e NotificationManager: use GIO instead of libportal
GIO's notification implementation makes the code more readable and has
the advantage of supporting multiple notification specifications.

By default we will now use freedesktop notifications when running
without `.desktop` file and XDG-portal notifications when running
with `.desktop` file.

To prevent dynamic notification updates from arriving in wrong order at
the desktop environment, we need to manually queue them up and make sure
that there is at least 200ms delay between updates.
2025-07-07 22:38:10 +02:00
Mis012
9de08ab922 api-impl-jni: SurfaceView: silence deprecation warnings concerning GDK's x11 backend 2025-06-30 21:53:36 +02:00
Mis012
df38723d2d api-impl-jni: native_window.c: fix xr_func prototype for c23/gcc15, and add a warning on the limitations of __builtin_va_arg_pack 2025-06-30 21:32:20 +02:00
Mis012
2a0c6cd455 main-executable: handle drawable-based app icons by rendering them into SVG 2025-06-21 01:23:09 +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
6031eecefc api-impl-jni: add workarounds for Gtk's non-graceful handling of layout changes during the snapshot phase 2025-06-20 22:36:09 +02:00
Mis012
3a3366abfa Paint: treat stroke width 0 as 1 until we implement special handling for it 2025-06-10 00:59:37 +02:00
Mis012
c90d685e6f PackageManager: hasSystemFeature: report that we support full multitouch 2025-06-10 00:59:37 +02:00
Mis012
55f57ebb2b GridLayout: borrow from AOSP master (commit: 1cdfff555f4a21f71ccc978290e2e212e2f8b168) 2025-06-10 00:59:37 +02:00
Mis012
65a7e34871 Path: add arcTo and addArc, minor cleanup 2025-06-10 00:48:41 +02:00
Mis012
6f627f7332 GLSurfaceView: add a hack to make OsmAnd work 2025-06-08 13:52:52 +02:00
Mis012
e25aa9a174 GLSurfaceView: update to newer commit from AOSP
this was probably not necessary
2025-06-08 13:49:28 +02:00
Mis012
99d1a38918 EGLImpl: fix crash when eglDestroySurface is passed EGL_NO_SURFACE 2025-06-08 13:43:52 +02:00
Mis012
364070fa1f api-impl: misc stubs and formatting fixes 2025-06-08 13:42:42 +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
ccd11d38b3 View: properly implement translation properties 2025-06-07 01:15:58 +02:00
Mis012
398202a4f9 AdaptiveIconDrawable: import from AOSP master (commit 1cdfff555f4a21f71ccc978290e2e212e2f8b168) 2025-06-05 17:24:08 +02:00
Julian Winkler
3d4f386db0 View.setFullscreen(): mock the window size while request is pending 2025-06-04 22:48:23 +02:00
Julian Winkler
3d9099a37f setSystemUiVisibility(): fullscreen also for SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
This mode would fullscreen the app behind the semi-transparent status
bars, but such a mode doesn't exist on desktop Linux, so we just use
normal fullscreen.
2025-06-04 22:48:23 +02:00
Julian Winkler
542e6222b7 MediaCodec: add VP8 and VP9 codecs 2025-06-04 22:48:23 +02:00
Julian Winkler
5383360c38 Canvas: implement another overload of drawRoundRect() 2025-06-04 22:48:23 +02:00
Julian Winkler
b0177f6ccb PopupWindow: handle background being set before contentView 2025-06-02 20:12:04 +02:00
Julian Winkler
55fc7eb4f9 Context.getDrawable(): use the current theme 2025-06-02 20:09:05 +02:00