Henrik Rydgård
dd15a1573d
Add setting to configure simulated key-up delay for mouse wheel events
2023-12-20 11:39:37 +01:00
Dzmitry Dubrova
a461800973
Implement custom driver loading for ARM64 Android devices
2023-12-14 08:53:03 +03:00
Henrik Rydgård
a6d717cb39
Add option in dev tools to ask Android for 60hz display using Surface.setFrameRate
...
Might help #18514 and #18480 if we're lucky.
2023-12-12 15:30:39 +01:00
Henrik Rydgård
db4993bfdc
Implement full support for mouse input on Android
...
The smoothing algorithm changed a bit now that I centralized that logic
in a way that can work with all backends.
2023-12-10 09:52:19 +01:00
Henrik Rydgård
fe732f167c
Android: Batch motion events.
2023-12-09 15:44:09 +01:00
Henrik Rydgård
84d3bfc506
Add mouse wheel support for Android
...
Fixes #18471
Tested on a Poco F4 phone with a generic Bluetooth mouse.
2023-12-04 13:41:52 +01:00
Henrik Rydgård
7558544183
Android: Add *.chd and *.CHD to allowed path patterns for shortcut/intents
2023-11-26 19:08:09 +01:00
Henrik Rydgård
1a19884769
Manage the Vulkan "EmuThread" from C++.
...
Preparation for a larger EmuThread refactoring.
2023-09-29 11:35:13 +02:00
Henrik Rydgård
0198f7c55d
Java/GL: Add null check for surface
2023-09-26 00:38:29 +02:00
Henrik Rydgård
0fd22ea3bb
Comment clarifications. Slightly extend renderlock use in shutdown.
2023-09-25 09:40:14 +02:00
Henrik Rydgård
8b9836afd3
SizeManager: Don't send notifySurface if paused. Cleaner exits / task switches in the log.
2023-09-25 00:32:37 +02:00
Henrik Rydgård
0013c6fede
Rename ensureRenderLoop -> startRenderLoopThread
2023-09-25 00:03:39 +02:00
Henrik Rydgård
2b0bbb1e0c
Remove isFinishing check in onDestroy - not relevant.
2023-09-25 00:03:39 +02:00
Henrik Rydgård
3264209772
Add some missing locking in KeyMap.cpp.
...
Plus minor assert change and java null check.
2023-09-24 12:33:01 +02:00
Henrik Rydgård
f83fb2325e
NativeActivity: null surface on exit, renderloopthread on exception
2023-09-21 16:42:00 +02:00
Henrik Rydgård
602407fcf2
Warning and comment fixes, logic precedence fixes in PPGeDraw
2023-09-21 16:41:42 +02:00
Henrik Rydgård
63cfe28f61
Implement color emoji support on Android
2023-08-06 15:14:29 +02:00
Henrik Rydgård
4221a09edf
Increase the max size of rendered text, for Android devices with insane resolutions.
2023-07-17 13:32:15 +02:00
Henrik Rydgård
2537f76277
UI: Add a basic FileChooserChoice view
2023-07-16 12:14:40 +02:00
Henrik Rydgård
306be6e33e
Android: Simplify handling of dialog requests even more.
...
To protect against disappearing activities or whatever is causing the
lost value, I could make it static, but instead I just pack the two
values together into the requestCode.
Will hopefully help the main issue from #17683
2023-07-15 19:02:12 +02:00
Henrik Rydgård
c363cccc58
Java dialog requests: Simplify handling, more unique error codes
2023-07-15 12:24:00 +02:00
Henrik Rydgård
63144340f5
First-boot memstick screen: Attempt to fix some logic holes
...
This handles some cases better that I don't really see how they can
happen, but who knows. Intended to help #17683
2023-07-12 11:29:24 +02:00
Henrik Rydgård
1d49c9e910
Android: Clean up some joystick checks
2023-07-07 10:45:54 +02:00
Henrik Rydgård and GitHub
16efa1d877
Merge pull request #17672 from hrydgard/android-show-exceptions
...
Android: Show some Java exceptions as they happen
2023-07-06 20:24:06 +02:00
Henrik Rydgård
bc35c3341f
Allow putting a user string in reported java exceptions
2023-07-06 19:21:19 +02:00
Henrik Rydgård
9d877106d7
Android: Report various exceptions that we catch to the user if they happen
...
This can let users help debug some obscure cases.
2023-07-06 19:06:27 +02:00
Henrik Rydgård and GitHub
e1060c80ff
Merge pull request #17671 from hrydgard/android-message-cleanup
...
Android string message cleanup
2023-07-06 19:06:14 +02:00
Henrik Rydgård
ac4506e389
Stop "messages from java" to leak out to NativeMessageReceived except where explicitly allowed
2023-07-06 17:13:04 +02:00
Henrik Rydgård
0151d877b3
Simplify the joystick checking java code a little
2023-07-06 15:03:43 +02:00
Henrik Rydgård
de96926d2e
Android input: Filter axis messages for duplicates. Assorted fixes and cleanup.
2023-07-06 12:29:27 +02:00
Henrik Rydgård
4f1be34f24
Revert "Remove the Android display resolution selector"
...
This reverts commit ea0eaa31e6 .
2023-05-17 09:37:15 +02:00
Henrik Rydgård
cf9a628a2e
AndroidContentURI: Move code from the header to cpp. Some assorted cleanup, add a unit test for Download paths
2023-05-16 16:08:51 +02:00
Henrik Rydgård
16fbb31a65
Add a null pointer check in NativeActivity
...
due to stack trace from #17364
2023-05-09 23:43:04 +02:00
Henrik Rydgård
9d98947a9d
Remove excessive camera preview framerate throttle
2023-04-16 10:21:53 +02:00
Henrik Rydgård
449d68a43d
Camera on Android: Choose the preview framerate closest to 30fps.
...
Might help #17283
2023-04-16 10:19:23 +02:00
Henrik Rydgård
ac47476253
And share_text, toast, recreate
2023-03-22 23:52:25 +01:00
Henrik Rydgård
2c9787643d
Move the twitter special-case URL handling to java
2023-03-22 23:52:25 +01:00
Henrik Rydgård
b7350f3cbf
Fix folder browser on Android and Windows
2023-03-22 19:25:35 +01:00
Henrik Rydgård
7718c06dd1
Port UWP file browser, fix UWP image browser
2023-03-22 15:36:14 +01:00
Henrik Rydgård
0403bbf084
Make the new image selection path work on Android as well.
2023-03-22 14:53:07 +01:00
Lubos
abf76bd212
OpenXR - One APK for both Pico and Quest
2023-02-08 17:26:36 +01:00
Henrik Rydgård
f38dd95368
Why not just schedule directly...
2023-01-12 12:24:45 +01:00
Henrik Rydgård
241d867ed7
Android: Take the key change from PR #16583 , updating display measurements form the right thread
2023-01-12 12:20:17 +01:00
Henrik Rydgård
ea0eaa31e6
Remove the Android display resolution selector
...
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.
Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård
07114c6aaf
Remove return value from axis functions in API
2023-01-10 10:12:37 +01:00
Henrik Rydgård
fdfc4cbe40
Android: Remove return value from touch event functions
2023-01-10 10:12:33 +01:00
Henrik Rydgård
bd6cdeb4ce
Remove "toast" message on failure in displayInit, not allowed from that thread.
2023-01-02 16:31:30 +01:00
Henrik Rydgård
463d703feb
More assorted cleanup
2022-12-29 00:39:59 +01:00
Henrik Rydgård
6927c44fba
Remove unused functions, log and comment fixes
2022-12-29 00:39:59 +01:00
Henrik Rydgård
31d5881c90
Enable support for Android Vulkan validation. Fix a minor validation error.
2022-12-22 11:13:52 +01:00