aboutsummaryrefslogtreecommitdiff
path: root/src/android
AgeCommit message (Collapse)Author
2023-09-26android: Refactor zip code into FileUtilCharles Lombardo
2023-09-25android: Consolidate installers to one fragmentCharles Lombardo
This also allows save imports to happen without starting a game at first.
2023-09-24android: Use measured size of view for input overlay boundsCharles Lombardo
Even after updating the androidx window library, this did not fix the issue for all devices. This ensures that the measured size of the overlay will be used instead of a potentially larger one seen by androidx.
2023-09-22android: Use smaller read buffer size for exporting user dataCharles Lombardo
The File.readBytes() extension attempts to load an entire file into a byte array. This would cause crashes when loading huge files into memory.
2023-09-22android: Adjust valid user data checkCharles Lombardo
2023-09-21Merge pull request #11564 from t895/overlay-inset-fixCharles Lombardo
android: Update androidx window library to 1.2.0-beta03
2023-09-21android: Update androidx window library to 1.2.0-beta03Charles Lombardo
Fixes an issue with the input overlay on certain devices where the controls would appear offscreen.
2023-09-21Revert "android: Allow save imports always"Charles Lombardo
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.