Commit Graph

229 Commits

Author SHA1 Message Date
Julian Winkler
3e7fdac663 add more Java APIs needed for OctoDroid 2024-08-13 21:45:53 +02:00
Julian Winkler
e3c0931714 prevent reference cycles between Java and native objects 2024-08-02 17:02:53 +02:00
Julian Winkler
3c5a21357d multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
db1b62bca3 View.requestLayout(): iterate all parents 2024-07-31 18:21:14 +02:00
Julian Winkler
44fef4ba36 reuse ViewPropertyAnimator object
This is needed to make sure we don't call outdated AnimatorListeners
2024-07-31 18:21:14 +02:00
Mis012
eddd827e27 api-impl: add GridView stub, AnimationSet stub and misc stubs 2024-06-28 22:31:47 +02:00
Mis012
004ba4ff00 remove some old debugging prints, gate others behind verbose log 2024-06-22 14:35:56 +02:00
Mis012
df074bd2b4 api-impl: add misc stubs/impls 2024-06-22 14:22:37 +02:00
Julian Winkler
bb50bbfa91 add lots of java APIs needed for Whatsapp 2024-06-16 08:45:31 +02:00
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
Julian Winkler
c5e0f8a7fd View.draw(): draw background, content, children in same order as AOSP 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
64b3a505b6 add ViewGroup.detachViewFromParent(View) 2024-05-23 23:30:03 +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
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
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
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
Julian Winkler
cd4cd90f59 copy GestureDetector from AOSP 2024-05-11 07:07:24 +02:00
Mis012
e1abceee85 api-impl: more stubs to make OsmAnd launch
with latest bionic_translation, OsmAnd doesn't crash in native code
2024-04-14 15:15:42 +02:00