Julian Winkler
|
182c7cfb87
|
refactor View.native_measure()
It now respects gtk_widget_get_request_mode() when not specified
otherwise
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
eca365c60f
|
AndroidLayout: set minimum sizes correctly
This is needed for GtkScrolledWindow, which we still use for
implementing ScrollView
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
e2ff23080c
|
TextView: enable tabular numbers by default
Some apps like Gravity Defied expect the default font to have monospaced
numbers
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
88254d822f
|
replace LinearLayout with AOSPs implementation
Also update QuickHelp.md, as LinearLayout was the last custom
implemented ViewGroup
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
6eeb6b0232
|
move performClick implementation to WrapperWidget
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
4ab7daa033
|
GLES20: use get_nio_buffer function from util.c
The version in util.c has a fix found by -Xcheck:jni
|
2024-02-10 10:28:48 +01:00 |
|
Julian Winkler
|
850fd2f076
|
add some stubs to make NewPipe video player work again
|
2024-02-08 14:22:40 +01:00 |
|
Julian Winkler
|
f107328bf4
|
MediaCodec: don't use JNI after GetPrimitiveArrayCritical()
this was found, because of having -Xcheck:jni enabled
|
2024-02-08 14:22:30 +01:00 |
|
Julian Winkler
|
7c59ed33bd
|
make AssetManager feature complete with pre androidfw version
|
2024-02-06 16:41:49 +01:00 |
|
Julian Winkler
|
c1d8956309
|
AssetManager: use libandroidfw for everything except XML parsing
binary XML parsing still relies on ARSClib for now
|
2024-02-06 16:41:49 +01:00 |
|
Julian Winkler
|
8d4d0021b3
|
use libandroidfw also for themes
|
2024-02-06 16:41:49 +01:00 |
|
Julian Winkler
|
3284518418
|
AssetManager: use libandroidfw instead of ARSClib for resources.arsc parsing
This reduces startup time and RAM usage. Not yet feature complete with
the ARSClib based implementation, but Gravity Defied runs already
|
2024-02-06 16:41:48 +01:00 |
|
Mis012
|
b40a76fcfb
|
api-impl-jni: fix CheckJNI error for View.onClick
|
2024-01-29 00:37:32 +01:00 |
|
Mis012
|
bcd2617c9e
|
add -Xcheck:jni, fix some errors it finds
|
2024-01-23 22:32:09 +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
|
c5b315cb38
|
LinearLayout: remove 1px spacing
|
2024-01-01 12:10:45 +01:00 |
|
Julian Winkler
|
790255f9ca
|
ImageView: allow non bitmap Drawables
Also pass size of child paintable in DrawableContainer
|
2023-12-30 23:38:56 +01:00 |
|
Julian Winkler
|
176405ed45
|
NinePatchPaintable: new GdkPaintable class to render .9.png files
|
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
|
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 |
|