godot/platform/android
Pedro J. Estébanez 45c2a7159e Switch to input buffering on Android
Key, touch and joystick events will be passed directly from the UI thread to Godot, so they can benefit from agile input flushing.

As another consequence of this new way of passing events, less Java object are created at runtime (`Runnable`), which is good since the garbage collector needs to run less.

`AndroidInputHandler` is introduced to have a smaller cross-thread surface. `main_loop_request_go_back()` is removed in favor just inline calling `notification()` on the `MainLoop` at the most caller's convenience.

Lastly, `get_mouse_position()` and `get_mouse_button_state()` now just call through `InputDefault` to avoid the need of sync of mouse data tracked on the UI thread.
2021-08-08 13:41:27 +02:00
..
api Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
export Make progress and errors translatable when exporting to Android 2021-08-01 17:15:56 +08:00
java Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
plugin Style: Cleanup uses of double spaces between words 2021-06-07 12:06:59 +02:00
android_input_handler.cpp Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
android_input_handler.h Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
android_keys_utils.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
android_keys_utils.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
audio_driver_opensl.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
audio_driver_opensl.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
detect.py Android: Remove -fno-integrated-as, it can break arm64v8 build 2021-05-19 19:48:36 +02:00
dir_access_jandroid.cpp Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
dir_access_jandroid.h Add symlink API to the DirAccess (on macOS and Linux). 2021-05-22 17:36:16 +03:00
file_access_android.cpp Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
file_access_android.h Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
java_class_wrapper.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
java_godot_io_wrapper.cpp Add OS.get_external_data_dir() to get Android external directory 2021-06-10 16:48:37 +01:00
java_godot_io_wrapper.h Add OS.get_external_data_dir() to get Android external directory 2021-06-10 16:48:37 +01:00
java_godot_lib_jni.cpp Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
java_godot_lib_jni.h Remove unused AudioDriverAndroid from Android 2021-06-10 08:31:23 +01:00
java_godot_wrapper.cpp Fixes on android: 2021-04-06 22:02:10 +02:00
java_godot_wrapper.h Leverage java annotations to simplify the logic used to register the Godot plugin methods. 2021-03-16 01:20:43 -07:00
jni_utils.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
jni_utils.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
logo.png platform: Update metadata for export platforms 2020-08-14 00:32:05 +02:00
net_socket_android.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
net_socket_android.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
os_android.cpp Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
os_android.h Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_android.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_android.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
run_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
SCsub Switch to input buffering on Android 2021-08-08 13:41:27 +02:00
string_android.h Modernize Thread 2021-02-18 11:58:08 +01:00
thread_jandroid.cpp Fixes on android: 2021-04-06 22:02:10 +02:00
thread_jandroid.h Modernize Thread 2021-02-18 11:58:08 +01:00