Commit Graph

441 Commits

Author SHA1 Message Date
Julian Winkler
b95613614e implement SurfaceView.lockCanvas() using GskCanvas 2024-06-15 00:00:20 +02:00
Mis012
81797c2667 api-impl: add misc stubs/impls 2024-06-13 21:00:06 +02:00
Mis012
ce85f3e0b1 GradientDrawable: fix imporper commenting out 2024-06-13 20:55:20 +02:00
Mis012
795c76f144 android/content/Context: misc cleanup 2024-06-13 20:54:21 +02:00
Mis012
4fd7e2cbb1 AssetManager: fix up AssetInputStream 2024-06-13 20:37:35 +02:00
Julian Winkler
2efa545e73 fix application_info.dataDir getting overwritten by PackageParser 2024-06-13 20:07:10 +02:00
Julian Winkler
5454d9ed3c MediaCodec: throw IOException for unimplemented codecs
fixes SEGFAULT when libavcodec is built without aac decoder
2024-06-13 20:07:01 +02:00
Mis012
fee9302e17 api-impl: fix uses of dummy aux Drawable class 2024-06-13 12:15:50 +02:00
Julian Winkler
931497689c add Intent.getParcelableArrayListExtra() 2024-06-12 23:04:54 +02:00
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
cd34ef4d5a stub TextView.getCompoundDrawables() 2024-06-02 08:22:34 +02:00
Mis012
5fb7cb283f api-impl: misc stubs 2024-05-27 19:02:31 +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
d941fd5a81 implement more GskCanvas methods 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
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
Julian Winkler
34c03c59c3 add some methods needed for NewPipe release 0.27.0 2024-05-23 22:14:30 +02:00