Julian Winkler
bb50bbfa91
add lots of java APIs needed for Whatsapp
2024-06-16 08:45:31 +02:00
Mis012
3022350844
SensorManager: accel: implement accelerometer data polling via /sys/bus/iio
...
for simplicity, we currently just take the first device in `/sys/bus/iio/devices`
that looks like an accelerometer.
2024-03-21 21:13:44 +01:00
Mis012
ab7c6cf834
api-impl: add stubs to make AnimationDrawable and Animation not cause lockups
...
apps may (ab)use AnimationDrawable.run and Animation.setAnimationListener
to time transitions between states; even though we don't currently implement
the animations, state transitions are still desirable (otherwise the app may
lock up)
2024-03-16 23:37:16 +01:00
Mis012
20b179387b
api-impl: implement accelerometer support, no backend yet
...
currently x,y,z values are hardcoded and can only be changed with gdb
2024-03-16 15:06:06 +01:00
Mis012
0b0cfed345
misc: fix stuff up to make SDL example work again
...
it still behaves weirdly, should probably find some
other example since I don't trust my own code.
2023-10-29 22:48:02 +01:00
Julian Winkler
f5fc993484
add APIs needed for non legacy NewPipe version
2023-10-14 18:29:33 +02:00
Nikita Travkin
d3e5c6ee70
api-impl,libandroid: Add some stubs, mostly
2023-09-19 14:44:50 +02:00
Julian Winkler
fb1a07967e
copy android.widget.Scroller from AOSP and implement missing scroll APIs
...
This is needed to make ViewPager functional
2023-09-01 12:13:24 +02:00
Julian Winkler
696e0ce714
implement LocationManager and orientation sensor using libportal
2023-08-08 14:18:20 +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
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
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
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
449090143e
refactor source tree organization, switch to meson
2022-10-09 22:59:16 +02:00