Commit Graph

  • 757d689689 unify View construction and measurement Julian Winkler 2023-12-29 11:05:05 +01:00
  • 32f344c301 meson.build: libavcodec version 59 is sufficient Julian Winkler 2023-12-29 11:39:30 +01:00
  • 1acbdc7339 meson.build: properly note down required versions of gtk and avcodec Mis012 2023-12-19 14:34:34 +01:00
  • 529f5f1168 main-executable: error out if apk path doesn't exist Mis012 2023-12-07 14:56:04 +01:00
  • 25a0a44638 libandroid: xr: remove XR_KHR_android_create_instance from extension list Mis012 2023-12-07 14:55:30 +01:00
  • 9881f2fa31 libandroid: xr: don't assume android GLES Nikita Travkin 2023-11-29 17:24:45 +05:00
  • 0fb6754598 libandroid: xr: override procaddr with bionic symbols Nikita Travkin 2023-11-25 21:15:14 +05:00
  • 0860da34c8 libandroid: add trace Nikita Travkin 2023-11-25 21:13:05 +05:00
  • 1b8480a7d0 android-impl: fix regressions that made angry birds not work anymore Mis012 2023-11-23 15:29:03 +01:00
  • 878b957380 LinearLayout: remove default gravity Julian Winkler 2023-11-12 12:15:37 +01:00
  • b0fdf53f9b implement android.widget.ProgressBar using GtkProgressBar Julian Winkler 2023-11-12 12:01:02 +01:00
  • 987058f55d implement AudioTrack.pause() Julian Winkler 2023-11-12 12:00:06 +01:00
  • bff62a6e77 View: implement visibility and alpha properly Julian Winkler 2023-11-12 10:43:28 +01:00
  • 1a039e5e51 add missing APIs related to scrolling Julian Winkler 2023-11-11 11:45:01 +01:00
  • 4bf4887244 copy OverScroller.java from AOSP Julian Winkler 2023-11-11 11:42:08 +01:00
  • 7ac38adae0 View.scrollTo(): invalidate View Julian Winkler 2023-11-11 11:41:17 +01:00
  • c0804c3329 WrapperWidget: overwrite measured size if layout size is fixed Julian Winkler 2023-11-10 23:36:57 +01:00
  • e11d9ec6b6 set parent before calling setLayoutParams() Julian Winkler 2023-11-10 23:28:17 +01:00
  • 36d7a1cc44 support layout margins Julian Winkler 2023-11-08 22:41:46 +01:00
  • 72a8b3a047 add more stubs Julian Winkler 2023-11-08 21:40:39 +01:00
  • 9f74ab811e LayoutInflater: support android:theme attribute Julian Winkler 2023-11-08 21:29:46 +01:00
  • d025fd3ce3 FrameLayout: replace with AOSPs implementation Julian Winkler 2023-11-08 18:13:47 +01:00
  • 6ef1e523cc View: relayout on visibility changes Julian Winkler 2023-11-08 18:11:52 +01:00
  • ac5a547360 AndroidLayout: provide default width and height Julian Winkler 2023-11-08 18:05:59 +01:00
  • 603371ec9e ARCSlib: use defaultValue for non existing XML attributes Julian Winkler 2023-11-08 18:04:47 +01:00
  • bcfb384ba4 implement EditText.setOnEditorActionListener() Julian Winkler 2023-11-08 18:00:31 +01:00
  • 1aa1ee64c1 Context: handle getTargetSdkVersion() returning null Julian Winkler 2023-11-04 17:47:43 +01:00
  • 1cef28f086 Window: use content_view as DecorView if available Julian Winkler 2023-11-04 17:00:12 +01:00
  • 7bb5a1e33a computeScroll: move the allocation instead of only the snapshot Julian Winkler 2023-11-04 07:49:38 +01:00
  • 585d934483 View: use gdk_event_get_modifier_state() for onTouch handling Julian Winkler 2023-11-03 22:16:57 +01:00
  • 29e88b08d8 AndroidLayout: ignore exceptions during measure Julian Winkler 2023-11-03 21:53:53 +01:00
  • 5813f9741d AndroidLayout: implement get_request_mode Julian Winkler 2023-11-03 18:23:20 +01:00
  • 385f6dcf0b android_layout_measure: reuse old MeasureSpec for missing dimension Julian Winkler 2023-11-03 18:06:30 +01:00
  • 837ad31c3f api-impl-jni/media/android_media_MediaCodec.c: resize the viewport in sync with the dummy widget Mis012 2023-11-03 23:21:43 +01:00
  • 4bce3544dd WrapperWidget: handle View.computeScroll() Julian Winkler 2023-10-30 22:37:48 +01:00
  • 0a8b8a3874 use AndroidLayout class also in View implementation Julian Winkler 2023-10-31 23:02:11 +01:00
  • 3c03223085 android_layout_measure(): refactor to respect LayoutParams Julian Winkler 2023-10-31 22:56:22 +01:00
  • 8b6de0e83a move AndroidLayout class to own file Julian Winkler 2023-10-31 22:37:11 +01:00
  • 3de842b1d8 enable onTouchEvent for ViewGroups and add some stubs Julian Winkler 2023-10-30 22:35:31 +01:00
  • 065fd96308 api-impl-jni: make invalidate() work inside the draw callback Mis012 2023-10-31 23:14:47 +01:00
  • bcd588446d api-impl-jni/views/android_view_View.c: handle replacing existing onclick/ontouch listener Mis012 2023-10-31 16:00:35 +01:00
  • 0fc90e39c7 api-impl-jni/views/android_view_ViewGroup.c: set GTK_OVERFLOW_HIDDEN by default Mis012 2023-10-31 13:39:39 +01:00
  • b714dad281 api-impl/android/view/View: apply background from attrs Mis012 2023-10-30 18:52:07 +01:00
  • fb3149b088 api-impl/android/content/res/Resources: fix trailing whitespace Mis012 2023-10-30 18:49:23 +01:00
  • d483828236 android/view/View: naive implementation for setBackgroundColor Mis012 2023-10-30 17:28:38 +01:00
  • 0b0cfed345 misc: fix stuff up to make SDL example work again Mis012 2023-10-29 22:47:57 +01:00
  • 9025142bdd AssetManager: speed up XML inflation using HashMap caching Julian Winkler 2023-10-29 08:00:02 +01:00
  • 3bdffe7ce9 View: prevent redundant measuring for performance reasons Julian Winkler 2023-10-28 22:38:43 +02:00
  • 4f9e672819 View: handle all invalidate methods Julian Winkler 2023-10-28 08:12:05 +02:00
  • e23516ee43 fix invalid cast warning when calling setTextColor() on EditText Julian Winkler 2023-10-28 22:53:00 +02:00
  • 3e7f07ec71 onTouchEvent: pass return value to GTK Julian Winkler 2023-10-28 16:52:58 +02:00
  • 469d47091c Window: fix issue with multi Activity support Julian Winkler 2023-10-28 09:21:04 +02:00
  • a2381f4721 fix compiler warnings in WrapperWidget and View Julian Winkler 2023-10-28 08:04:00 +02:00
  • 9ef2151c5e GLSurfaceView: remove old implementation, import the one from AOSP Mis012 2023-10-20 20:54:37 +02:00
  • 621cb866c1 api-impl{-jni}: fix code style issues missed during review Mis012 2023-10-17 21:57:48 +02:00
  • 4a0755c6e0 api-impl{-jni}: make view.onTouchEvent work, misc stuff to make input work for Unity games Mis012 2023-10-17 21:33:59 +02:00
  • 58fa4b5590 api-impl/android/widget/Toolbar: add a stub widget Mis012 2023-10-16 20:19:05 +02:00
  • 9a78412155 api-impl-jni/audio/android_media_AudioTrack.c: 'default' as a PCM device seems to work nicely Mis012 2023-10-15 20:21:05 +02:00
  • 4130e252cc fixes to make Picasso Image Loader work Julian Winkler 2023-10-08 22:50:28 +02:00
  • 520d153c55 call View.onAttachedToWindow() method Julian Winkler 2023-10-08 17:51:41 +02:00
  • f4251af2a2 Add more AudioTrack APIs needed for exoplayer. Julian Winkler 2023-10-08 16:16:36 +02:00
  • b340032e9f impement android.media.MediaCodec using libavcodec Julian Winkler 2023-10-08 16:09:27 +02:00
  • 23c0b006ef use handle_cache for Looper methods Julian Winkler 2023-10-08 15:31:55 +02:00
  • a29ba61f30 implement SystemClock.elapsedRealtime() Julian Winkler 2023-10-08 15:30:18 +02:00
  • b88707592a add more stubs to make exoplayer not crash Julian Winkler 2023-09-21 22:49:36 +02:00
  • c830abc5f3 add more API stubs for NewPipe Julian Winkler 2023-09-19 23:22:21 +02:00
  • 2013024971 Context: implement startService() and bindService() Julian Winkler 2023-09-19 23:11:56 +02:00
  • 299a474aa0 move startActivity function to Context class Julian Winkler 2023-09-19 23:09:58 +02:00
  • 55a1ff2cc5 create ContentProvider from AndroidManifest.xml Julian Winkler 2023-09-13 21:34:24 +02:00
  • f5fc993484 add APIs needed for non legacy NewPipe version Julian Winkler 2023-09-12 23:18:47 +02:00
  • 399cf87254 fix some NullPointerExceptions with Flower Finder test apk Julian Winkler 2023-10-14 11:13:10 +02:00
  • 37d9b13470 View.onMeasure: handle MEASURE_SPEC_AT_MOST properly Julian Winkler 2023-10-14 11:06:27 +02:00
  • e735757a2e Window.java: prevent calling set_widget_as_root() twice Julian Winkler 2023-10-14 10:59:27 +02:00
  • 43306bf174 api-impl/android/content/res/AssetManager: fix infinite loop with suspicious self-referencing arsc entries Mis012 2023-10-09 20:11:36 +02:00
  • bf8f11d123 api-ipml/GLSurfaceView: fix indentation/newlines, fix compilation when DEBUG_GLAREA is defined Mis012 2023-10-09 20:10:29 +02:00
  • f5b35b5ce9 api-impl: misc. stubs Mis012 2023-10-08 22:33:47 +02:00
  • 1b33acb658 api-impl/android/content: implement metadata bundle in PackageInfo Mis012 2023-10-08 22:33:14 +02:00
  • 2bb61d98be README.md: clarify this is not a mere PoC anymore; add deeper thought provocation to doc/ Mis012 2023-10-08 22:31:57 +02:00
  • 5574d60b10 /api-impl-jni/app/android_app_Activity.c: fix typo Mis012 2023-10-08 13:58:04 +02:00
  • 8b7b02d81f src/main-executable/main.c: change the naming scheme for app data dirs to fix Unity Mis012 2023-10-06 21:17:11 +02:00
  • c326cad04e misc cleanup, address some warnings Mis012 2023-09-25 19:53:49 +02:00
  • 4e22428a27 api-impl-jni/app/android_app_Activity.c: call OnWindowFocusChanged in activity_update_current Mis012 2023-09-25 19:53:20 +02:00
  • beca82142c libandroid/native_window.c: Implement X11 support Markuss Broks 2023-09-15 00:00:51 +03:00
  • d3e5c6ee70 api-impl,libandroid: Add some stubs, mostly Nikita Travkin 2023-09-19 17:37:14 +05:00
  • a32961891d api-impl/android/content/Context: add getExternalFilesDirs Mis012 2023-09-18 14:12:38 +02:00
  • 210cda566a api-impl/android/content/Context: make getObbDir consistent with apps' hardcoded assumptions about the obb dir location Mis012 2023-09-18 13:54:12 +02:00
  • 4628cfc66d /api-impl-jni: remove remains of experimental ninepatch implementation, will use skia Mis012 2023-09-16 16:30:14 +02:00
  • 7e071fc6cc api-impl-jni/android_app_NativeActivity.c: call ANativeWindow_release to get rid of the old surface, e.g when resizing Mis012 2023-09-15 11:40:54 +02:00
  • e1cf5c7047 libandroid/native_window.c: make Vulkan work, add refcount Mis012 2023-09-14 21:48:15 +02:00
  • 9270d3a923 api-impl/android/view/View: add getDisplay Mis012 2023-09-14 16:05:07 +02:00
  • ba44426986 api-impl/android/view/Display: add methods Mis012 2023-09-14 09:46:37 +02:00
  • 8500b57880 api-impl/android/net/Uri: copy encode/decode implementation from AOSP Mis012 2023-09-14 09:45:24 +02:00
  • 24353378be api-impl: implement Canvas text drawing as used by Gravity Defied Mis012 2023-09-12 19:30:20 +02:00
  • f25e9b021f README.md: add skia info, fix outdated sections Mis012 2023-09-12 13:31:18 +02:00
  • 90cb1c925a api-impl: use liblog for android.util.Log; use Log.v for debugging prints and Log.w for stub tracing Mis012 2023-09-06 17:42:24 +02:00
  • 49861ce4dd api-impl-jni/android_graphics_Canvas.c: enable drawRect Mis012 2023-09-03 13:01:55 +02:00
  • 897a1e68a4 TextView: implement setTextColor Mis012 2023-09-03 12:57:13 +02:00
  • 1e47824a79 src/api-impl: use skia instead of cairo Mis012 2023-08-28 20:03:32 +02:00
  • 096919ec37 implement View.getDrawingRect() Julian Winkler 2023-09-08 18:34:48 +02:00
  • 255eed3e59 setLayoutParams(): better match Androids behaviour Julian Winkler 2023-09-08 18:32:34 +02:00