Commit Graph

224 Commits

Author SHA1 Message Date
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
Mis012
2802aaa28d api-impl: add stubs / simple stuff for OsmAnd
without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
2024-04-13 15:22:38 +02:00
Julian Winkler
2f4cd3917f implement some APIs needed for OctoDroid 2024-04-09 18:19:13 +02:00
Mis012
fea7a9e021 LayoutInflater: add AOSP boilerplate, it seems this file has large portions copied from AOSP 2024-04-07 23:23:31 +02:00
Mis012
1e64babfd4 borrow AnimationDrawable from AOSP 2024-04-03 01:55:03 +02:00
Mis012
04ee40d010 ViewGroup: make updateViewLayout actually update the layout 2024-04-03 01:55:03 +02:00