Commit Graph

503 Commits

Author SHA1 Message Date
Julian Winkler
167d3856e9 HACK: prevent window height of 0
For some reason some apps like LibreSudoku try to create Dialog and
Popup windows with height = 0. Prevent this on the window side until the
measurement error is fixed.
2024-12-17 22:41:51 +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
c8ed103516 implement Canvas.scale() for skia and GtkSnapshot 2024-12-16 17:54:15 +01:00
Julian Winkler
597c73f334 GskCanvas: implement RoundedRect filling 2024-12-16 17:54:15 +01:00
Julian Winkler
0e078894ce make K-9 Mail launch 2024-12-16 17:54:15 +01:00
Julian Winkler
af122a6891 VectorDrawable: generate Bitmap in the correct size 2024-12-15 07:39:41 +01:00
Julian Winkler
9023e2963b ImageView: implement tint attribute 2024-12-15 07:39:25 +01:00
Julian Winkler
b087b82616 implement WallpaperManager.setBitmap() using XDG Portal 2024-12-13 22:32:04 +01:00
Julian Winkler
5150564a5b implement Window.setLayout() 2024-12-13 22:32:04 +01:00
Julian Winkler
1955522b28 android.text.Layout: actually measure text sizes 2024-12-13 22:32:04 +01:00
Julian Winkler
864750020e View: always call dispatchTouchEvent() if overwritten 2024-12-13 22:32:04 +01:00
Julian Winkler
1398125eb5 api-impl: stubs and fixes for Compose Stopwatch and LibreSudoku 2024-12-13 22:32:02 +01:00
Julian Winkler
b9272aa150 Window: fix some regressions caused by decorView
The window background is now set on the decorView and also
window.set_widget_as_root() must now be called manually.
2024-12-13 21:23:50 +00:00
Julian Winkler
413d3ee69f compile java files with ant for incremental builds
Meson doesn't support incremental builds for java, so delegate the java
compilation to Ant if available.
2024-12-13 21:43:50 +01:00
Julian Winkler
c4d20b828e Window: directly attach the decorView 2024-12-02 22:03:26 +01:00
Julian Winkler
036b5510d3 implement dispatchKeyEvent callback 2024-12-01 14:15:00 +00:00
Julian Winkler
fe7790c4ff View: implement requestFocus() and isFocused() 2024-12-01 14:15:00 +00:00
Julian Winkler
d0952101a6 implement some Canvas methods needed for composeUI 2024-12-01 14:15:00 +00:00
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
0803848c6d api-impl: misc stubs/additions 2024-11-30 18:54:53 +01:00
Daniel Panero
be93b4c396 JavaWidget: add css classes and default_stylesheet.css 2024-11-26 16:33:38 +01:00