Commit Graph

685 Commits

Author SHA1 Message Date
Julian Winkler
cb7805bb45 Window: implement getDecorView() properly
This is needed to fix the "ViewTreeLifecycleOwner not found" error in
composeUI.
2024-12-01 14:15:00 +00:00
Julian Winkler
e9cf5e7002 API stubs and fixes for composeUI 2024-12-01 14:15:00 +00:00
Julian Winkler
447784b6d6 GridView: fix errors missed due to this file mistakenly not getting built before 2024-12-01 14:31:06 +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
Mis012
f61f200d7b NativeActivity: cooperate with nativebridge when it's in use 2024-11-30 18:54:53 +01:00
Mis012
9f244edc05 native_window: fix wayland pbuffer emulation 2024-11-30 18:54:53 +01:00
Mis012
0803848c6d api-impl: misc stubs/additions 2024-11-30 18:54:53 +01:00
Mis012
39504d1437 XmlBlock: nativeNext: properly skip certain tags, throw exception for BAD_DOCUMENT 2024-11-29 00:23:49 +01:00
Daniel Panero
be93b4c396 JavaWidget: add css classes and default_stylesheet.css 2024-11-26 16:33:38 +01:00
Julian Winkler
d6d2c94abd implement DateUtils.formatElapsedTime()
This is needed for NewPipe 0.27.3
2024-11-25 10:01:51 +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
Julian Winkler
f53ad02e6f api-impl: misc additions for Oeffi 2024-11-24 22:11:40 +00:00
Julian Winkler
7626992241 Animator: call onAnimationEnd() asynchronously 2024-11-24 22:49:31 +01:00
Julian Winkler
fd541bec75 wayland_server: implement wl_buffer destroy listener
Fixes a segfault, where a wl_buffer was destroyed while in use. Also it
allows us to replace the custom caching mechanism and instead find
existing buffers by their destroy listener.
2024-11-21 19:05:39 +01:00
Julian Winkler
09176cade8 native_window: fix using the embedded Wayland server when the system is X11 2024-11-21 19:05:39 +01:00
Kilian "CaféHaine" Guillaume
44d922baea api-impl: stubs and fixes for Open Sudoku 2024-11-20 23:09:53 +01:00
Daniel Panero
eba9c7037c JavaWidget: add debug info for GTK Inspector 2024-11-19 16:14:36 +01:00
Daniel Panero
fb6565e535 Add paddings and improved margins 2024-11-18 21:39:01 +00:00
Daniel Panero
13ed9d76bb Updated framework-res to 3d916f71dfbb5477c40a46c9b19c125f4c719045
Also remove non public drawables and layouts using the new python script
2024-11-18 21:39:01 +00:00
Julian Winkler
e2d7f7fbb4 framework-res: add python script to remove unused resources
This script can be used when importing framework-res from AOSP
2024-11-18 21:39:01 +00:00
Daniel Panero
5f6943fd81 Add backbutton 2024-11-17 23:37:10 +00:00
Daniel Panero
f48fce5932 api-impl: misc stubs and fixes for Spotify II 2024-11-17 17:40:06 +00:00
Julian Winkler
4b36bca4c6 refactor SurfaceViewWidget for frame_callback in the Wayland server
SurfaceViewWidget is now always a child of a GtkGraphicsOffload and
handles the GdkTexture on its own. This way the extra GtkPicture is no
longer needed and also the frame_callback of the Wayland server can be
implemented.
2024-11-17 17:11:14 +01: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