summaryrefslogtreecommitdiff
path: root/Source/Android
AgeCommit message (Collapse)Author
2020-09-08Android: Ensure menu is always wide enoughJosJuice
25% of the screen isn't necessarily wide enough on phones, especially not in portrait mode.
2020-09-08Android: Close the menu when tapping outside of itJosJuice
2020-09-08Android: Don't hide the menu when pressing ExitJosJuice
Removing the menu for a split second before showing the transition back to the main activity looks janky.
2020-09-08Android: Remove inappropriate leanback checksJosJuice
Android TV devices aren't the only devices without touchscreens. Regarding MotionAlertDialog, I could've replaced the leanback check with a touchscreen check instead of just removing it, but I thought there was no reason to prevent people with touchscreens from doing a long back press if they want to.
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-08Android: Update code-style-java for androidx filesRyan 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-31Android: res 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-28Android: Set preferMinimalPostProcessing="true"JosJuice
When using the combination of Android 11 and HDMI 2.1, this will send a signal to the TV suggesting it to switch to a low latency mode ("game mode").
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-22Android: Some simple Clang-Tidy suggestionsRyan Meredith
2020-07-20Android: Remove hacks for Wii Remote extension and video backend settingsJosJuice
2020-07-18Merge pull request #8905 from JosJuice/jni-encodingLC
Android: Use correct encoding when converting strings
2020-07-14Merge pull request #8953 from JosJuice/android-target-sdk-29LC
Android: Increase targetSdkVersion to 29