Commit Graph

406 Commits

Author SHA1 Message Date
Julian Winkler
dd839e5a04 View.isNestedScrollingEnabled() default to false
RecyclerView overrides this method to return true
2024-02-27 22:02:36 +01:00
Julian Winkler
ddc36f5ccc postOnAnimation: add minimum delay of 1/60 s
This fixes smooth animations like kinetic scrolling
2024-02-27 22:02:36 +01:00
Julian Winkler
c61e8b8f53 Html.fromHtml(): replace <br> as well
Gtk fails to parse <br> tags in markup
2024-02-27 22:02:36 +01:00
Julian Winkler
bcf252d3a6 implement MotionView.eventTime and VelocityTracker
This is needed to make androidx ViewPager work with touch input
2024-02-27 22:02:36 +01:00
Julian Winkler
8dafa41ea9 implement View.onInterceptTouchEvent() callback
This is needed to support nested scrolling

A second GtkEventControllerLegacy gets registerd with GTK_PHASE_CAPTURE
2024-02-25 18:18:45 +01:00
Mis012
c03fb93727 test_apks split off here, including history; update README 2024-02-24 19:41:30 +01:00
Mis012
52886e0541 api-impl-jni: android_os_SystemClock.c: use CLOCK_MONOTONIC to match System.nanoTime 2024-02-22 14:25:29 +01:00
Mis012
da0971e88f Activity: implement Activity.recreate 2024-02-19 16:29:09 +01:00
Julian Winkler
5f3f8a5e6c ProgressBar: use GtkSpinner for indeterminate mode 2024-02-18 10:08:44 +01:00
Julian Winkler
3486d59e81 ListView: observe dataset changes 2024-02-18 10:08:44 +01:00
Julian Winkler
9c684ee906 implement PopupWindow using GtkPopover 2024-02-18 10:08:43 +01:00
Julian Winkler
0bb3d7ce15 implement ViewStub.inflate() 2024-02-18 10:08:43 +01:00
Julian Winkler
b9b28619dd AdapterView: implement setAdapter / getAdapter() properly 2024-02-18 10:08:43 +01:00
Julian Winkler
85f750d76b ProgressBar: enable haveComplexMeasure 2024-02-18 10:08:43 +01:00
Julian Winkler
89b98faf04 ViewGroup: remove detached views
detached views should not be part of the view hierarchy
2024-02-18 10:08:43 +01:00
Julian Winkler
b7f06e41c1 implement release() methods in MediaCodec and related classes 2024-02-18 10:08:43 +01:00
Julian Winkler
5dfadc9c59 Add some more methods needed by NewPipe. Mostly stubs 2024-02-18 10:08:43 +01:00
Mis012
72d6ad9914 Drawable: stub 'ripple' as transparent ColorDrawable, fix view.setBackgroundColor for buttons 2024-02-18 00:30:36 +01:00
Mis012
dddc95ded3 README: update URLs, fix typos 2024-02-16 22:38:16 +01:00
Julian Winkler
838530fe59 add Intent.setDataAndType() method 2024-02-16 20:48:10 +01:00
Julian Winkler
1d8e140a3b TextView: add stubs to fix RecyclerView demo apk
The views_widgets_samples_flower_finder.apk was broken, because of
recent changes
2024-02-16 20:48:10 +01:00
Julian Winkler
a2eaaeb7d7 add Activity.getParentActivityIntent() method
This makes the back button in androidx apps working
2024-02-16 20:48:10 +01:00
Julian Winkler
2d6694d695 implement CompoundButton using GtkSwitch 2024-02-16 20:46:55 +01:00
Julian Winkler
d2725a73c9 View: parse minWidth and minHeight attributes from XML 2024-02-16 15:28:04 +01:00
Julian Winkler
3aed86b83a implement ListView using GtkListView
There is not much difference between GTKs ListView and Androids
ListView. So, we use GTKs implementation instead of copying from AOSP
2024-02-16 15:28:04 +01:00