Commit Graph

678 Commits

Author SHA1 Message Date
Mis012
6560512b47 improve --help output and code style in main.c, use ARRAY_SIZE consistently 2024-09-15 00:42:55 +02:00
Mis012
4cb9cea3ba native_window: remove UGLY_HACK_FOR_VR, it's not needed because we now emulate pbuffers on wayland; also, using Gtk's X11 backend is always an option 2024-09-13 20:36:44 +02:00
Mis012
e761bb6a6d api-impl: implement WebView using webkitgtk 2024-09-13 20:29:56 +02:00
Julian Winkler
3e7fdac663 add more Java APIs needed for OctoDroid 2024-08-13 21:45:53 +02:00
Julian Winkler
6c2585ab4b add more android.text.style.*Span classes 2024-08-13 21:45:53 +02:00
Julian Winkler
e2e1f137bb implement ContentResolver
ContentUris.java and UriMatcher.java are copied from AOSP
2024-08-05 23:00:50 +02:00
Julian Winkler
9fda1b36e6 BitmapDrawable: prevent garbage collection while in use 2024-08-05 23:00:50 +02:00
Julian Winkler
5a73787a3d VectorDrawable: reference underlying bitmap to prevent garbage collection 2024-08-05 17:10:06 +02:00
Julian Winkler
e3c0931714 prevent reference cycles between Java and native objects 2024-08-02 17:02:53 +02:00
Julian Winkler
45801d8f17 implement EditText.removeTextChangedListener() 2024-08-01 22:06:27 +02:00
Julian Winkler
72c47703b9 implement AssetManager.getLocales() 2024-08-01 22:06:27 +02:00
Julian Winkler
9084dddf03 HACK: set loglevel for Whatsapps custom log implementation 2024-08-01 22:06:27 +02:00
Julian Winkler
a8ba2f797a PackageManager.GET_SIGNATURES use real apk signature instead of dummy
WhatsApp needs its own signature to generate a valid authentication token
2024-08-01 19:57:12 +00:00
Julian Winkler
051e80ae91 copy JsonReader.java and JsonWriter.java from AOSP 2024-08-01 19:57:12 +00:00
Julian Winkler
50e8bcda22 copy Uri.java from AOSP 2024-08-01 19:57:12 +00:00
Julian Winkler
bfd7bf6fbc copy ConditionVariable.java from AOSP 2024-08-01 19:57:12 +00:00
Julian Winkler
3c5a21357d multiple additions and fixes for the Java APIs
Stuff needed for WhatsApp support
2024-08-01 19:57:12 +00:00
Julian Winkler
ef77bb287a NotificationManager: store Intents in HashMap
This is needed for Intents with extras, because Parcelable serialization is not yet implemented
2024-07-31 18:22:26 +02:00
Julian Winkler
db1b62bca3 View.requestLayout(): iterate all parents 2024-07-31 18:21:14 +02:00
Julian Winkler
44fef4ba36 reuse ViewPropertyAnimator object
This is needed to make sure we don't call outdated AnimatorListeners
2024-07-31 18:21:14 +02:00
Julian Winkler
29e5298178 MediaCodec: handle end-of-file properly 2024-07-31 18:21:14 +02:00
Julian Winkler
4ed3fbd385 implement PackageParser.getResourcesForApplication()
This method is needed for the FlowerFinder test APK
2024-07-31 18:21:14 +02:00
Julian Winkler
71bb6d96bd implement Context.stopService() 2024-07-31 18:21:14 +02:00
Julian Winkler
23e7d32924 Button/ImageButton: consume touch events
Androids button consumes touch events, while GTKs button lets touch
events propagate to the parent. This previously caused some glitches
with buttons inside a CoordinatorLayout.
2024-07-31 18:21:14 +02:00
Julian Winkler
c7f64cd24b Button/ImageButton: remove old OnClickListener when setting new one 2024-07-31 18:21:14 +02:00