summaryrefslogtreecommitdiffstats
path: root/platform/android/java/lib
Commit message (Collapse)AuthorAgeFilesLines
* One Copyright Update to rule them allRémi Verschelde2023-01-0547-1363/+1363
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Merge pull request #69990 from exoticorn/fix-android-touch-inputFredia Huya-Kouadio2022-12-141-1/+1
|\ | | | | Fix ambiguous touch input events on Android
| * handle ambiguous input events as touch eventsDennis Ranke2022-12-121-1/+1
| | | | | | | | there can be events can have both SOURCE_TOUCHSCREEN and SOURCE_STYLUS. handle them as touch events rather than mouse events.
* | Rename all gdnative occurences to gdextensionGilles Roudière2022-12-122-18/+18
|/ | | | | | | | | | | | | Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
* Use system fonts as fallback and improve system font handling.bruvzg2022-12-041-0/+5
| | | | | | | Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
* Enable GLES3 on Androidclayjohn2022-11-293-15/+12
| | | | | | | | | | Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
* Add missing display server overridesFredia Huya-Kouadio2022-11-275-3/+99
| | | | Improves the base functionality for the Android platform and helps reduce the amount of spurious error logs emitted.
* Fix parsing of the `keep_screen_on` display settingFredia Huya-Kouadio2022-11-171-1/+1
|
* Android: Fix parsing `keep_screen_on` settingRémi Verschelde2022-11-171-1/+1
| | | | | | | | Boolean stringification changed in Godot 4.0. Fixes #67034. Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
* Upgrade Android gradle plugin to version 7.2.1Fredia Huya-Kouadio2022-11-102-10/+6
|
* Small set of fixes to the input logicFredia Huya-Kouadio2022-11-073-37/+31
|
* Add double_tap attribute to InputEventScreenTouchFredia Huya-Kouadio2022-10-223-33/+20
| | | | This provides parity with the `InputEventMouseButton` allowing for proper conversion between the two events.
* Merge pull request #66946 from m4gr3d/cursor_shape_logic_cleanup_mainFredia Huya-Kouadio2022-10-052-8/+12
|\ | | | | Cleanup of the Android cursor shape logic
| * Cleanup of the Android cursor shape logicFredia Huya-Kouadio2022-10-052-8/+12
| |
* | Merge pull request #66941 from winterpixelgames/bugfix-android-null-input-eventFredia Huya-Kouadio2022-10-051-1/+1
|\ \ | |/ |/| Fix null in android keyboard handling.
| * Fix null in android keyboard handling.Jason Knight2022-10-051-1/+1
| |
* | Fix the gradle build configuration for the Android platform following ↵Fredia Huya-Kouadio2022-10-051-11/+20
|/ | | | https://github.com/godotengine/godot/pull/66242
* Split rendering driver project setting into renderer_name and ↵clayjohn2022-09-191-4/+4
| | | | rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
* Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_mainRémi Verschelde2022-09-083-8/+33
|\ | | | | | | Fix issue causing the project manager to crash because of missing path argument
| * Fix issue causing the project manager to crash because of missing path argumentFredia Huya-Kouadio2022-09-073-8/+33
| | | | | | | | In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
* | Enable long press, pan and scale gestures for the Godot Android EditorFredia Huya-Kouadio2022-09-071-1/+1
| | | | | | | | Fix the bug causing the editor to crash when running the project.
* | Cleanup the Android input logic implementationFredia Huya-Kouadio2022-09-076-215/+521
|/
* Unify bits, arch, and android_arch into env["arch"]Aaron Franke2022-08-251-1/+1
| | | | | | Fully removes the `bits` option and adapts the code that relied on it. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Fix issue preventing the Android Editor from displaying the project contentFredia Huya-Kouadio2022-08-152-6/+7
| | | | | The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached. This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.
* Merge pull request #62885 from madmiraal/fix-59931Rémi Verschelde2022-08-083-20/+21
|\
| * Fix incorrect Android scancodesMarcel Admiraal2022-07-133-20/+21
| |
* | Add support for multiple virtual keyboard typesBrian Semrau2022-08-043-11/+47
| |
* | Address remaining scoped storage regressionsFredia Huya-Kouadio2022-07-264-31/+33
|/ | | | | - Accelerate common path used to check the storage scope for a given path - Update the logic for the `get_as_text()` method - previous logic loads the content of a text file one byte at a time
* Add full support for Android scoped storage.Fredia Huya-Kouadio2022-07-0514-121/+1668
| | | | | This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer. This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
* Merge pull request #62289 from madmiraal/fix-61816Fredia Huya-Kouadio2022-06-252-14/+0
|\ | | | | Remove broken scroll gesture on Android
| * Remove broken scroll gesture on AndroidMarcel Admiraal2022-06-212-14/+0
| |
* | Update android:targetSdkVersion from 30 to 31Gustavo Maciel2022-06-231-1/+1
|/ | | | | | Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes. Read more here: https://developer.android.com/google/play/requirements/target-sdk
* Ensure joystick has been added or not already removed when processing inputMarcel Admiraal2022-06-161-0/+3
|
* Merge pull request #61579 from madmiraal/android-kotlin-java-versionRémi Verschelde2022-06-011-2/+8
|\ | | | | Ensure Android Java and Kotlin compile to the same version
| * Ensure Android Java and Kotlin compile to the same versionMarcel Admiraal2022-06-011-2/+8
| |
* | Misc editor tweaks and polishes:Fredia Huya-Kouadio2022-05-311-3/+21
|/ | | | | | - Using a bucketized approach to select the editor scale in order to avoid too high values - Add default app dimensions: used on Android devices with free floating app windows to set the default app frame - Add ability to launch the Game window in an adjacent frame when in multi window mode
* Merge pull request #61333 from m4gr3d/fix_restart_logic_mainRémi Verschelde2022-05-234-68/+156
|\
| * Fix the logic to restart the Godot applicationFredia Huya-Kouadio2022-05-234-68/+156
| |
* | Remove duplicate Android sensor listener registrationsMarcel Admiraal2022-05-231-4/+0
|/
* Fix screen_get_usable_rect returning display safe areaMarcel Admiraal2022-05-021-1/+1
|
* Merge pull request #60551 from madmiraal/implement-3466Rémi Verschelde2022-05-021-0/+21
|\ | | | | Add a method for obtaining display cutouts on Android
| * Add a method for obtaining display cutouts on AndroidMarcel Admiraal2022-04-261-0/+21
| |
* | Merge pull request #60563 from madmiraal/fix-60562Rémi Verschelde2022-04-291-8/+7
|\ \
| * | Check for null when retrieving clip data item text on AndroidMarcel Admiraal2022-04-271-8/+7
| |/
* / Implement text-to-speech support on Android, iOS, HTML5, Linux, macOS and ↵bruvzg2022-04-284-0/+361
|/ | | | | | Windows. Implement TextServer word break method.
* Merge pull request #60433 from madmiraal/remove-superfluous-null-checkRémi Verschelde2022-04-251-4/+0
|\ | | | | Remove superfluous null check
| * Remove superfluous null checkMarcel Admiraal2022-04-221-4/+0
| |
* | Merge pull request #60457 from madmiraal/replace-index-iteratorsRémi Verschelde2022-04-252-5/+4
|\ \ | | | | | | Replace index iterators with for each loops.
| * | Replace index iterators with for each loops.Marcel Admiraal2022-04-232-5/+4
| |/
* | Merge pull request #60441 from madmiraal/remove-superfluous-inputmanagerRémi Verschelde2022-04-253-240/+5
|\ \ | | | | | | Remove superfluous Android InputManager interface and implementation