Commit Graph

351 Commits

Author SHA1 Message Date
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
Julian Winkler
f535e1b36f ValueAnimator: actually call the AnimatorUpdateListener 2024-05-20 08:12:28 +02:00
Julian Winkler
fdec418102 add some stubs needed because of previous commits
Since we now call draw() on View subclasses, we reach some new
codepaths which need new stubs
2024-05-20 08:12:15 +02:00
Julian Winkler
53d6714a0d DrawableContainer: forward method calls to current selected drawable 2024-05-20 08:12:15 +02:00
Julian Winkler
765f01e715 Drawable: implement GradientDrawable.inflate() and Drawable.createFromXmlInner() 2024-05-20 08:12:15 +02:00
Julian Winkler
dd3965df8a WrapperWidget: create SkArea also for Views with custom draw() method
Previously we only handled custom onDraw() methods
2024-05-20 08:12:02 +02:00
Julian Winkler
2324418813 View.getMatrix(): always return identity matrix
The returned Matrix should only represent rotation and scaling of the
view and should not depend on the position. Since we don't support
rotation and scaling yet, just always return identity
2024-05-20 08:12:02 +02:00
Julian Winkler
415547a90d add ProgressBar.incrementProgressBy() and AudioManager.setStreamVolume() 2024-05-20 08:12:02 +02:00
Julian Winkler
de9ea3655e implement View.getHitRect() 2024-05-19 15:30:09 +02:00
Julian Winkler
c167e183be add more View methods 2024-05-19 15:30:09 +02:00
Julian Winkler
4f4d22688e ViewConfiguration.getScaledDoubleTapSlop(): return meaningful value 2024-05-19 15:30:09 +02:00
Nikita Travkin
e1f79dc3a9 android: Support Unity text input dialog 2024-05-19 14:20:00 +05:00
Julian Winkler
b28e90a75c implement SeekBar.getProgress() 2024-05-13 22:01:24 +02:00
Julian Winkler
ab9c7e4091 add OnSeekBarChangeListener methods 2024-05-13 22:01:24 +02:00
Julian Winkler
cc5d4a3cb3 use libandroidfw for resource XML parsing
androidfw is implemented in native code and has much better performance
than ARSClib
2024-05-12 16:49:14 +00:00
plata
480ba65f35 Add ExpandableListView widget 2024-05-12 11:25:42 +02:00
plata
62b2d9f1be android/text/TextUtils: add getCapsMode stub 2024-05-12 08:38:04 +00:00
Julian Winkler
e4a399f849 use AndroidLayout for all JavaWidgets 2024-05-11 07:07:24 +02:00
Julian Winkler
9fcec8b64c ViewPropertyAnimator: call onAnimationEnd() at the right time 2024-05-11 07:07:24 +02:00