Commit Graph

  • a27cb27638 ScrollView: use GtkScrolledWindow for implementation Julian Winkler 2023-09-08 18:28:42 +02:00
  • b35cbea099 implement URL opening using libportal Julian Winkler 2023-09-01 16:03:31 +02:00
  • 0461834be0 ViewGroup: adjust scroll velocity for touchpads Julian Winkler 2023-09-01 14:24:27 +02:00
  • 3b6e4dc217 Always use addView() and removeView() implementation from ViewGroup Julian Winkler 2023-09-01 13:49:42 +02:00
  • a35879c633 RelativeLayout: copy AOSP implementation Julian Winkler 2023-09-01 13:18:02 +02:00
  • 9ad77d5b62 ViewGroup: make sure all child views have valid LayoutParams Julian Winkler 2023-09-01 13:16:01 +02:00
  • ceb5df9d39 implement BitmapFactory.decodeStream() using gdk_pixbuf_new_from_stream Julian Winkler 2023-09-01 13:09:04 +02:00
  • 30b990f60a EditText: implement addTextChangedListener() Julian Winkler 2023-09-01 13:03:40 +02:00
  • 071538de02 FrameLayout: add missing removeView JNI function Julian Winkler 2023-09-01 13:01:38 +02:00
  • 372ff3fba0 implement GLES10 by simply subclassing GLES20 Julian Winkler 2023-09-01 12:58:26 +02:00
  • 97f8c2ed0f Add some missing APIs. Julian Winkler 2023-09-01 12:55:04 +02:00
  • 6c2a3adae6 LinearLayout: default to horizontal orientation Julian Winkler 2023-09-01 12:46:02 +02:00
  • a79b464503 View: properly handle MATCH_PARENT sizes Julian Winkler 2023-09-01 12:42:57 +02:00
  • c6b98b14f8 Resources + LayoutInflater: throw same Exceptions as on AOSP Julian Winkler 2023-09-01 12:39:20 +02:00
  • f968bcd7c4 add menu APIs and use Activity as Window.Callbacks implementation Julian Winkler 2023-09-01 12:34:57 +02:00
  • ad83271080 add more Animation APIs and call onAnimationEnd() Julian Winkler 2023-09-01 12:30:27 +02:00
  • e522200e28 add android.widget.Adapter and related classes from AOSP Julian Winkler 2023-09-01 12:25:19 +02:00
  • 295d9dfda3 LinearLayout: handle overwritten performClick() method Julian Winkler 2023-09-01 12:19:45 +02:00
  • fb1a07967e copy android.widget.Scroller from AOSP and implement missing scroll APIs Julian Winkler 2023-09-01 12:13:24 +02:00
  • eac22aaa64 Resources.getSystem(): just return application resoources Julian Winkler 2023-08-27 11:30:59 +02:00
  • d81c6800b2 add JNI implementation of android.database.SQLiteConnection Julian Winkler 2023-08-27 11:00:09 +02:00
  • 253932f985 rewrite android.database.CursorWindow in pure java Julian Winkler 2023-08-27 10:56:50 +02:00
  • 2e0c18d755 add complete java side of sqlite implementation Julian Winkler 2023-08-24 12:43:13 +02:00
  • b861c86f0d FrameLayout: fix inserting child at last index Julian Winkler 2023-08-23 13:34:30 +02:00
  • 0f7548f189 refactor Dialog implementation to support custom content Julian Winkler 2023-08-23 10:32:29 +02:00
  • 029b26beb2 main.c: window size needs to be set before calling set_up_handle_cache() Julian Winkler 2023-08-23 10:04:24 +02:00
  • e694973a1f ViewGroup: add child View at correct index Julian Winkler 2023-08-23 09:30:38 +02:00
  • 28cd0006bc some fixes to make NewPipe not crash when layouting Julian Winkler 2023-08-23 09:16:45 +02:00
  • 1474d8d3e1 TextView: get textSize from attributes Julian Winkler 2023-08-22 18:50:08 +02:00
  • c4b7bdc63d ViewGroup: handle scroll events Julian Winkler 2023-08-22 18:08:16 +02:00
  • 960930a348 Add some stubs needed by android material library Julian Winkler 2023-08-22 14:41:01 +02:00
  • ca975a0e7c add support for ViewGroups with custom onLayout() Julian Winkler 2023-08-22 14:18:33 +02:00
  • 4434de4a58 implement android.widget.EditText using GtkEntry Julian Winkler 2023-08-22 13:55:56 +02:00
  • f9a85017c1 implement android.widget.ImageButton using GtkButton Julian Winkler 2023-08-22 13:53:52 +02:00
  • f2e71cd50f implement android.widget.Button using GtkButton Julian Winkler 2023-08-22 13:51:37 +02:00
  • 36b6132324 fix reference counting for GtkWidgets created from java Julian Winkler 2023-08-22 13:49:09 +02:00
  • faf4a3281e add initial support for fragments Julian Winkler 2023-08-22 13:29:44 +02:00
  • 83cc2e5991 load the default Application theme on startup Julian Winkler 2023-08-22 13:27:28 +02:00
  • 34d214e9ae AssetManager.java: fill indices array when loading TypedArray Julian Winkler 2023-08-22 13:24:31 +02:00
  • 9bd5593657 Activity: make startActivityForResult() functional Julian Winkler 2023-08-22 13:23:34 +02:00
  • 3399c84e84 fix multi Activity support Julian Winkler 2023-08-22 13:20:04 +02:00
  • 3fd81baeaf AssetManager: fix loading without merge Julian Winkler 2023-08-22 22:13:49 +02:00
  • 2b97e3bd57 AssetManager.java: iterate tableBlocks instead of merging Julian Winkler 2023-08-22 16:14:18 +02:00
  • 6547e66d4f implement android.app.AlertDialog using GtkDialog Julian Winkler 2023-08-10 11:06:02 +02:00
  • fac8e6e7b5 fix Build.SDK constant Julian Winkler 2023-08-10 11:03:14 +02:00
  • 447041066e add StatFs class from AOSP Julian Winkler 2023-08-10 11:02:30 +02:00
  • 44be3ff197 copy Color.parseColor() from AOSP Julian Winkler 2023-08-10 11:01:54 +02:00
  • 4d90002ec6 Simplify native interface of widget implementations Julian Winkler 2023-08-17 12:59:37 +02:00
  • 82744e9e5e add bunch of new java APIs: mostly stubs or copied from AOSP Julian Winkler 2023-08-17 10:46:24 +02:00
  • a8e39cd613 get Application class from AndroidManifest.xml and call onCreate() Julian Winkler 2023-08-17 10:09:07 +02:00
  • c60e97f13f implement obtainStyledAttributes() functions properly Julian Winkler 2023-08-17 10:00:50 +02:00
  • aa5d9b16df api-impl/android/media/AudioTrack: make this a stub again for now, it's kinda broken Mis012 2023-08-12 13:10:34 +02:00
  • 4a1159f5cb api-impl: add misc stubs Mis012 2023-08-12 13:09:33 +02:00
  • a1aa38c7b8 api-impl/android/content/pm/PackageInfo: make some items not stubs Mis012 2023-08-12 13:06:10 +02:00
  • c936333c74 src/main-executable: show actual package name as window title, preparation for showing app icon, re-add some missing stuff Mis012 2023-08-12 13:05:34 +02:00
  • 18ca242096 support multiple Activities Julian Winkler 2023-08-11 18:09:17 +02:00
  • a7f8e44f30 Intent.java: add some missing methods Julian Winkler 2023-08-10 11:07:03 +02:00
  • ab861c1594 doc: add Env.md, update Architecture.md Mis012 2023-08-09 15:56:33 +02:00
  • 88c585d9dc LocationManager: disable location access by default Julian Winkler 2023-08-09 12:35:26 +02:00
  • 0282e9fbcb build and install framework-res.apk from source Julian Winkler 2023-08-09 12:22:16 +02:00
  • 4491de7f63 MessageQueue: integrate with glib main loop Julian Winkler 2023-08-08 10:16:17 +02:00
  • c6c4e8b3a2 add stub RadioButton class Julian Winkler 2023-08-06 14:10:48 +02:00
  • 64cbb17a67 add support for loading framework-res.apk for system resources Julian Winkler 2023-07-14 20:37:10 +02:00
  • 4de91fdaaa AssetManager.getResourceValue: handle references and invalid IDs Julian Winkler 2023-07-14 20:19:54 +02:00
  • 77459e34e0 add AssetManager.getArrayIntResource and Context.getString Julian Winkler 2023-07-14 20:12:41 +02:00
  • 952df5d1fd LayoutParams: actually parse attributes Julian Winkler 2023-07-14 20:09:10 +02:00
  • 696e0ce714 implement LocationManager and orientation sensor using libportal Julian Winkler 2023-07-14 20:02:34 +02:00
  • c72f3ba7d2 Canvas: use correct destination width and height Julian Winkler 2023-07-14 18:06:43 +02:00
  • 5c6b83e8f1 LayoutInflator: support <include/> tags Julian Winkler 2023-08-06 14:32:28 +02:00
  • 6b79adb2c3 add missing Context attribute to all View constructors Julian Winkler 2023-07-14 18:02:04 +02:00
  • 151eb334cc TextUtils: fixup isEmpty() and add equals() Julian Winkler 2023-07-14 17:56:31 +02:00
  • def91a688d handle overwritten onDraw function in WrapperWidget Julian Winkler 2023-07-14 17:53:12 +02:00
  • 22dcaf45e8 View: use GTK_ALIGN_CENTER for Androids GRAVITY_CENTER Julian Winkler 2023-07-13 22:39:26 +02:00
  • 520569f7c7 implement View.invalidate() Julian Winkler 2023-07-13 22:38:01 +02:00
  • def2804a85 add AccelerateInterpolator based on AOSP version Julian Winkler 2023-07-13 22:28:44 +02:00
  • c10504c089 make BitmapDrawable functional Julian Winkler 2023-08-06 14:27:30 +02:00
  • 8c1e98b09c GLSurfaceView: fix eglGetDisplay for Wayland only sessions Julian Winkler 2023-07-13 22:04:35 +02:00
  • ce32014fec api-impl/android/os/AsyncTask: always run on UI thread (lifted from marshmallow) Mis012 2023-08-04 17:09:04 +02:00
  • b4e1057dbc api-impl/android/app/NativeActivity.java: fix crash due to Looper now not being a stub Mis012 2023-07-27 17:13:09 +02:00
  • 014bc2c293 api-impl/android/media/MediaPlayer.java: add more stubs Mis012 2023-07-26 00:46:38 +02:00
  • ffb2855a05 api-impl: add misc stuff needed by Teeter Mis012 2023-07-25 14:29:43 +02:00
  • 08998b0076 make Looper, Handler, and MessageQueue work properly Mis012 2023-07-25 14:26:29 +02:00
  • 7ac5587fca api-impl/android/view/LayoutInflater.java: load layout XMLs directly from apk Mis012 2023-06-23 18:35:00 +02:00
  • a61e44aad8 api-impl-jni/audio/android_media_AudioTrack.c: make this stuff noop by default Mis012 2023-06-23 17:24:11 +02:00
  • c25342c8d9 api-impl/android/content/Context.java: implement getExternalCacheDir() Mis012 2023-06-22 14:40:09 +02:00
  • f2919f0285 api-impl/android/content/IntentFilter.java: add stub Mis012 2023-06-22 14:39:38 +02:00
  • 9f87192a78 api-impl/android/content/res/AssetManager.java: fix lack of throwing exception on failure Mis012 2023-06-22 14:35:55 +02:00
  • 0a9591c474 src/api-impl: fix up code style, mainly for code imported from AOSP Mis012 2023-06-22 11:45:46 +02:00
  • 824b821f5a looper.c: make objretcall less hacky Julian Winkler 2023-06-06 18:36:06 +02:00
  • 183d9fe6b7 remove example_data_dir and update documentation accordingly Julian Winkler 2023-06-07 22:58:21 +02:00
  • 514e1e0e79 auto create app data dir Julian Winkler 2023-06-06 22:59:49 +02:00
  • 334274c9e5 auto extract native libraries and detect lib name for NativeActivity Julian Winkler 2023-06-06 22:08:00 +02:00
  • 83a2647637 Add rpath to find art libraries Julian Winkler 2023-05-31 22:38:41 +02:00
  • 5f07a5738b r_debug.c: don't hardcode 64 bit Julian Winkler 2023-05-31 22:37:59 +02:00
  • 997642d93a auto find main activity using AndroidManifest.xml Julian Winkler 2023-05-20 19:23:40 +02:00
  • 12e9e9788a load assets and bitmaps directly from apk Julian Winkler 2023-05-20 18:53:20 +02:00
  • 3709e30f64 load layout XMLs directly from apk file Julian Winkler 2023-05-20 12:38:34 +02:00
  • db53d3679f replace arsc_parser with ARSClib Julian Winkler 2023-05-20 12:34:21 +02:00
  • 0baddd9fe8 fixes for android-8 rebase of dalvik_standalone Julian Winkler 2023-05-20 12:26:19 +02:00
  • 55098136dc src/main-executable/main.c: fix possible stray : at the end of classpath Mis012 2023-06-21 18:33:30 +02:00