summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
AgeCommit message (Collapse)Author
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.
2022-08-10Add AndroidTV splash screenCharles Lombardo
2022-08-10Android: Add Androidx splash screen to wait for directory initializationCharles Lombardo
2022-08-10Android: Prevent app lockup when revoking write accessCharles Lombardo
2022-08-10Consistent tv card colorsCharles Lombardo
Item selected color is now dolphin-blue for all cards in the TV activity.
2022-08-04DiscIO: Add support for the NFS formatJosJuice
For a few years now, I've been thinking it would be nice to make Dolphin support reading Wii games in the format they come in when you download them from the Wii U eShop. The Wii U eShop has some good deals on Wii games (Metroid Prime Trilogy especially is rather expensive if you try to buy it physically!), and it's the only place right now where you can buy Wii games digitally. Of course, Nintendo being Nintendo, next year they're going to shut down this only place where you can buy Wii games digitally. I kind of wish I had implemented this feature earlier so that people would've had ample time to buy the games they want, but... better late than never, right? I used MIT-licensed code from the NOD library as a reference when implementing this. None of the code has been directly copied, but you may notice that the names of the struct members are very similar. https://gitlab.axiodl.com/AxioDL/nod/blob/c1635245b881ed0004ff5e616896579ce1b19164/lib/DiscIONFS.cpp
2022-08-03Merge pull request #10787 from JosJuice/channel-uriMai
Android: Add app link intent URI to channels projection
2022-08-03Merge pull request #10790 from JosJuice/android-wii-controller-magicMai
Android: Refactor reading "wiiController" preference
2022-07-29Android: Use AfterDirectoryInitializationRunner on FAB pressJosJuice
Without this, if the user finishes selecting a directory before directory initialization finishes, MainPresenter.onDirectorySelected will segfault when trying to read the MAIN_RECURSIVE_ISO_PATHS setting. An alternative would be to use AfterDirectoryInitializationRunner after the user selects the directory instead of before, but it might be confusing for the user to deal with the usage statistics prompt when they were expecting to add a folder.
2022-07-23Android: Add warning if graphics mods are not enabledJosJuice
2022-07-23Android: Add graphics mods support to CheatsActivityJosJuice
2022-07-23Android: Split AbstractCheat into ReadOnlyCheat and AbstractCheatJosJuice
ReadOnlyCheat will be used by graphics mods.
2022-07-23Android: Add Cheat.supportsCode methodJosJuice
Patches, AR codes and Gecko codes have an associated code that the GUI can show, but graphics mods don't.