Commit Graph

370 Commits

Author SHA1 Message Date
Julian Winkler
aef5d5ad23 Html.fromHtml(): replace   as well 2024-03-10 23:00:42 +01:00
Julian Winkler
d22d083eb8 implement CheckBox and RadioButton using GtkCheckButton 2024-03-10 17:49:11 +01:00
Julian Winkler
1d0ad8132d regenerate R.java and Manifest.java to match framework-res.apk 2024-03-10 14:36:27 +00:00
Julian Winkler
005e2299bd automatically enable UI_MODE_NIGHT when gtk-theme-name contains "dark"
gtk-theme-name is only checked once at start up
2024-03-10 12:05:33 +01:00
ptrcnull
f49922cf1b add stub for ALooper::removeFd 2024-03-09 04:50:56 +01:00
Mis012
4e3b180dd7 android/view/View: clean up retrieval of id 2024-03-07 15:48:53 +01:00
Mis012
7207587b2f add some stubs, borrow ListActivity and SimpleAdapter from AOSP 2024-03-07 15:47:10 +01:00
Mis012
ecaf968da1 treat application/activity names in AndroidManifest.xml as dot-prefixed when they don't contain any dots 2024-03-07 15:44:21 +01:00
Mis012
6d587a19e5 misc stuff to make glmark2 run 2024-03-05 17:07:21 +01:00
Mis012
a9c72d58fd api-impl: android/os/Process: handle self-kill
We don't currently implement sendSignal, however Unity uses killProcess to kill
its own process, which we can hadle with simple System.exit(0) and have Unity
games close cleanly
2024-03-01 15:38:46 +01:00
Mis012
60714ebf45 add PathInterpolator stub 2024-02-29 12:33:48 +01:00
Mis012
c430344bd7 TextView: implement more ways to obtain textColor, textSize; misc cleanup
also added a try/catch block to avoid regression
2024-02-28 01:49:23 +01:00
Julian Winkler
1a97841579 onInterceptTouchEvent: propagate ACTION_CANCEL to child widgets 2024-02-27 22:02:36 +01:00
Julian Winkler
efa61afc71 implement View.OnLongClickListener as GtkGestureLongPress 2024-02-27 22:02:36 +01:00
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