Commit Graph

334 Commits

Author SHA1 Message Date
Nikita Travkin
0fb6754598 libandroid: xr: override procaddr with bionic symbols 2023-11-25 20:15:23 +01:00
Nikita Travkin
0860da34c8 libandroid: add trace 2023-11-25 20:15:00 +01:00
Mis012
1b8480a7d0 android-impl: fix regressions that made angry birds not work anymore 2023-11-23 15:29:03 +01:00
Julian Winkler
878b957380 LinearLayout: remove default gravity 2023-11-12 12:16:23 +01:00
Julian Winkler
b0fdf53f9b implement android.widget.ProgressBar using GtkProgressBar 2023-11-12 12:16:23 +01:00
Julian Winkler
987058f55d implement AudioTrack.pause() 2023-11-12 12:16:23 +01:00
Julian Winkler
bff62a6e77 View: implement visibility and alpha properly 2023-11-12 12:16:23 +01:00
Julian Winkler
1a039e5e51 add missing APIs related to scrolling 2023-11-12 12:16:23 +01:00
Julian Winkler
4bf4887244 copy OverScroller.java from AOSP 2023-11-12 12:16:23 +01:00
Julian Winkler
7ac38adae0 View.scrollTo(): invalidate View 2023-11-12 12:16:23 +01:00
Julian Winkler
c0804c3329 WrapperWidget: overwrite measured size if layout size is fixed 2023-11-12 12:16:23 +01:00
Julian Winkler
e11d9ec6b6 set parent before calling setLayoutParams()
Allows the parent gravity to get handled correctly
2023-11-12 12:16:23 +01:00
Julian Winkler
36d7a1cc44 support layout margins
This makes the menu in Gravity Defied not get behind the keyboard.
Also makes the TabLayout in NewPipe not get behing the titlebar.
2023-11-12 12:16:23 +01:00
Julian Winkler
72a8b3a047 add more stubs 2023-11-12 12:16:23 +01:00
Julian Winkler
9f74ab811e LayoutInflater: support android:theme attribute 2023-11-08 22:44:39 +01:00
Julian Winkler
d025fd3ce3 FrameLayout: replace with AOSPs implementation
There are many Widgets extending FrameLayout and adding custom behaviour
on top. For example NavigationView. This didn't realy work with our
custom implementation
2023-11-08 22:44:39 +01:00
Julian Winkler
6ef1e523cc View: relayout on visibility changes 2023-11-08 22:44:39 +01:00
Julian Winkler
ac5a547360 AndroidLayout: provide default width and height
setLayoutParams()  will never be called on the contentView of the
Window. So make sure we have default values
2023-11-08 22:44:39 +01:00
Julian Winkler
603371ec9e ARCSlib: use defaultValue for non existing XML attributes 2023-11-08 22:44:39 +01:00
Julian Winkler
bcfb384ba4 implement EditText.setOnEditorActionListener()
This makes the NewPipe search work again
2023-11-08 22:44:39 +01:00
Julian Winkler
1aa1ee64c1 Context: handle getTargetSdkVersion() returning null 2023-11-04 23:32:29 +01:00
Julian Winkler
1cef28f086 Window: use content_view as DecorView if available 2023-11-04 23:32:29 +01:00
Julian Winkler
7bb5a1e33a computeScroll: move the allocation instead of only the snapshot 2023-11-04 23:32:29 +01:00
Julian Winkler
585d934483 View: use gdk_event_get_modifier_state() for onTouch handling
previous implementation did not update num_clicks, when the
mouse was released outside the widget
2023-11-04 23:31:40 +01:00
Julian Winkler
29e88b08d8 AndroidLayout: ignore exceptions during measure
This fixes a crash with the Flower Finder test apk, where
ActionBarContextView doesn't allow MEASURE_SPEC_UNSPECIFIED
2023-11-04 08:49:58 +01:00