Julian Winkler
|
bcf252d3a6
|
implement MotionView.eventTime and VelocityTracker
This is needed to make androidx ViewPager work with touch input
|
2024-02-27 22:02:36 +01:00 |
|
Julian Winkler
|
8dafa41ea9
|
implement View.onInterceptTouchEvent() callback
This is needed to support nested scrolling
A second GtkEventControllerLegacy gets registerd with GTK_PHASE_CAPTURE
|
2024-02-25 18:18:45 +01:00 |
|
Julian Winkler
|
0bb3d7ce15
|
implement ViewStub.inflate()
|
2024-02-18 10:08:43 +01:00 |
|
Julian Winkler
|
89b98faf04
|
ViewGroup: remove detached views
detached views should not be part of the view hierarchy
|
2024-02-18 10:08:43 +01:00 |
|
Julian Winkler
|
5dfadc9c59
|
Add some more methods needed by NewPipe. Mostly stubs
|
2024-02-18 10:08:43 +01:00 |
|
Julian Winkler
|
d2725a73c9
|
View: parse minWidth and minHeight attributes from XML
|
2024-02-16 15:28:04 +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
|
d2f28a5b21
|
add some methods needed for androidx dialogs
|
2024-02-16 15:28:04 +01:00 |
|
Julian Winkler
|
ef029f7cea
|
implement LayoutParams.resolveLayoutDirection() callback
This is needed to make androidx ConstraintLayout behave correctly
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
7b952c4336
|
View: set visibility attribute from XML
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
aa56f3fb81
|
Add some methods needed for androidx preferences
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
810886ca59
|
View: set background as Drawable
|
2024-02-06 16:41:49 +01:00 |
|
Mis012
|
6136243fec
|
api-impl: InputEvent: return stub InputDevice instead of NULL
this makes touch work in Unity for games using the "new" input system
|
2024-01-29 14:55:06 +01:00 |
|
Julian Winkler
|
bf3f595a8c
|
LinearLayout: set GtkBox to homogeneous if all child weights are equal
Real weighted allocation is not supported by GtkBox
|
2024-01-01 12:11:31 +01:00 |
|
Julian Winkler
|
493cb8284a
|
fix some Drawable related crashes in NewPipe
|
2023-12-30 23:38:56 +01:00 |
|
Julian Winkler
|
ca3c17d773
|
implement DrawableContainer and copy StateListDrawable from AOSP
|
2023-12-30 23:38:56 +01:00 |
|
Julian Winkler
|
8c7dbf6ceb
|
start implementing Drawable using underlying GdkPaintable
|
2023-12-30 23:38:48 +01:00 |
|
Julian Winkler
|
1b03fa6e1a
|
merge View and ViewGroup constructor
Introduce empy JavaWidget to replace confusing usage of GtkBox and GtkDrawingArea.
gtk_widget_set_name() is called with the Java class name
|
2023-12-29 12:16:10 +01:00 |
|
Julian Winkler
|
0614e6c245
|
add some stubs needed since we now handle onMeasure() for more Views
|
2023-12-29 11:40:52 +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
|
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
|
7ac38adae0
|
View.scrollTo(): invalidate View
|
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 |
|