| Age | Commit message (Collapse) | Author |
|
Android Studio 2022.2 "Chipmunk" changes the code formatting rules a
little. Let's apply the new formatting in this PR so that the lint bot
doesn't take it out on innocent PRs.
|
|
Android: Modernize theming system
|
|
|
|
Create vector Wii and Gamecube icons and re-import default android icons as vector graphics. Scales better on a greater range of devices and takes up less space.
|
|
themes.xml now contains a collection of colors, attributes, and styles. No visuals have changed, but this will allow for a more flexible theming system in the future for custom day/night/etc themes. This also removes a bunch of redundant code that can now be written as global styles and inherited themes.
|
|
Should fix the crash reported in https://bugs.dolphin-emu.org/issues/12885
|
|
|
|
Android: Only use getActionIndex for ACTION_POINTER_DOWN/ACTION_POINTER_UP
|
|
Android: Actually use a thread for DirectoryInitialization
|
|
Android: Fix displaying the current value of double tap setting
|
|
Android: Implement expand display cutout option.
|
|
The currentValue variable doesn't use InputOverlay.OVERLAY_
constants, it uses NativeLibrary.ButtonType constants.
Sigh, why do enums have to be so bad on Android that Google
recommends against using them :(
Anyway, simply not doing anything is a reasonable option here.
What happens then is that if the currently selected button is
invalid for the current controller, none of the available options
in the dialog will be pre-selected.
|
|
|
|
Some ROMs don't have fullscreen feature, for example Pixel Experience, so have a option for that is better. Also you don't need put the app on fullscreen anymore with that.
|
|
|
|
Trying to change it while a game is running does nothing.
DolphinQt already inactivates it while a game is running.
|
|
|
|
According to the documentation, getActionIndex should only be
used with ACTION_POINTER_DOWN and ACTION_POINTER_UP. We've had a
few crashes reported in the Play Console regarding invalid pointer
indices for getY, and I'm hoping this will help with that.
|
|
`((Runnable) () -> init(context)).run()` is just a more complicated way
of writing `init(context)`, and doesn't on its own launch a thread.
|
|
Use config changed callback to detect SD insertion/ejection
|
|
|
|
This saves the GUI from having to manually call SDIO_EventNotify.
With that out of the way, we can let users change the
"Insert SD Card" setting on Android while a game is running.
|
|
The only settings that were using LegacyIntSetting are now in the new
config system, so there's no reason to have LegacyIntSetting anymore.
|
|
There is a Load path setting, so the Load part can't just be hardcoded.
|
|
|
|
Android: Fix path traversal when importing user data
|
|
|
|
I think users will have a hard time figuring out where to place
texture packs and Riivolution mods and so on without this.
|
|
Android: Add import/export options for user data
|
|
Apparently there are phones where accessing Dolphin's app-specific
directory isn't just annoyingly hard but actually impossible.
To give users of those phones at least some kind of way to manage
their data (even if it's a lot less convenient than if we were
allowed to let the user open the app-specific directory in a
file manager), I'm adding a way to export the directory to a
zip file and then import it back.
|
|
Android: Add some missing license comments
|
|
Android: improve app design
|
|
Android: add two QoL settings to IR pointer
|
|
|
|
* Disabled: disables the overlay pointer
* Follow: default behaviour, IR pointer follows touch position
* Drag: IR pointer moves relative to the initial touch event position
|
|
I missed this in code review.
|
|
Android: Add online system update functionality
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Android: Make Main.Debug setting declarations match C++
|
|
Android: Don't divide SI device by 6
|
|
It's a complete coincidence that both SIDEVICE_GC_CONTROLLER (6)
and SIDEVICE_WIIU_ADAPTER (12) are divisible by 6. Dividing
by 6 because of that doesn't make sense, especially not if we
want to add support for more kinds of SI devices on Android later.
|
|
|
|
No functional difference. Just making sure that the settings
have the same name in Java as in C++ so that they're easy to
cross-reference.
|