summaryrefslogtreecommitdiff
path: root/src/android
AgeCommit message (Collapse)Author
2023-09-20android: Remove unused strings related to the save managerCharles Lombardo
2023-09-20android: Allow importing saves even if no saves are foundCharles Lombardo
Exporting still won't be allowed on an empty save directory.
2023-09-19android: Add import/export buttons for user dataCharles Lombardo
2023-09-19Merge pull request #11542 from t895/touch-offset-fixliamwhite
android: Screen orientation and aspect ratio fixes
2023-09-19android: Ignore validation layers library in gitCharles Lombardo
2023-09-19android: Don't pause emulation when entering PiPCharles Lombardo
2023-09-19android: Fix showing input overlay in PiPCharles Lombardo
2023-09-19android: Properly update emulation surfaceCharles Lombardo
Previously the emulation surface wasn't being updated during configuration changes and only during specific view events. This would break input and the screen dimensions after each orientation/aspect ratio change. Now a new surface is provided every time and the display dimensions are updated as needed.
2023-09-17android: Export PiP receiver on API 33 and laterCharles Lombardo
Could cause crashes on API 33+ devices
2023-09-17android: Set up signing config for release buildsCharles Lombardo
2023-09-16android: Collect task state once view is createdCharles Lombardo
Before the viewLifecycleOwner wasn't ready and would cause a crash
2023-09-16Merge pull request #11492 from lat9nq/c-numeric-conversionsliamwhite
general: Remove uncaught usages of C++ string number conversions
2023-09-14android: Remove settings interface specifically for audio muteCharles Lombardo
2023-09-14Merge pull request #11507 from t895/emulation-stop-fixCharles Lombardo
android: Return the correct status code on emulation stop
2023-09-14Merge pull request #11506 from t895/icon-fixCharles Lombardo
android: Use resource as shortcut intermediary
2023-09-14android: Return the correct status code on emulation stopCharles Lombardo
2023-09-14Merge pull request #11505 from t895/config-patchCharles Lombardo
android: Don't reinitialize settings on emulation start
2023-09-14android: Use resource as shortcut intermediaryCharles Lombardo
Fixes issue where the shortcut icon would appear cropped on certain devices
2023-09-14Merge pull request #11504 from t895/emu-argsCharles Lombardo
android: Fix emulation to settings navigation args
2023-09-14android: Don't reinitialize settings on emulation startCharles Lombardo
Config is already initialized on application start
2023-09-14android: Fix emulation to settings navigation argsCharles Lombardo
2023-09-14android: Delay collecting UI state in games fragmentCharles Lombardo
2023-09-14android: Refactor menu tags to enumCharles Lombardo
2023-09-14android: Use StateFlow instead of LiveDataCharles Lombardo
2023-09-13android/config: Remove uncaught usage of stoullat9nq
2023-09-10am: Implement UserChannel parametersFearlessTobi
Used by the Super Mairo 3D All-Stars collection.
2023-08-30android: Fix game content installerCharles Lombardo
Before this would run on the main thread and freeze the device. Additionally this fixes the result dialog not appearing if a config change happens during the installation by getting the activity's fragment manager when needed.
2023-08-30android: Combine LongMessageDialogFragment with MessageDialogFragmentCharles Lombardo
2023-08-30android: Support dynamic app shortcutsCharles Lombardo
2023-08-30android: Separate emulation states from emulation mutexCharles Lombardo
Emulation states are repeatedly checked by input and performance stats. During startup and shutdown, this could lead to a long halt on the UI thread because the call to IsRunning will be waiting on the emulation mutex to be unlocked. Using atomics should replace the existing functionality without causing problems.
2023-08-30android: Game loading/shutting down indicatorsCharles Lombardo
2023-08-30android: Create custom game icon loaderCharles Lombardo
2023-08-29Merge pull request #11380 from t895/settings-integrationCharles Lombardo
android: Settings rework
2023-08-29android: Don't reload settings when stopping settings activityCharles Lombardo
2023-08-29android: Add optional androidDefault property to settingsCharles Lombardo
Certain settings have specific defaults for Android only. This lets us reflect them in the Kotlin side with very little code.
2023-08-29android: Proper state restoration on settings dialogsCharles Lombardo
All dialog code (except for the Date/Time ones) has been extracted out into a generic settings dialog fragment that handles everything through a viewmodel. State for each dialog will now be retained and dialogs will stay shown through configuration changes. I won't be changing the current state of the date and time dialog fragments until Google decides to make their classes non-final or if/when we migrate to Jetpack Compose.
2023-08-29android: Add search for settingsCharles Lombardo
2023-08-29android: Implement paired settingsCharles Lombardo
Enables and disables editing on settings that rely on other boolean settings.
2023-08-29android: Prevent infinite switch toggle loopCharles Lombardo
If something like a lifecycle event happens when this switch is toggled (Ex. whenever the black backgrounds switch is toggled), this could move the switch from the default position and trigger the checked changed listener and restart the loop. Here I just removed the listener at the start so we recycle the view properly still, set the checked state and then add the new listener.
2023-08-29android: Migrate settings to navigation componentCharles Lombardo
Consolidates all of the settings components to the fragment and activity with no interfaces and only the settings fragment presenter. This also includes new material animations and new viewmodel usage to prevent the fragment and activity directly interacting with one another.
2023-08-29android: Trim settings enums and itemsCharles Lombardo
Take advantage of the new settings interface to reduce the amount of code we need for each setting item. Additionally make all settings items non-null to improve brevity.
2023-08-29android: Expose interface for getting settings from native codeCharles Lombardo
Completely removes code related to parsing the settings file on the java side. Now all settings are accessed via NativeConfig.kt and config.cpp has been modified to be closer to the core counterpart. Since the core currently uses QSettings, we can't remove reliance from Wini yet. This also includes simplifications to each settings interface to get closer to native code and prepare for per-game settings.
2023-08-29android: Support intents to emulation activityCharles Lombardo
2023-08-27android: Don't set a default emulation orientationCharles Lombardo
Could cause unnecessary configuration change when setting an orientation other than "Landscape"
2023-08-27android: Properly adjust emulation surface aspect ratioCharles Lombardo
Previously the emulation surface wouldn't respond properly to orientation changes. This would result in the screen appearing stretched when starting in one orientation and switching to another. The code for calculating the bounds of the view have been changed to match the expected behavior now. Before the view would just match parent in height and width. Now instead of using setLeftTopRightBottom (which is intended to be used for animations) we pass newly calculated bounds for the view into super. Now the view bounds match the emulation output. This also means that we don't need the overload for the SettingsActivity to launch it using an ActivityResultLauncher. We can just update the view in onResume.
2023-08-26Merge pull request #11356 from lat9nq/console-mode-pgliamwhite
general,config-qt: Present Console Mode as an enum with separate options in game properties
2023-08-25android: Use appCategory to specify the app is a gameCharles Lombardo
2023-08-25Merge pull request #11357 from liamwhite/lime-vfsbunnei
android: jni: ensure NCAs from loaded filepath are registered in manual content provider
2023-08-23Merge pull request #11352 from t895/recurse-subfoldersliamwhite
android: Search game directory recursively
2023-08-23android: Set default build variant to mainlineRelWithDebInfo (#11358)Charles Lombardo