Julian Winkler
|
850fd2f076
|
add some stubs to make NewPipe video player work again
|
2024-02-08 14:22:40 +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 |
|
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
|
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 |
|
Mis012
|
fb3149b088
|
api-impl/android/content/res/Resources: fix trailing whitespace
|
2023-10-30 18:49:32 +01:00 |
|
Mis012
|
0b0cfed345
|
misc: fix stuff up to make SDL example work again
it still behaves weirdly, should probably find some
other example since I don't trust my own code.
|
2023-10-29 22:48:02 +01:00 |
|
Julian Winkler
|
9025142bdd
|
AssetManager: speed up XML inflation using HashMap caching
This makes XML inflation around 10 times faster. Inflating a layout XML
with one TextView and one ImageView now takes 4 ms instead of 40 ms
|
2023-10-29 15:28:06 +01:00 |
|
Julian Winkler
|
c830abc5f3
|
add more API stubs for NewPipe
|
2023-10-14 18:29:33 +02:00 |
|
Mis012
|
43306bf174
|
api-impl/android/content/res/AssetManager: fix infinite loop with suspicious self-referencing arsc entries
|
2023-10-09 20:11:36 +02:00 |
|
Mis012
|
1b33acb658
|
api-impl/android/content: implement metadata bundle in PackageInfo
|
2023-10-08 22:33:14 +02:00 |
|
Mis012
|
897a1e68a4
|
TextView: implement setTextColor
also uncomment Resources.getCachedColorStateList
|
2023-09-12 13:37:41 +02:00 |
|
Julian Winkler
|
97f8c2ed0f
|
Add some missing APIs.
android.widget.Filter and android.webkit.MimeTypeMap are copied from
AOSP. Other new classes are only stub implementations.
|
2023-09-01 16:05:26 +02:00 |
|
Julian Winkler
|
c6b98b14f8
|
Resources + LayoutInflater: throw same Exceptions as on AOSP
|
2023-09-01 12:39:20 +02:00 |
|
Julian Winkler
|
eac22aaa64
|
Resources.getSystem(): just return application resoources
|
2023-08-27 23:14:00 +02:00 |
|
Julian Winkler
|
28cd0006bc
|
some fixes to make NewPipe not crash when layouting
|
2023-08-23 14:52:56 +02:00 |
|
Julian Winkler
|
c4b7bdc63d
|
ViewGroup: handle scroll events
|
2023-08-23 12:39:55 +02:00 |
|
Julian Winkler
|
960930a348
|
Add some stubs needed by android material library
|
2023-08-23 12:39:49 +02:00 |
|
Julian Winkler
|
83cc2e5991
|
load the default Application theme on startup
|
2023-08-22 22:30:06 +02:00 |
|
Julian Winkler
|
34d214e9ae
|
AssetManager.java: fill indices array when loading TypedArray
This is needed for TypedArray.getIndexCount() and related functions
|
2023-08-22 22:30:03 +02:00 |
|