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
639a786056
PackageInfo: handle Resources.NotFoundException gracefully
2024-04-27 15:15:40 +02:00
Mis012
188df3e454
PackageInfo: handle non-string metadata
2024-04-26 18:11:29 +02:00
Mis012
30a9f66c4a
api-impl: misc stubs for stupid ad stuff in SubwaySurfers
2024-04-26 18:11:29 +02:00
Mis012
a1df6a43e5
api-impl: stubs to make OsmAnd allow OpenGL renderer
...
it doesn't render anything sadly
2024-04-14 21:48:19 +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
540071e97e
ColorStateList: load color with obtainStyledAttributes()
2024-04-09 18:19:46 +02:00
Julian Winkler
ce6b83ad81
AssetManager: load style with parser.getAttribute(null, "style")
...
This way, we get the type as well and can check for it being an
attribute properly.
2024-04-09 18:19:44 +02:00
Julian Winkler
2f4cd3917f
implement some APIs needed for OctoDroid
2024-04-09 18:19:13 +02:00
Mis012
0352a307b9
AssetManager: applyStyle: use loadResourceBagValue instead of creating a temporary theme
2024-04-08 18:28:18 +02:00
Mis012
0f14370c8b
AssetManager: applyStyle: handle "style" value being an attribute, append styles to global theme instead of replacing it
2024-04-07 23:23:31 +02:00
Mis012
db4add0842
Resources: improve debug printout
2024-04-07 23:23:31 +02:00
Markuss Broks
24e8743cc1
Context: add the input service tag string
2024-04-01 19:41:06 +00: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
e0b3975eb7
implement PackageManager.resolveContentProvider()
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
Julian Winkler
45de09a191
notification support using libportal
2024-03-18 07:26:25 +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
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
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
Julian Winkler
838530fe59
add Intent.setDataAndType() method
2024-02-16 20:48:10 +01:00