summaryrefslogtreecommitdiff
path: root/Source/Android/app/src/main/java
AgeCommit message (Collapse)Author
2021-03-22Merge pull request #9592 from JosJuice/android-launch-rescanLC
Android: Fix rescanning on first app launch after cache clear
2021-03-19Android: Add some missing settings to Hacks section of GraphicsJosJuice
This brings the available settings in the Hacks section in line with DolphinQt.
2021-03-16Android: Fix rescanning on first app launch after cache clearJosJuice
GameFileCacheService.startRescan (in MainPresenter.onResume) does nothing if called before GameFileCacheService.startLoad. Fixes a 3f71c36 regression where already added games would not show up after app launch under specific circumstances. Unfortunately the loading indicator still doesn't show up during a rescan initiated by app launch, but that would be more annoying to fix, so I will leave it for now.
2021-03-15Android: Fix recreating main activityJosJuice
4752ec8 broke this because I wasn't aware that a fragment has to have a constructor with no parameters in order for activity recreation to work.
2021-03-07Merge pull request #9568 from JosJuice/android-delay-save-tabLéo Lam
Android: Don't save settings immediately after switching platform tab
2021-03-05Android: Don't save settings immediately after switching platform tabJosJuice
We want to save the currently selected platform tab, but doing so immediately after switching tabs leads to unnecessarily much file I/O (on the main thread, no less). This change makes us defer the saving until later.
2021-03-05Android: Move "skip scanning" logic to MainPresenterJosJuice
Deduplicates code between MainActivity and TvMainActivity.
2021-03-05Merge pull request #9529 from JosJuice/android-broadcast-before-metadataLéo Lam
Android: Broadcast update before updating additional metadata
2021-03-05Merge pull request #9555 from JosJuice/android-jni-cleanupLéo Lam
Android: Some JNI cleanup
2021-03-04Android: Broadcast update before updating additional metadataJosJuice
In master, the game scanning process looks like this: 1. Scan for games 2. Scan for additional metadata (icon.png and meta.xml) 3. Save the cache if needed 4. Update the game list with the results This change makes the game scanning process look like this: 1. Scan for games 2. Update the game list with the results 3. Scan for additional metadata (icon.png and meta.xml) 4. Update the game list with the results 5. Save the cache if needed Updating the game list as soon as possible means the user has to wait less before their games show up. The new behavior matches what DolphinWX did before it was removed. (DolphinQt has an even fancier approach where games get added one by one.)
2021-03-03Android: Add @Keep annotation to BooleanSupplierJosJuice
I should at least follow the conventions I set myself... (See a8d385c)
2021-02-20Android: Use SwipeRefreshLayout in MainActivityJosJuice
The main reason why I'm adding this isn't actually to allow users to swipe down to refresh, it's to add a loading indicator. Considering that the Storage Access Framework can be slow for folders with many items (many subfolders?), not showing a loading indicator might give users the impression that adding a folder resulted in nothing happening even though Dolphin is scanning for games in the background. But I suppose letting users swipe down to refresh is a nice bonus with the change.
2021-02-20Android: Don't queue up multiple rescans before directory initializationJosJuice
2021-02-20Android: Split GameFileCacheService broadcasts into two typesJosJuice
2021-02-20Android: Refactor MainActivity, add forEachPlatformGamesViewJosJuice
2021-02-11Android: Adjust logic for DOL/ELF long pressJosJuice
Android follow-up for 83c1277. Removes some now unnecessary code and disables "Set as Default ISO" for DOL, ELF and WAD files.
2021-01-27Android: Re-implement a subset of CompletableFutureJosJuice
Imagine if Android phones actually got updates
2021-01-27Android: Implement save overwrite confirmationJosJuice
2021-01-27Android: Add "Import Wii Save"JosJuice
2021-01-27Android: Refactor MainPresenter.installWadJosJuice
Also replacing a toast with a dialog so that you have proper time to read the message.
2021-01-27Android: Merge launchInstallWad into launchOpenFileActivityJosJuice
2021-01-27Android: Move InstallWAD to a new WiiUtils classJosJuice
I'm trying to move away from dumping every native method in NativeLibrary.
2021-01-17Added Opacity settings for touchscreen controlsBankaimaster999
Added Opacity controls for the user to customize the opacity of their touchscreen controls. Also, placed both Scale and Opacity settings into one window/option called Adjust Controls.
2021-01-08Android: Use old folder picker on Android TVJosJuice
See the comment I added to the code. This is a rather serious issue for Android TV users from what I've heard.
2020-12-30Merge pull request #9318 from JosJuice/android-saf-gamesJosJuice
Android: Use storage access framework for game list
2020-12-28Android: Add specialized content provider implementation of DoFileSearchJosJuice
2020-12-28Android: Don't consider .dff files valid for game listJosJuice
2020-12-28Android: Show a message when adding a folder with no gamesJosJuice
To catch people who try to use unsupported formats.
2020-12-27Android: Only have one settings entrypoint in game propertiesJosJuice
In 8c723d0, I intended to update the main activity, emulation activity and game properties dialog, but I forgot to actually update the game properties dialog. This commit fixes that. The changes outside of GamePropertiesDialog.java are just to hide the Wii controller settings for GameCube games.
2020-12-24Merge pull request #9357 from JosJuice/android-one-settings-entrypointLC
Android: Only have one settings entrypoint per activity/dialog
2020-12-24Android: Only have one settings entrypoint per activity/dialogJosJuice
Basically, instead of having one button for config, one button for graphics settings and so on, we now have just one settings button which takes you to a screen where you pick between config/graphics/GameCube controllers/Wii Remotes. The main reason I want to do this is because people still have trouble finding Overlay Controls in the "new" in-game menu. Typically (depending on the screen size and the length of the game name), the scrollable part of the menu can fit 4 items, and merging Config and Graphics Settings into one item would move Overlay Controls from 5th place to 4th place (assuming the user doesn't have savestates enabled), which makes it findable even for users who don't realize the menu can be scrolled. The dialog that's shown when long pressing a game in the game list is also shortened. While not a pressing matter, I think it was getting a bit long. An additional reason to do this is because we probably will want to make it possible to edit the controller settings from the in-game menu at some point in the future. With the old approach, this would require us to dedicate a whopping 4 menu items just for settings (not including Overlay Controls), which I think is excessive.
2020-12-24Android: Correctly save in-game settings changes to diskJosJuice
2020-12-20Android: Catch all exceptions in ContentHandlerJosJuice
2020-12-20Android: Use storage access framework for game listJosJuice
2020-12-20Android: Add content provider support to File::ScanDirectoryTreeJosJuice
2020-12-20Android: Fix opening games with extensionless URIJosJuice
2020-12-20Android: Use storage access framework for picking single gamesJosJuice
2020-12-20Android: Add content provider support to File::FileInfoJosJuice
2020-12-20Android: Convert ISOPaths to INI settingsRyan Meredith
2020-12-10Merge pull request #9221 from JosJuice/android-saf-sd-cardJMC47
Android: Use storage access framework for custom SD card paths
2020-12-10Android: Expand WiimoteProfileSetting to more setting typesRyan Meredith
2020-12-10Merge pull request #9089 from JosJuice/android-orientation-settingJosJuice
Android: Move orientation setting to main settings screen
2020-11-30Android: Add "Generate a New Statistics Identity"Ryan Meredith
2020-11-30Merge pull request #9298 from Ebola16/AClearLogLC
Android: Clear Log file
2020-11-29Android: Add "Disable Fastmem" debug settingRyan Meredith
2020-11-29Android: Clear Log fileRyan Meredith
2020-11-27IP/Top: Add Android network interfaceSepalani
2020-11-20Android: Fix default values for GC/Wii controller 1JosJuice
2020-11-20Android: Remove "Reset Paths to Default Settings"JosJuice
There is now a more general way of resetting settings, so we don't need this.
2020-11-20Android: Long press a setting to reset itJosJuice
This is particularly important for game INIs, where a setting being unset is not the same as it being set to the default value.