summaryrefslogtreecommitdiff
path: root/Source/Android
AgeCommit message (Collapse)Author
2021-05-20Android: Use JNI for getting post-processsing shadersJosJuice
The Java implementation of getting the list of post-processing shaders only looked in the Sys folder and not the User folder. This could be fixed in the Java implementation, but it's simpler to just call the C++ implementation instead.
2021-05-19GameList: Minor improvements to android and low res nobanner imagesDentomologist
Center @2x and android banners, and adjust @1x banner to improve consistency with other resolutions while maintaining sharpness. Images created by MayImilae
2021-05-16Adjust Onscreen Buttons OpacityMayImilae
Update Onscreen Buttons Opacity and Adjust Default Opacity Setting
2021-05-13Merge pull request #9701 from sspacelynx/masterMat M
Android: bump gradle & dependencies version
2021-05-10Android: bump gradle & dependencies versionsspacelynx
jecenter() is EOL, so swap that out with mavenCentral()
2021-05-09Android: Remove CheckBoxSettingViewHolder's log setting name hackJosJuice
2021-05-09Android: Use CharSequence for SettingsItem name/descriptionJosJuice
2021-05-06Android: Don't set android:debuggable="true"JosJuice
In 5a1a642, I explicitly set android:debuggable="true" for Dolphin. (By default, it's set for debug builds but not release builds.) The reason I made the change is because debuggable must be set to true in order to allow adb backup to be used with apps which target Android 12. We have no reason to want to stop users from debugging Dolphin and certainly no reason to stop users from using adb backup (especially not after forced storage is going to force us to store the User folder in app-specific external storage!), but, it turns out that setting debuggable to true is forbidden by Google Play "for security reasons". Go figure. The beta build which was tagged earlier today was rejected because of this.
2021-04-25DolphinQt/Android: Unify the JIT naming schemeJosJuice
I think the AArch64 JIT has come far enough that it doesn't have to be called experimental anymore. I'm also labeling the x86-64 JIT as x86-64 for consistence with the AArch64 JIT. This will especially be helpful if we start supporting AArch64 on macOS, as AArch64 macOS can run both the x86-64 JIT and the AArch64 JIT depending on whether you enable Rosetta 2.
2021-04-19Merge pull request #9653 from JosJuice/android-import-nandLéo Lam
Android: Add "Import BootMii NAND Backup"
2021-04-19Android: Add "Import BootMii NAND Backup"JosJuice
2021-04-18Android: Early changes to adapt for Android 12JosJuice
We don't actually need to do this until we bump targetSdkVersion to Android 12 (which we can't do yet since we're not compatible with scoped storage), but I figured I'd get it out of the way early. Not tested on Android 12, but tested to not break stuff on Android 10.
2021-04-10Change the names for shader compilation settingsJosJuice
2021-04-06Merge pull request #9388 from JosJuice/default-localeLéo Lam
Set console's default language/country/region based on computer settings
2021-03-28Merge pull request #9614 from JosJuice/okay-fine-i-give-inLC
Android: Add "Synchronize GPU Thread" setting (SyncOnSkipIdle/SyncGPU)
2021-03-28Merge pull request #9613 from JosJuice/android-delete-game-ini-moreLC
Android: Expand the game INI deletion prompt
2021-03-28Android: Add "Synchronize GPU Thread" setting (SyncOnSkipIdle/SyncGPU)JosJuice
Many Android users want to disable SyncOnSkipIdle as a performance hack, to the point where it's often suggested as something to paste into Dolphin.ini (if not to use a fork). If adding it as a setting in the GUI gives us an opportunity to explain what the setting actually does and stops people from pasting stuff they don't understand into INI files, I think it can be worth adding despite how it can make games unstable. It not being in the GUI doesn't seem to be stopping people from disabling it anyway. The added setting in the GUI is a three-way setting called "Synchronize GPU Thread" with the following alternatives: "Never": SyncGPU = False, SyncOnIdleSkip = False "On Idle Skipping": SyncGPU = False, SyncOnIdleSkip = True "Always": SyncGPU = True, SyncOnIdleSkip = True
2021-03-28Android: Expand the game INI deletion promptJosJuice
See PR 8203 for background on the game INI deletion prompt. It's been almost two years since PR 8203 was merged, so you would think that people are no longer creating game INIs that contain a copy of every global setting, right? Unfortunately, MMJ was forked not too long before that and never backported the change, so right now there's a not insignificant number of people online posting game INIs full of this garbage for others to use. One thing that's been missing from the game INI deletion prompt is a description of what the problem with having tons of extra lines in a game INI actually is. This change adds that, in the the hope that it will make people ignore the warning less often.
2021-03-28Android: Rename "Enable Logging" to "Write Logs to File"JosJuice
This option does in fact not enable and disable logging as a whole. You can get logs through logcat regardless of this setting. Also taking the opportunity to remove the reference to the "dolphin-emu" folder name since we will no longer be using that folder once scoped storage is applied to Dolphin.
2021-03-27Set console's default language/country/region based on computer settingsJosJuice
2021-03-22Merge pull request #9592 from JosJuice/android-launch-rescanLC
Android: Fix rescanning on first app launch after cache clear
2021-03-22Merge pull request #9599 from JosJuice/android-gfx-hacks-settingsLC
Android: Add some missing settings to Hacks section of Graphics
2021-03-19Android: Limit the height of the in-game menu's game titleJosJuice
If the title is too long, there may not be much space left for the actual menu items.
2021-03-19Android: Make the in-game menu scrollbar widerJosJuice
It was still rather hard to notice, even with autohide disabled.
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-04Android: Remove #ifdef __cplusplus checksJosJuice
A C compiler would very much be unable to build this code anyway.
2021-03-03Android: Delete more references in IDCache.cppJosJuice
It's not causing any problems in practice so far, but let's fix it before I add even more stuff without remembering to delete references.
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: Add missing "World" entry in country listJosJuice
Fixes an IndexOutOfBoundsException. (Yeah, attempts at having cross-language enums are kinda fragile...)
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-27msbuild: bundle all dolphin "core" code into single libraryShawn Hoffman
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-27Merge pull request #9439 from Darwin-Rist/masterLéo Lam
Added Opacity settings for touchscreen controls