Commit Graph

25 Commits

Author SHA1 Message Date
Julian Winkler
952df5d1fd LayoutParams: actually parse attributes 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
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
Mis012
ffb2855a05 api-impl: add misc stuff needed by Teeter
note that Teeter still needs more stuff before it will work
2023-07-25 14:29:50 +02:00
Mis012
08998b0076 make Looper, Handler, and MessageQueue work properly
this for example makes Unity apps not steal the main thread,
hanging Gtk.
2023-07-25 14:27:21 +02:00
Mis012
7ac5587fca api-impl/android/view/LayoutInflater.java: load layout XMLs directly from apk 2023-06-23 18:35:00 +02:00
Mis012
0a9591c474 src/api-impl: fix up code style, mainly for code imported from AOSP
used the following (plus manual edits):
`clang-format --style="{BasedOnStyle: LLVM, IndentWidth: 8, UseTab: Always, AllowShortIfStatementsOnASingleLine: false, IndentCaseLabels: true, ColumnLimit: 0}`
2023-06-22 11:45:46 +02:00
Julian Winkler
3709e30f64 load layout XMLs directly from apk file 2023-06-21 22:38:08 +02:00
Julian Winkler
0454dcbfd5 stub some APIs for Flappy Bird, mostly webview related 2023-06-18 11:28:40 +02:00
Mis012
4dd31731f9 src/api-impl: misc stubbing 2023-01-09 12:07:57 +01:00
Mis012
f0cae244ae src/api-impl/android/view/Choreographer.java: implement enough for games using swappy to work (tested with sample Unity app) 2023-01-05 19:00:27 +01:00
Mis012
2e4590c4d8 src/api-impl: misc stubbing 2022-12-31 17:17:10 +01:00
Mis012
52ba443401 misc stubbing 2022-12-01 14:44:16 +01:00
Mis012
33b4515cb9 add support for the boneheaded method of receiving input events that is used by NativeActivity apps
currently, our "not-actually-a-queue" implementation is quite ugly,
hopefully it might be possible to make it look somewhat sane while
not needing to make it as much of a queue as it is on android
2022-11-11 19:18:21 +01:00
Mis012
231ac88dbd make touch input work with apps using SurfaceView 2022-11-09 15:03:13 +01:00
Mis012
e5a8b4c7eb src/api-impl/android/view/MotionEvent.java: fix copied indentation 2022-11-09 14:50:54 +01:00
Mis012
7d3cefafef api-impl: add initial support for NativeAcivity 2022-11-04 19:28:46 +01:00
Nikita Travkin
c7fcb0f84e Stub some stuff 2022-11-02 15:25:14 +01:00
Mis012
6a1d2f4ed4 replace use of glfw for SurfaceView with use of wayland subsurface positioned over a Gtk widget 2022-11-02 14:37:34 +01:00
Mis012
b801f0fb3c implement some stuff to make exaple SDL app run
NOTE: the main addition in this commit is WIP support for apps which
render on an EGL surface obtained using ANativeWindow_fromSurface

currently, this EGL surface is obtained by creating a 700x700 pixel
window with GLFW (the 700x700 size is hardcoded in several places)
and only Wayland is supported

ideally, we'd want to use a wayland subsurface to position the EGL
surface above the Surface widget it's associated with (and do
whatever for X11)
2022-10-26 18:39:04 +02:00
Mis012
3627f35bd5 fix wrong indentation of interfaces/stubs copied from AOSP 2022-10-18 18:35:29 +02:00
Mis012
49961186a2 get rid of launcher script requirement; fix app data dir being hardcoded; update documentation; remove prebuilt dalvik (NOTE - purged from history at this point, so is not part of the diff) 2022-10-12 17:30:07 +02:00
Mis012
449090143e refactor source tree organization, switch to meson 2022-10-09 22:59:16 +02:00