summaryrefslogtreecommitdiff
path: root/src/android (follow)
Commit message (Collapse)AuthorAgeFilesLines
* android: Refactor zip code into FileUtilGravatar Charles Lombardo2023-09-264-91/+89
|
* android: Consolidate installers to one fragmentGravatar Charles Lombardo2023-09-2530-339/+516
| | | | This also allows save imports to happen without starting a game at first.
* android: Use measured size of view for input overlay boundsGravatar Charles Lombardo2023-09-241-6/+9
| | | | 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.
* android: Use smaller read buffer size for exporting user dataGravatar Charles Lombardo2023-09-221-1/+10
| | | | The File.readBytes() extension attempts to load an entire file into a byte array. This would cause crashes when loading huge files into memory.
* android: Adjust valid user data checkGravatar Charles Lombardo2023-09-221-1/+2
|
* Merge pull request #11564 from t895/overlay-inset-fixGravatar Charles Lombardo2023-09-211-1/+1
|\ | | | | android: Update androidx window library to 1.2.0-beta03
| * android: Update androidx window library to 1.2.0-beta03Gravatar Charles Lombardo2023-09-211-1/+1
| | | | | | | | Fixes an issue with the input overlay on certain devices where the controls would appear offscreen.
* | Revert "android: Allow save imports always"Gravatar Charles Lombardo2023-09-2116-13/+48
| |
* | android: Remove unused strings related to the save managerGravatar Charles Lombardo2023-09-2015-30/+0
| |
* | android: Allow importing saves even if no saves are foundGravatar Charles Lombardo2023-09-201-18/+13
| | | | | | | | Exporting still won't be allowed on an empty save directory.
* | android: Add import/export buttons for user dataGravatar Charles Lombardo2023-09-1913-40/+311
|/
* Merge pull request #11542 from t895/touch-offset-fixGravatar liamwhite2023-09-194-28/+23
|\ | | | | android: Screen orientation and aspect ratio fixes
| * android: Ignore validation layers library in gitGravatar Charles Lombardo2023-09-191-0/+3
| |
| * android: Don't pause emulation when entering PiPGravatar Charles Lombardo2023-09-191-1/+1
| |
| * android: Fix showing input overlay in PiPGravatar Charles Lombardo2023-09-191-1/+1
| |
| * android: Properly update emulation surfaceGravatar Charles Lombardo2023-09-192-25/+11
| | | | | | | | 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.
| * android: Export PiP receiver on API 33 and laterGravatar Charles Lombardo2023-09-171-1/+7
| | | | | | | | Could cause crashes on API 33+ devices
* | android: Set up signing config for release buildsGravatar Charles Lombardo2023-09-171-1/+18
|/
* android: Collect task state once view is createdGravatar Charles Lombardo2023-09-161-9/+25
| | | | Before the viewLifecycleOwner wasn't ready and would cause a crash
* Merge pull request #11492 from lat9nq/c-numeric-conversionsGravatar liamwhite2023-09-161-1/+1
|\ | | | | general: Remove uncaught usages of C++ string number conversions
| * android/config: Remove uncaught usage of stoulGravatar lat9nq2023-09-131-1/+1
| |
* | android: Remove settings interface specifically for audio muteGravatar Charles Lombardo2023-09-144-31/+5
| |
* | Merge pull request #11507 from t895/emulation-stop-fixGravatar Charles Lombardo2023-09-141-2/+3
|\ \ | | | | | | android: Return the correct status code on emulation stop
| * | android: Return the correct status code on emulation stopGravatar Charles Lombardo2023-09-141-2/+3
| | |
* | | Merge pull request #11506 from t895/icon-fixGravatar Charles Lombardo2023-09-144-3/+43
|\ \ \ | |/ / |/| | android: Use resource as shortcut intermediary
| * | android: Use resource as shortcut intermediaryGravatar Charles Lombardo2023-09-144-3/+43
| | | | | | | | | | | | Fixes issue where the shortcut icon would appear cropped on certain devices
* | | Merge pull request #11505 from t895/config-patchGravatar Charles Lombardo2023-09-141-3/+0
|\ \ \ | | | | | | | | android: Don't reinitialize settings on emulation start
| * | | android: Don't reinitialize settings on emulation startGravatar Charles Lombardo2023-09-141-3/+0
| |/ / | | | | | | | | | Config is already initialized on application start
* | | Merge pull request #11504 from t895/emu-argsGravatar Charles Lombardo2023-09-141-1/+1
|\ \ \ | |/ / |/| | android: Fix emulation to settings navigation args
| * | android: Fix emulation to settings navigation argsGravatar Charles Lombardo2023-09-141-1/+1
| | |
* | | android: Delay collecting UI state in games fragmentGravatar Charles Lombardo2023-09-141-4/+4
|/ /
* | android: Refactor menu tags to enumGravatar Charles Lombardo2023-09-149-46/+39
| |
* | android: Use StateFlow instead of LiveDataGravatar Charles Lombardo2023-09-1416-249/+367
|/
* am: Implement UserChannel parametersGravatar FearlessTobi2023-09-101-0/+1
| | | | Used by the Super Mairo 3D All-Stars collection.
* android: Fix game content installerGravatar Charles Lombardo2023-08-302-85/+80
| | | | 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.
* android: Combine LongMessageDialogFragment with MessageDialogFragmentGravatar Charles Lombardo2023-08-305-98/+47
|
* android: Support dynamic app shortcutsGravatar Charles Lombardo2023-08-301-0/+21
|
* android: Separate emulation states from emulation mutexGravatar Charles Lombardo2023-08-301-4/+2
| | | | 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.
* android: Game loading/shutting down indicatorsGravatar Charles Lombardo2023-08-3026-211/+312
|
* android: Create custom game icon loaderGravatar Charles Lombardo2023-08-302-22/+79
|
* Merge pull request #11380 from t895/settings-integrationGravatar Charles Lombardo2023-08-2973-2109/+2214
|\ | | | | android: Settings rework
| * android: Don't reload settings when stopping settings activityGravatar Charles Lombardo2023-08-291-2/+0
| |
| * android: Add optional androidDefault property to settingsGravatar Charles Lombardo2023-08-293-7/+15
| | | | | | | | Certain settings have specific defaults for Android only. This lets us reflect them in the Kotlin side with very little code.
| * android: Proper state restoration on settings dialogsGravatar Charles Lombardo2023-08-299-198/+319
| | | | | | | | | | | | 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.
| * android: Add search for settingsGravatar Charles Lombardo2023-08-298-1/+372
| |
| * android: Implement paired settingsGravatar Charles Lombardo2023-08-299-241/+335
| | | | | | | | Enables and disables editing on settings that rely on other boolean settings.
| * android: Prevent infinite switch toggle loopGravatar Charles Lombardo2023-08-291-1/+3
| | | | | | | | 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.
| * android: Migrate settings to navigation componentGravatar Charles Lombardo2023-08-2928-567/+371
| | | | | | | | 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.
| * android: Trim settings enums and itemsGravatar Charles Lombardo2023-08-2916-321/+133
| | | | | | | | 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.
| * android: Expose interface for getting settings from native codeGravatar Charles Lombardo2023-08-2946-969/+864
| | | | | | | | 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.