summaryrefslogtreecommitdiffstats
path: root/platform/android/java
Commit message (Collapse)AuthorAgeFilesLines
* One Copyright Update to rule them allRémi Verschelde2023-01-0551-1479/+1479
| | | | | | | | | | | | | | | | | | | | 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 #63483 from qianjunakasumi/qianjunakasumi/masterRémi Verschelde2023-01-031-0/+1
|\ | | | | | | Introduce `appCategory` attribute of android to set category
| * Introduce `appCategory` attribute of android to set category千橘 雫霞2023-01-011-0/+1
| |
* | Add boot splash for the Godot Android EditorFredia Huya-Kouadio2022-12-162-5/+8
| |
* | 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.
* | Updating the minimum Android target api for proper Vulkan supportFredia Huya-Kouadio2022-11-302-4/+7
| |
* | Enable GLES3 on Androidclayjohn2022-11-296-18/+15
| | | | | | | | | | | | | | | | | | | | 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>
* | Fix 'save & restart' logic for the Android EditorFredia Huya-Kouadio2022-11-161-3/+16
| |
* | Upgrade Android gradle plugin to version 7.2.1Fredia Huya-Kouadio2022-11-104-15/+11
| |
* | 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.
* | Delete Android godot-lib with the old naming schemeFredia Huya-Kouadio2022-10-181-3/+9
| | | | | | | | Update the `clean` task configuration: running `gradlew clean` will now properly delete the generated build artifacts
* | 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-052-35/+39
|/ / | | | | | | 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).
* | Exclude small screens from the set of supported devices.Fredia Huya-Kouadio2022-09-121-1/+1
| |
* | Update the versioning logic for the Godot Android EditorFredia Huya-Kouadio2022-09-122-5/+44
| | | | | | | | This is necessary to separate subsequent uploads to the Google Play store as each upload needs to increment the version code.
* | 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-073-1/+21
| | | | | | | | | | | | 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-252-3/+3
| | | | | | | | | | | | 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-0519-129/+1731
| | | | | 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 #61691 from madmiraal/android-ndk-23Rémi Verschelde2022-06-261-1/+1
|\ | | | | Upgrade Android NDK to r23 LTS
| * Upgrade Android NDK to r23 LTSMarcel Admiraal2022-06-251-1/+1
| |
* | 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-234-2/+5
|/ | | | | | 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
|
* Migrate the Godot Editor java source file to Kotlin.Fredia Huya-Kouadio2022-06-093-85/+77
|
* Merge pull request #61579 from madmiraal/android-kotlin-java-versionRémi Verschelde2022-06-018-12/+69
|\ | | | | Ensure Android Java and Kotlin compile to the same version
| * Ensure Android Java and Kotlin compile to the same versionMarcel Admiraal2022-06-018-12/+69
| |
* | Misc editor tweaks and polishes:Fredia Huya-Kouadio2022-05-316-5/+64
|/ | | | | | - 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
* Only use Android fullscreen theme for splash screenMarcel Admiraal2022-05-271-2/+2
|
* 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
| |