summaryrefslogtreecommitdiffstats
path: root/platform/android/java/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #38309 from SkyLucilfer/AndroidLineEditRémi Verschelde2020-05-203-14/+39
|\ | | | | Fix Android LineEdit editing bugs
| * Fix Android LineEdit editing bugsSkyJJ2020-05-163-14/+39
| |
* | Implementation of the Godot Android Plugin configuration fileFredia Huya-Kouadio2020-05-171-3/+8
|/
* Merge pull request #37924 from thebestnom/migrate-to-androidXRémi Verschelde2020-05-166-13/+16
|\ | | | | Android: Migrate deprecated support library to AndroidX
| * Android: Migrate deprecated support library to AndroidXthebestnom2020-05-106-13/+16
| |
* | Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-1425-87/+0
|/ | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Style: clang-format: Disable AllowShortIfStatementsOnASingleLineRémi Verschelde2020-05-101-1/+2
| | | | | | | Part of #33027, also discussed in #29848. Enforcing the use of brackets even on single line statements would be preferred, but `clang-format` doesn't have this functionality yet.
* Style: Add missing copyright headersRémi Verschelde2020-05-101-2/+2
|
* clang-format: Add JavaImportGroups for Java codeRémi Verschelde2020-05-0626-38/+80
|
* Address `OS.request_permissions()` bug when non-platform permission(s) is ↵Fredia Huya-Kouadio2020-05-051-4/+7
| | | | included
* Fix Android templates size regressionFredia Huya-Kouadio2020-04-231-1/+3
| | | | | The issue was caused by PR #36906 which changes prevented the generated shared libraries from being stripped. Since the change is only needed for development (debugging) purposes, it's commented out by default.
* Migrate legacy apache dependency to the GodotPayment pluginfhuya2020-04-154-382/+0
| | | | This is the only location in the codebase where it's being used, so no need to make the main lib have a dependency on it.
* Delete unused drawable resources.fhuya2020-04-134-0/+0
|
* Add signal support to Godot Android plugin:fhuya2020-04-102-1/+182
| | | | Supports registering and emitting signal from a Godot Android plugin
* Display Server supportPouleyKetchoupp2020-04-081-36/+4
|
* Vulkan rendering for AndroidPouleyKetchoupp2020-04-0316-113/+348
|
* Fix copyright headers for recently added filesRémi Verschelde2020-03-282-4/+4
|
* Make file formatting comply with POSIX and Unix standardsAaron Franke2020-03-211-1/+1
| | | | UTF-8, LF, no BOM, and newlines at the end of files
* Update the naming scheme for the GodotPlugin's methods in preparate of the ↵fhuya2020-03-192-17/+33
| | | | vulkan integration.
* Complete the implementation of the GodotPayment plugin.fhuya2020-03-1710-1492/+3
| | | | Move the remaining plugin components within the plugin source code.
* Merge pull request #36906 from m4gr3d/enable_android_studio_debuggingRémi Verschelde2020-03-171-1/+2
|\ | | | | Enable Android Studio debugging
| * Enable Android studio debugger.fhuya2020-03-081-1/+2
| |
* | Fix text_entered signal when max_length is used in LineEdit on AndroidPouleyKetchoupp2020-03-131-3/+13
|/ | | | Fixes #35954
* Trim the whitespace around the plugins names.fhuya2020-03-061-2/+5
|
* Re-architecture of the Godot Android plugin.fhuya2020-03-0510-408/+659
|
* Provides a base implementation of the Vulkan surface view (VkSurfaceView.kt) ↵fhuya2020-03-054-0/+466
| | | | | | and its accompanying components. The implementation is meant to be extended and updated in order to integrate it with the existing Godot java and native codebase.
* Rename `scancode` to `keycode`.bruvzg2020-02-254-11/+13
| | | | | Add `physical_keycode` (keyboard layout independent keycodes) to InputEventKey and InputMap. Fix non-latin keyboard layout keycodes on Linux/X11 (fallback to physical keycodes).
* Remove obsolete GLES3 backendRémi Verschelde2020-02-135-28/+10
| | | | | | | | | | | | | | Due to the port to Vulkan and complete redesign of the rendering backend, the `drivers/gles3` code is no longer usable in this state and is not planned to be ported to the new architecture. The GLES2 backend is kept (while still disabled and non-working) as it will eventually be ported to serve as the low-end renderer for Godot 4.0. Some GLES3 features might be selectively ported to the updated GLES2 backend if there's a need for them, and extensions we can use for that. So long, OpenGL driver bugs!
* Fixed LineEdit virtual keyboard inputs on AndroidPouleyKetchoupp2020-01-311-1/+1
| | | | Changed the condition to add a length filter to make it consistent with the documentation (0 means no character limit). Otherwise the default value in LineEdit causes the virtual keyboard to be non-fonctional on Android.
* Address crash caused by missing dependency.fhuya2020-01-271-1/+1
|
* Address crash caused by missing dependency.fhuya2020-01-271-1/+1
|
* Android virtual keyboard respecting LineEdit max length.Bruno Lourenço2020-01-232-3/+16
|
* Add support for Android adaptive icons.Bruno Lourenço2020-01-1421-1/+6
|
* fixes android double tap regressionAlexander Holland2020-01-132-2/+2
|
* Fixes Android FileDialogAlexander Holland2020-01-103-0/+121
| | | | | | - Go up was not working, simplify was used one time too much - Added GestureHandler - Added doubleTap to recognize open dir - Fixed scroll where sometimes the scroll jumped between start and end when pointer was outside or on the edge of the scroll area
* Update copyright statements to 2020Rémi Verschelde2020-01-0135-70/+70
| | | | | | | | | | | Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
* i18n: Sync translations with Weblate + update templateRémi Verschelde2019-12-221-1/+0
| | | | | Also fix a few stray clang-format formatting errors that passed through CI unnoticed.
* Fix crash on Android with no manifest permissions.Fabio Alessandrelli2019-12-171-3/+5
| | | | | API allows for null array of permissions. It is now normalized with an empty array.
* Add GodotNetUtils Java class for Android.Fabio Alessandrelli2019-12-143-0/+105
| | | | | | | Provides access to a MulticastLock. As specified by the Android API, broadcast/multicast packets may be filtered on some phones unless the application explicitly acquires a "MulticastLock".
* Style: Add missing copyright headersRémi Verschelde2019-11-221-0/+30
|
* Add request permission automatically at androidCagdas2019-10-222-29/+165
|
* Merge pull request #32858 from m4gr3d/expand_singleton_base_apiRémi Verschelde2019-10-221-0/+34
|\ | | | | Add `View SingletonBase#onMainCreateView(Activity activity)` api
| * Add `View onMainCreateView(Activity activity)` api to the ↵Fredia Huya-Kouadio2019-10-181-0/+34
| | | | | | | | | | | | `Godot.SingletonBase` class. The new api allows plugins to define and provide their views for inclusion in the Godot Android view hierarchy.
* | Optimize images losslessly using `oxipng -o6 --strip all --zopfli`Hugo Locurcio2019-10-123-0/+0
|/
* Adds Pen support for AndroidAlexander Holland2019-10-042-1/+17
|
* Merge pull request #32269 from m4gr3d/improve_build_timeRémi Verschelde2019-09-241-19/+10
|\ | | | | Update the Godot gradle build tasks to provide additional flexibility
| * Updates the Godot gradle tasks to enable manual runs of the `scons` command.fhuya2019-09-241-19/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Example: To generate for the `release` build target and for the `armv7`, `arm64v8` and `x86` architectures, run the commands: ``` cd godot scons -j4 platform=android target=release android_arch=armv7 scons -j4 platform=android target=release android_arch=arm64v8 scons -j4 platform=android target=release android_arch=x86 cd platform/android/java ./gradlew generateGodotTemplates ``` Notes: - The generated build templates will be located in the `godot/bin` directory (i.e: `android_debug.apk`, `android_release.apk`, `android_source.zip`). - The gradle command will only generate templates for the target(s) with available native shared libraries. For example, running the commands above will only generate the `android_release.apk` and `android_source.zip` files. To delete the generated artifacts, the following commands can be used: ``` cd platform/android/java ./gradlew cleanGodotTemplates ```
* | Merge pull request #32250 from lawnjelly/android-keyboard2Rémi Verschelde2019-09-231-4/+2
|\ \ | |/ |/| Fix Android keyboard crash with left cursor
| * Fix Android keyboard crash with left cursorlawnjelly2019-09-231-4/+2
| | | | | | | | | | | | | | Fixes #32168. Previously we were returning all key up and key down messages as unhandled to the OS. This was resulting in crashes on certain keypresses (left cursor), for undetermined reason. This PR defaults all key up and keydown messages to be returned as handled by Godot, except those explicitly coded as exceptions (currently volume keys only).
* | Add new events and accompanying logic to notify when the app is paused and ↵fhuya2019-09-194-15/+63
|/ | | | resumed on Android devices.