Julian Winkler
82744e9e5e
add bunch of new java APIs: mostly stubs or copied from AOSP
...
Many of these classes are only needed to be subclassed by androidx
support library, which is used in many android apps
2023-08-22 15:53:09 +02:00
Julian Winkler
a8e39cd613
get Application class from AndroidManifest.xml and call onCreate()
2023-08-22 15:53:09 +02:00
Julian Winkler
c60e97f13f
implement obtainStyledAttributes() functions properly
2023-08-22 15:51:13 +02:00
Mis012
aa5d9b16df
api-impl/android/media/AudioTrack: make this a stub again for now, it's kinda broken
2023-08-12 13:10:34 +02:00
Mis012
4a1159f5cb
api-impl: add misc stubs
2023-08-12 13:09:33 +02:00
Mis012
a1aa38c7b8
api-impl/android/content/pm/PackageInfo: make some items not stubs
2023-08-12 13:06:10 +02:00
Mis012
c936333c74
src/main-executable: show actual package name as window title, preparation for showing app icon, re-add some missing stuff
2023-08-12 13:05:34 +02:00
Julian Winkler
18ca242096
support multiple Activities
2023-08-11 18:15:19 +02:00
Julian Winkler
a7f8e44f30
Intent.java: add some missing methods
2023-08-11 18:15:19 +02:00
Julian Winkler
4491de7f63
MessageQueue: integrate with glib main loop
...
Adds a special treatment for the main Looper to not block in java code,
but instead return to glib managed thread loop. Timeouts in the mainloop
are now handled using g_timeout_add_full().
Also defer Activity construction, so that every thing is set up properly
when the constructor runs.
2023-08-08 14:18:20 +02:00
Julian Winkler
c6c4e8b3a2
add stub RadioButton class
2023-08-08 14:18:20 +02:00
Julian Winkler
64cbb17a67
add support for loading framework-res.apk for system resources
2023-08-08 14:18:20 +02:00
Julian Winkler
4de91fdaaa
AssetManager.getResourceValue: handle references and invalid IDs
2023-08-08 14:18:20 +02:00
Julian Winkler
77459e34e0
add AssetManager.getArrayIntResource and Context.getString
2023-08-08 14:18:20 +02:00
Julian Winkler
952df5d1fd
LayoutParams: actually parse attributes
2023-08-08 14:18:20 +02:00
Julian Winkler
696e0ce714
implement LocationManager and orientation sensor using libportal
2023-08-08 14:18:20 +02:00
Julian Winkler
c72f3ba7d2
Canvas: use correct destination width and height
2023-08-08 14:18:20 +02:00
Julian Winkler
5c6b83e8f1
LayoutInflator: support <include/> tags
2023-08-08 14:18:20 +02:00
Julian Winkler
6b79adb2c3
add missing Context attribute to all View constructors
2023-08-08 14:18:20 +02:00
Julian Winkler
151eb334cc
TextUtils: fixup isEmpty() and add equals()
2023-08-08 14:18:20 +02:00
Julian Winkler
520569f7c7
implement View.invalidate()
2023-08-08 13:35:47 +02:00
Julian Winkler
def2804a85
add AccelerateInterpolator based on AOSP version
2023-08-08 13:35:47 +02:00
Julian Winkler
c10504c089
make BitmapDrawable functional
2023-08-08 13:35:47 +02:00
Mis012
ce32014fec
api-impl/android/os/AsyncTask: always run on UI thread (lifted from marshmallow)
2023-08-04 17:09:04 +02:00
Mis012
b4e1057dbc
api-impl/android/app/NativeActivity.java: fix crash due to Looper now not being a stub
2023-07-27 17:13:09 +02:00