Julian Winkler
b15bf203a7
remove custom AndroidManifest.xml parsing and instead use PackageParser
...
This has the advantage, that AndroidManifest.xml is only parsed once.
2024-06-12 23:03:20 +02:00
Julian Winkler
f249e1c487
MediaCodec: implement software decoding
...
The decoding is done by libavcodec, libswscale converts YUV to RGB data, which is
then put into a GtkPicture as GdkMemoryTexture.
2024-06-02 18:12:59 +02:00
Julian Winkler
03887e8c2d
MediaCodec: add support for hardware decocders with AV_PIX_FMT_DRM_PRIME
...
This change should enable hardware decoding using v4l2 m2m, but it
hasn't been tested with v4l2 m2m yet.
2024-06-02 18:06:17 +02:00
Julian Winkler
cd34ef4d5a
stub TextView.getCompoundDrawables()
2024-06-02 08:22:34 +02:00
Mis012
babbf441da
update README and doc/
2024-05-31 18:31:11 +02:00
Mis012
debbded4c5
main-executable: fix description for -X
2024-05-28 00:17:51 +02:00
Mis012
5fb7cb283f
api-impl: misc stubs
2024-05-27 19:02:31 +02:00
Mis012
2a3106f205
api-impl: com/google/android/gles_jni/GLImpl: implement some things by calling into GLES10
2024-05-27 19:01:52 +02:00
Mis012
b9cef2e565
api-impl-jni: GLES20: fix formatting
2024-05-27 19:00:22 +02:00
Mis012
97e59437b9
Bitmap: implement copyPixelsToBuffer
2024-05-27 18:58:04 +02:00
Julian Winkler
c5e0f8a7fd
View.draw(): draw background, content, children in same order as AOSP
2024-05-27 16:37:49 +00:00
Julian Winkler
e8eabb2027
GskCanvas.drawBitmap(): reuse GdkTexture objects
2024-05-27 16:37:49 +00:00
Julian Winkler
6f02565920
GskCanavas: draw default content when custom View calls super.onDraw()
2024-05-27 16:37:49 +00:00
Julian Winkler
6575fef58e
replace SkArea with GskCanvas
...
This reduces RAM usage, as we no longer need to have separate graphics
buffers for all Views with custom onDraw() method
2024-05-27 16:37:49 +00:00
Julian Winkler
d941fd5a81
implement more GskCanvas methods
2024-05-27 16:37:49 +00:00
Julian Winkler
8afdd181d0
WrapperWidget: simulate GTK_OVERFLOW_HIDDEN for 0x0 allocated Views
2024-05-27 16:37:49 +00:00
Mis012
92bb75d19f
AssetManager: fix open and openNonAsset not throwing exception on error
2024-05-27 14:01:43 +02:00
Julian Winkler
71717edc58
AssetManager: fix Asset XML file not found error on 32bit
...
The xmlBlock variable is now a pointer with the recent changes.
So, we shouldn't compare it with >= 0.
The error went unnoticed, because it was only tested on 64bit until now
2024-05-26 16:20:48 +02:00
Julian Winkler
ff3c103377
SoundPool: explicitly extract soundfile asset
...
With the recent changes assets are no longer extracted by default
2024-05-26 16:20:48 +02:00
Mis012
4374ac01ad
AssetManager: use libandroidfw to read assets straight from the apk file
...
they can still be put on the filesystem and will be read from there
preferentially, though overriding assets in this way can confuse
some creatively written apps and cause them to crash.
2024-05-26 00:10:16 +02:00
plata
dd56a2d551
android/text/TextUtils: add indexOf() + lastIndexOf()
2024-05-24 20:58:16 +00:00
Julian Winkler
d4086fdb90
meson.build: run dx on the whole jar
...
This is now possible without ARSCLib
Also remove --verbose flag
2024-05-23 23:32:19 +02:00
Julian Winkler
b25545c3c0
remove ARSCLib from the source tree
...
Also remove references to ARSCLib from doc/Architecture.md
2024-05-23 23:32:19 +02:00
Julian Winkler
778d19f268
remove remaining dependencies on ARSClib
2024-05-23 23:30:03 +02:00
Julian Winkler
64b3a505b6
add ViewGroup.detachViewFromParent(View)
2024-05-23 23:30:03 +02:00