summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java/org
AgeCommit message (Collapse)Author
2020-09-08Android: Use Back to open the emulation menu on all devicesJosJuice
https://bugs.dolphin-emu.org/issues/12029 We currently have one way of opening the menu on touch screen devices (swiping down from the top of the screen to bring up the action bar and selecting the menu in the action bar), and another way of opening the menu on Android TV (pressing Back). However, some devices that claim to support touch (or don't support leanback? Dolphin currently conflates the two) don't actually let you swipe down from the top of the screen in the way that Dolphin expects, notably Chromebooks. There are also some phones where you can swipe down from the top of the screen but this for some reason doesn't lead to the action bar becoming visible, though we are getting less reports about this nowadays than in the past. This change makes us use the Back method on all devices, since it should work on all devices with no significant drawbacks. Unfortunately, we not only have two different ways of triggering the menu but actually two entirely different menus, with the non-touch menu not implementing options that only are revelant when using a touch screen. A later commit will add the missing features to the menu that we now use on all devices.
2020-09-08Merge pull request #9067 from Ebola16/Fixes4LC
Android: Optimize imports
2020-09-08Android: Remove calling create immediately before showRyan Meredith
2020-09-08Android: Remove unnecessary getString callsRyan Meredith
2020-09-08Android: Optimize importsRyan Meredith
2020-09-07Merge pull request #9062 from JosJuice/android-dir-init-fail-messageLC
Android: Optional AfterDirectoryInitializationRunner failure message
2020-09-07Merge pull request #9064 from JosJuice/android-filepicker-normalLC
Android: Make FilePicker act like a normal setting
2020-09-06Merge pull request #8943 from JosJuice/android-horizontal-wiimote-buttonsJMC47
Android: Fix saving Horizonal Wii Remote overlay A/B/1/2 positions
2020-09-06Android: Make FilePicker act like a normal settingJosJuice
The reason why the finish() call was added no longer exists. (Also, there was never a duplicate SettingsActivity as far as I can tell, only a duplicate SettingsFragment.)
2020-09-06Android: Create separate InvertedCheckBoxSetting and PercentSliderSetting ↵JosJuice
classes This way we don't have to hardcode any keys inside the classes.
2020-09-06Android: Replace Java INI parser with C++ INI parserJosJuice
Fixes https://bugs.dolphin-emu.org/issues/12096.
2020-09-06Android: Expose a proper interface for C++ IniFile classJosJuice
Replaces the inflexible INI functions in NativeLibrary.
2020-09-06Android: Optional AfterDirectoryInitializationRunner failure messageJosJuice
This centralizes the code for showing the write_permission_needed and external_storage_not_mounted toasts.
2020-09-01Merge pull request #9042 from Ebola16/FPLC
Android: Minor cleanup
2020-09-01Merge pull request #9052 from Ebola16/GCATLC
Android: Better GCAdapter scanning thread management
2020-08-31Android: Remove unused filesRyan Meredith
2020-08-31Android: Minor cleanup 2Ryan Meredith
2020-08-31Android: Minor cleanupRyan Meredith
2020-08-27Android: Better GCAdapter scanning thread managementRyan Meredith
2020-08-21Android: Prevent getSetting ClassCastExceptions in ItemViewsRyan Meredith
2020-08-17Merge pull request #9024 from JosJuice/android-wiimote-falseLC
Android: Fix defaults for WiimoteContinuousScanning/EnableSpeaker
2020-08-17Android: Take RTL layout into account for menu animationsJosJuice
2020-08-11Android: Fix defaults for WiimoteContinuousScanning/EnableSpeakerJosJuice
The default values need to match the default values defined in C++.
2020-08-09Android: Rewrite GetRenderSurfaceScale in JavaJosJuice
Long sequences of JNI calls are both hard to read and slow.
2020-08-06Merge pull request #9009 from JosJuice/android-settings-recreationLC
Android: Fix SettingsActivity lifecycle management
2020-08-06Merge pull request #9010 from JosJuice/android-settingsadapter-redundant-staticLC
Android: Remove some static variables from SettingsAdapter
2020-08-05Android: Fix SettingsActivity back stack behavior after stop+startJosJuice
Fixes the behavior where the settings activity would go back to the top-level menu after switching to a different app and back.
2020-08-05Android: Persist Settings using ViewModelJosJuice
Just for maintainability. This is a shorter and more standard solution compared to our current one where the Fragment persists the Settings and passes it to the Activity.
2020-08-05Android: Remove some static variables from SettingsAdapterJosJuice
All of these have non-static equivalents (mView and mClickedItem).
2020-08-05Android: Properly restore state of SettingsActivityPresenterJosJuice
Fixes https://bugs.dolphin-emu.org/issues/10815
2020-08-02Merge pull request #8966 from Ebola16/WPJosJuice
Android: Clear game profiles and GameSettings
2020-08-02Merge pull request #8978 from Ebola16/RSJosJuice
Android: Settings and Emulation activities skip (Tv)MainActivity library rescan
2020-08-02Merge pull request #7252 from Ebola16/LogJosJuice
Android: Add Log Configuration to UI
2020-08-02Merge pull request #8858 from Ebola16/PUPJosJuice
Android: Add Pause / Unpause Emulation Toggle
2020-07-29Android: Add Pause / Unpause Emulation ToggleRyan Meredith
2020-07-29Android: Remove touchscreen check for rumbleJosJuice
That a device doesn't have a touchscreen doesn't necessarily mean that it doesn't support rumble (though it is usually the case). setPhoneVibrator already contains a check for whether the device supports rumble, so we can simply remove the touchscreen check.
2020-07-24Android: Add Log Configuration to UIRyan Meredith
2020-07-24Android: Clear game profiles and GameSettingsRyan Meredith
2020-07-24Android: Settings and Emulation activities skip (Tv)MainActivity library rescanRyan Meredith
2020-07-20Android: Remove hacks for Wii Remote extension and video backend settingsJosJuice
2020-07-12Android: Use system cache directory as cache directoryJosJuice
This lets Android automatically delete data in the cache directory when the device is running low on space or when Dolphin is uninstalled.
2020-07-08Android: Fix saving Horizonal Wii Remote overlay A/B/1/2 positionsJosJuice
saveControlPosition was not applying the _H part of the key.
2020-07-08Merge pull request #8907 from JosJuice/android-overlay-stick-gateLC
Android: Use octagonal stick gate in overlay
2020-06-29Android: Don't use square stick calibrationJosJuice
This essentially reverts d9c78d5. Thanks to the previous commit, the touch controls issue which was fixed by d9c78d5 is still fixed. The behavior for gamepads is reverted, bringing back the ability to run diagonally in games that had trouble with it after d9c78d5.
2020-06-29Android: Enfore correct stick gate in overlayJosJuice
Currently, the touch controller overlay uses a square gate for sticks. This commit changes that so that it instead uses the stick gate configured in the INI, which ensures that the values sent to the core are appropriately scaled regardless of what is configured in the INI and makes the overlay look nicer if the INI is set to a stick gate that matches the graphics.
2020-06-28Android: Fix button ID typoJosJuice
Probably didn't actually break anything in practice due to how the code for sticks works, but still.
2020-06-25Merge pull request #8891 from JosJuice/file-detailsTilka
Show file format details in game properties
2020-06-21Show file format details in game propertiesJosJuice
2020-06-21Merge pull request #8803 from Ebola16/ANDROIDJosJuice
Android: Android INI section and make platform tab selection an INI setting
2020-06-21Merge pull request #8739 from Ebola16/GCOVERLAYJosJuice
Android: Separate GameCube overlay refresh logic