Commit Graph

509 Commits

Author SHA1 Message Date
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
5fdcff4419 put sk_area behind the widget
Most widgets want to draw something behind the default content.

If we replace SkArea with GskCanvas in the future, we could draw
the default content, when the super.onDraw() gets called.
2024-05-20 08:09:01 +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
Mis012
c4af0d1ed4 doc: QuickHelp: improve and update 2024-05-15 12:28:42 +02:00
plata
86bb9a5ca2 README: improve readability 2024-05-14 19:14:13 +00:00
Julian Winkler
3cc7070839 MediaCodec: don't access ATL_codec_context in render_frame callback
The ATL_codec_context may have been freed already, when MediaCodec.release() was called
2024-05-13 22:32:48 +02: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
Mis012
e2edbb0b59 doc: add logo 2024-05-12 18:48:20 +02: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
0ebbfc9461 set GTK_OVERFLOW_HIDDEN again for WrapperWidgets with allocation
This is needed for RecyclerView, which will be allocated because of the
onTouch() listener.
2024-05-11 13:17:54 +02:00
Julian Winkler
e4a399f849 use AndroidLayout for all JavaWidgets 2024-05-11 07:07:24 +02:00
Julian Winkler
f82af6ecb7 allocate transparent {WrapperWidget / JavaWidget} 0x0 and draw children in overflow area
This prevents overlay widgets from blocking touch events.

Androids ViewGroup.dispatchTouchEvent() loops over all children and only breaks if an eventhandler returns true. Gtk on the other hand stops at the first sensitive child. Even if the eventhandler returned false.
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
Julian Winkler
efc401ed2f Revert "hack: make GestureOverlayView measure 0 x 0"
This reverts commit 2879e03120.
2024-05-11 07:07:24 +02:00
plata
0202e0389d README: streamline development instructions 2024-05-10 12:40:25 +00:00
Mis012
5a8dba4064 meson.build: specify dependency on openxr headers 2024-05-09 21:27:19 +02:00