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
5150564a5b
implement Window.setLayout()
2024-12-13 22:32:04 +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
c4d20b828e
Window: directly attach the decorView
2024-12-02 22:03:26 +01: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
fc0091a989
use Activity title as window title
2024-11-03 08:26:11 +01:00
Markuss Broks
24fab49a1c
api-impl: misc stubs
2024-10-14 19:59:38 +03:00
Julian Winkler
c492e1f03f
add Java APIs needed for WhatsApp MainActivity and ConversationActivity
2024-10-03 15:57:44 +02:00
Julian Winkler
e3c0931714
prevent reference cycles between Java and native objects
2024-08-02 17:02:53 +02:00
Julian Winkler
3c5a21357d
multiple additions and fixes for the Java APIs
...
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Mis012
81797c2667
api-impl: add misc stubs/impls
2024-06-13 21:00:06 +02:00
Nikita Travkin
e1f79dc3a9
android: Support Unity text input dialog
2024-05-19 14:20:00 +05:00
Mis012
e1abceee85
api-impl: more stubs to make OsmAnd launch
...
with latest bionic_translation, OsmAnd doesn't crash in native code
2024-04-14 15:15:42 +02:00
Markuss Broks
46140d44e3
Window: stub setFormat()
2024-04-01 19:41:06 +00:00
Mis012
6443e3977c
api-impl: quick&dirty implementations and stubing
2024-03-16 15:03:06 +01:00
Julian Winkler
5dfadc9c59
Add some more methods needed by NewPipe. Mostly stubs
2024-02-18 10:08:43 +01:00
Julian Winkler
d253bfd24f
findViewById(): only search among child views
...
also set default content view in Window
2024-02-16 15:28:04 +01:00
Julian Winkler
757d689689
unify View construction and measurement
...
No longer allow constructing Views without Context.
Lets have only one onMeasure() method to unify behaviour
2023-12-29 11:40:52 +01:00
Julian Winkler
1cef28f086
Window: use content_view as DecorView if available
2023-11-04 23:32:29 +01:00
Julian Winkler
469d47091c
Window: fix issue with multi Activity support
...
each Activity has its own Window object. Therefore the check if the
contentView has changed needs to be in the common native window
2023-10-29 15:28:06 +01:00
Julian Winkler
520d153c55
call View.onAttachedToWindow() method
2023-10-14 18:29:33 +02:00
Julian Winkler
b88707592a
add more stubs to make exoplayer not crash
2023-10-14 18:29:33 +02:00
Julian Winkler
e735757a2e
Window.java: prevent calling set_widget_as_root() twice
...
This fixes a segfault in Cut The Rope introduced by commit 3399c84e84
2023-10-14 10:01:01 +00:00
Nikita Travkin
d3e5c6ee70
api-impl,libandroid: Add some stubs, mostly
2023-09-19 14:44:50 +02:00