Julian Winkler
93b88ad0c3
implement more android.graphics.Matrix methods
2024-03-24 22:13:28 +01:00
Julian Winkler
f4a0191b1c
implement VectorDrawable, by loading tmp SVG with gdkpixbuf
...
This won't work for Apps using VectorDrawableCompat
2024-03-24 21:26:38 +01:00
Julian Winkler
26b6da2c9c
fix for atl_test_apks/views_widgets_samples_flower_finder.apk
...
This was broken since the automatic night mode commit. The sdkVersion
configuration for the AssetManager needs to be at least 24, as some
image resources of the APK are only in res/drawable-v24 subfolder
2024-03-24 15:11:38 +01:00
Julian Winkler
494605932c
implement more APIs
2024-03-22 21:02:22 +01:00
Julian Winkler
e8dc6e2f0d
implement Uri.Builder with hack for content:// URIs
2024-03-22 21:02:22 +01:00
Julian Winkler
e0b3975eb7
implement PackageManager.resolveContentProvider()
2024-03-22 21:02:22 +01:00
Julian Winkler
7d6eae5fa5
hack: call OnGlobalLayoutListener immediately
...
The NewPipe DownloadActivity waits for this callback
2024-03-22 21:02:22 +01:00
Julian Winkler
7ee4effb86
implement android.widget.Spinner using GtkDropDown
...
Helper classes from ListView implementation are reused. The declarations
have been moved to a new header file AdaperView.h
2024-03-22 21:02:22 +01:00
Julian Winkler
dda3063e79
PopupMenu: use AOSP MenuInflater and support item visibility
2024-03-22 21:02:22 +01:00
Mis012
0592b71489
View: basic implementation for performHapticFeedback
...
we currently ignore the feedbackConstant and simply vibrate for 10ms
2024-03-22 14:04:17 +01:00
Mis012
d122b2a528
api-impl: implement vibrator using evdev
...
we use the first vibrator that is marked for use with feedbackd in udev
2024-03-22 13:17:29 +01:00
Mis012
3022350844
SensorManager: accel: implement accelerometer data polling via /sys/bus/iio
...
for simplicity, we currently just take the first device in `/sys/bus/iio/devices`
that looks like an accelerometer.
2024-03-21 21:13:44 +01:00
Mis012
49436ef172
main: add ATL_FORCE_FULLSCREEN env
2024-03-21 21:11:26 +01:00
Mis012
6839f8b651
View: requestLayout: post with Looper to avoid stack exhaustion
2024-03-21 21:05:20 +01:00
Mis012
5af3fa9e79
api-impl: add TableLayout from AOSP
2024-03-21 16:19:19 +01:00
Julian Winkler
50fa760c63
NoitficationManager: implement cancel
2024-03-18 23:12:04 +01:00
Julian Winkler
cdcc3411aa
NotificationManager: delete ongoing and MediaStyle notifications on exit
...
The XDG Portal API doesn't have a concept of ongoing notifications.
MediaStyle notifications could be changed to MPRIS in the future.
2024-03-18 15:41:44 +01:00
Julian Winkler
acb00a8beb
NotificationManager: add support for icons
2024-03-18 14:37:56 +01:00
Julian Winkler
45de09a191
notification support using libportal
2024-03-18 07:26:25 +01:00
Julian Winkler
b14549e639
implement ConnectivityManager using GNetworkMonitor
2024-03-17 22:39:13 +01:00
Julian Winkler
14217e8724
simple implementation of PopupMenu using GtkPopoverMenu
2024-03-17 22:39:13 +01:00
Julian Winkler
6513195b9e
implement file chooser using GtkFileChooserNative
2024-03-17 22:39:13 +01:00
Julian Winkler
276b5ca7ef
add more APIs needed for NewPipe
2024-03-17 20:02:50 +01:00
Mis012
b3c0023a45
api-impl-jni: SensorManager: clean up local references after use
2024-03-17 17:48:26 +01:00
Mis012
30d1574911
Bitmap: pixbuf uses UNPREMUL_SK_ALPHATYPE
2024-03-17 01:41:36 +01:00