Commit Graph

812 Commits

Author SHA1 Message Date
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
Mis012
ab861c1594 doc: add Env.md, update Architecture.md 2023-08-09 15:56:33 +02:00
Julian Winkler
88c585d9dc LocationManager: disable location access by default
environment variable ATL_UGLY_ENABLE_LOCATION can be set to enable it
2023-08-09 12:35:26 +02:00
Julian Winkler
0282e9fbcb build and install framework-res.apk from source
fall back to prebuilt if aapt command is not available
2023-08-09 12:22:16 +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
def91a688d handle overwritten onDraw function in WrapperWidget
This makes it easy to support for example ImageView with custom
onDraw function
2023-08-08 14:18:20 +02:00
Julian Winkler
22dcaf45e8 View: use GTK_ALIGN_CENTER for Androids GRAVITY_CENTER 2023-08-08 13:35:47 +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
Julian Winkler
8c1e98b09c GLSurfaceView: fix eglGetDisplay for Wayland only sessions
EGL_DEFAULT_DISPLAY always tries to use X11
2023-08-08 10:54:20 +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