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
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
Julian Winkler
164383121c
implement AssetManager.copyTheme()
2024-02-10 10:28:48 +01:00
Julian Winkler
8d4d0021b3
use libandroidfw also for themes
2024-02-06 16:41:49 +01:00
Julian Winkler
493cb8284a
fix some Drawable related crashes in NewPipe
2023-12-30 23:38:56 +01:00
Julian Winkler
ca3c17d773
implement DrawableContainer and copy StateListDrawable from AOSP
2023-12-30 23:38:56 +01:00
Julian Winkler
8c7dbf6ceb
start implementing Drawable using underlying GdkPaintable
2023-12-30 23:38:48 +01:00
Julian Winkler
9f74ab811e
LayoutInflater: support android:theme attribute
2023-11-08 22:44:39 +01:00
Mis012
fb3149b088
api-impl/android/content/res/Resources: fix trailing whitespace
2023-10-30 18:49:32 +01:00
Julian Winkler
c830abc5f3
add more API stubs for NewPipe
2023-10-14 18:29:33 +02:00
Mis012
897a1e68a4
TextView: implement setTextColor
...
also uncomment Resources.getCachedColorStateList
2023-09-12 13:37:41 +02:00
Julian Winkler
c6b98b14f8
Resources + LayoutInflater: throw same Exceptions as on AOSP
2023-09-01 12:39:20 +02:00
Julian Winkler
eac22aaa64
Resources.getSystem(): just return application resoources
2023-08-27 23:14:00 +02:00
Julian Winkler
c4b7bdc63d
ViewGroup: handle scroll events
2023-08-23 12:39:55 +02:00
Julian Winkler
83cc2e5991
load the default Application theme on startup
2023-08-22 22:30:06 +02:00
Julian Winkler
c60e97f13f
implement obtainStyledAttributes() functions properly
2023-08-22 15:51:13 +02:00
Julian Winkler
c10504c089
make BitmapDrawable functional
2023-08-08 13:35:47 +02:00
Mis012
0a9591c474
src/api-impl: fix up code style, mainly for code imported from AOSP
...
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00
Julian Winkler
0baddd9fe8
fixes for android-8 rebase of dalvik_standalone
...
detect bootclasspath jar path automatically from dalvik_standalone
2023-06-21 22:38:07 +02:00
Mis012
52ba443401
misc stubbing
2022-12-01 14:44:16 +01:00
Mis012
449090143e
refactor source tree organization, switch to meson
2022-10-09 22:59:16 +02:00