summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
AgeCommit message (Collapse)Author
2022-11-16Merge pull request #11254 from t895/adaptive-gridJosJuice
Android: Dynamically adapt grid span to card_game size
2022-11-16Merge pull request #11256 from t895/animate-focus-changeJosJuice
Android: Animate covers on focus change
2022-11-15Merge pull request #11255 from JosJuice/disable-sd-convertAdmiral H. Curtiss
Disable SD card conversion while emulation is running
2022-11-13Android: Dynamically adapt grid span to card_game sizeCharles Lombardo
In order to avoid getting stuck making a new dimension file every time a new device is found we take a known value for how large the game card will be, take the screen size, and adjust the grid accordingly.
2022-11-13Merge pull request #11272 from t895/tv-update-fixJosJuice
Android: Use progress bar that does not inherit from AppCompat on leanback
2022-11-13Android: Use progress bar that does not inherit from AppCompat on leanbackCharles Lombardo
2022-11-13Merge pull request #11248 from t895/offload-unmangleJosJuice
Android: Offload cover path unmangling to another thread
2022-11-11Android: Use smooth keyboard animation in cheats activityCharles Lombardo
2022-11-10Android: Change system update dialog title/message when cancellingCharles Lombardo
2022-11-06Android: Animate covers on focus changeCharles Lombardo
Co-Authored-By: JosJuice <josjuice@gmail.com>
2022-11-06Android: Disable SD card conversion while emulation is runningJosJuice
2022-11-04Android: Offload cover path unmangling to another threadCharles Lombardo
2022-10-29Merge pull request #11092 from t895/view-bindingJosJuice
Android: Use view binding
2022-10-29Android: Use view bindingCharles Lombardo
2022-10-23Android: Use androidx preference managerCharles Lombardo
2022-10-23Merge pull request #11079 from t895/system-windowsJosJuice
Android: Do not fit system windows
2022-10-23Android: Do not fit system windowsCharles Lombardo
2022-10-23Merge pull request #11196 from JosJuice/android-vs-lines-points-settingJMC47
Android: Add "Prefer VS for Point/Line Expansion" to GUI
2022-10-23Merge pull request #11163 from t895/convert-layoutJosJuice
Android: Replace spinners with dropdown menus
2022-10-23Android: Replace spinners with dropdown menusCharles Lombardo
2022-10-23Android: Add "Prefer VS for Point/Line Expansion" to GUIJosJuice
This adds PR 10890's new setting to the Android GUI. I'm curious to see if any Android users might get a performance improvement from it. Due to how our settings work on Android, I haven't implemented disabling the checkbox when the graphics backend doesn't support both GS and VS for point/line expansion, but I don't think that's critical to have.
2022-10-22Show vWii System Menu version in Menu BarGaryOderNichts
2022-10-08Merge pull request #11095 from K0bin/misc-vulkanAdmiral H. Curtiss
Remove special treatment for Android in video settings
2022-10-03Android: Use input override system for touch controlsJosJuice
This is the first step of getting rid of the controller indirection on Android. (Needing a way for touch controls to provide input to the emulator core is the reason why the controller indirection exists to begin with as far as I understand it.)
2022-10-01VideoCommon: Remove special treatment for Android in video settingsRobin Kertels
2022-09-29Merge pull request #11088 from JosJuice/uicommon-set-enable-alertMai
Move a SetEnableAlert call to UICommon
2022-09-29Merge pull request #11097 from JosJuice/android-launch-wii-menu-checkMai
Android: Improve checking in MainPresenter.launchWiiSystemMenu
2022-09-27Android: Remove unnecessary Context parametersJosJuice
2022-09-27Android: Use synchronized methods for GameFileCacheJosJuice
Compared to the previous solution of using big `synchronized` blocks, this makes GameFileCacheManager's executor thread release and re-lock the lock when possible, giving the GUI thread a chance to do a (comparatively) quick getOrAdd call if it needs to.
2022-09-27Revert "Android: Don't hold gameFileCache lock during updateAdditionalMetadata"JosJuice
This reverts commit fb265b610de08df5509e56beeb3dbff68f7d4396. The optimization in that commit is safe when the executor thread is writing and the GUI thread is reading, but I had failed to take into account that it's unsafe when the GUI thread is writing and the executor thread is reading. (The native UpdateAdditionalMetadata function loops through m_cached_files, which is unsafe if another thread is adding elements to m_cached_files simultaneously.) Losing out on this optimization isn't too bad, because 719930bb390ed0020b99a7942289d83218e99d69 makes it very unlikely that both threads will want the lock at the same time.
2022-09-27Android: Allocate GameFileCache on GUI threadJosJuice
This is intended to fix https://bugs.dolphin-emu.org/issues/13053, which is a crash caused by sGameFileCache being null when addOrGet is called.
2022-09-27Android: Add s prefix to static variables in GameFileCacheManagerJosJuice
2022-09-25Android: Improve checking in MainPresenter.launchWiiSystemMenuJosJuice
Not only SystemMenuNotInstalledDialogFragment requires directory initialization to have completed, but also isSystemMenuInstalled.
2022-09-24Integrate "Ignore for this session" better with config systemJosJuice
Because of the previous commit, this is needed to stop DolphinQt from forgetting that the user pressed ignore whenever any part of the config is changed. This commit also changes the behavior a bit on DolphinQt: "Ignore for this session" now applies to the current emulation session instead of the current Dolphin launch. This matches how it already worked on Android, and is in my opinion better because it means the user won't lose out on important panic alerts in a game becase they played another game first that had repeated panic alerts that they wanted to ignore. For Android, this commit isn't necessary, but it makes the code cleaner.
2022-09-14Merge pull request #11060 from t895/dividersJosJuice
Android: Use material dividers
2022-09-14Android: Use material dividersCharles Lombardo
2022-09-14Android: Remove TabLayout workaroundCharles Lombardo
2022-09-13Android: Change top app bar color on scrollCharles Lombardo
2022-09-13Merge pull request #11056 from t895/new-barsJosJuice
Android: Add more top app bars
2022-09-13Merge pull request #10626 from t895/glideJosJuice
Android: Replace Picasso with Glide
2022-09-11Android: Add more top app barsCharles Lombardo
2022-09-11Android: Change swipe refresh colors to match other component colorsCharles Lombardo
2022-09-10Merge pull request #10725 from t895/theme-mergeJosJuice
Android: App redesign with multi-theme system
2022-09-01Android: Replace Picasso with GlideCharles Lombardo
2022-08-31Android: App redesign with multi-theme systemCharles Lombardo
2022-08-29Android: Fix reading custom covers with SAFJosJuice
If GameFile.getCustomCoverPath returns a mangled URI, we need to unmangle it before passing it to Picasso, since Picasso has no concept of Dolphin's mangled URIs.
2022-08-22Android: Add option to disable game cover textCharles Lombardo
2022-08-18Merge pull request #10981 from JosJuice/android-string-single-choice-namingMai
Android: Clean up StringSingleChoiceSetting naming
2022-08-14Android: Clean up StringSingleChoiceSetting namingJosJuice
2022-08-13Android: Force quit app if external storage isn't mountedJosJuice
In the past, directory initialization could fail for two reasons: The user was rejecting the storage permission, or external storage wasn't mounted. With the introduction of scoped storage, the first of these two couldn't happen anymore; if the user rejects the storage permission, we just use the app-specific directory instead of the dolphin-emu directory. By making it so Dolphin force quits if external storage isn't mounted, we can get rid of our code for handling retrying directory initialization after it fails. I think this slight hit to UX is worth it considering that basically nobody has an Android device with detachable primary external storage anymore. And the UX hit is very small; the user just has to manually open the app again after remounting external storage. The toast about external storage not being mounted will still be displayed. The recent merge of the splash screen PR may have made it so that the code for handling directory initialization failing doesn't work anymore. To be completely honest, I'm not sure how to even test this in 2022.