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
Julian Winkler
bc8443e542
Dialog: add dismiss(), hide() and onCreate() methods
2024-02-16 15:28:04 +01:00
Mis012
056b911637
handle 'SEND' intent by copying to clipboard, make Activity subclass ContextWrapper, code style fixes
2024-02-10 20:58:38 +01:00
Julian Winkler
f3292a76f2
AssetManager: special handling for style and array types
...
These are complex and can't be loaded into a TypedArray
2024-02-10 10:28:48 +01:00
Julian Winkler
164383121c
implement AssetManager.copyTheme()
2024-02-10 10:28:48 +01:00
Julian Winkler
aa56f3fb81
Add some methods needed for androidx preferences
2024-02-10 10:28:48 +01:00
Julian Winkler
850fd2f076
add some stubs to make NewPipe video player work again
2024-02-08 14:22:40 +01:00