summaryrefslogtreecommitdiff
path: root/src/android
AgeCommit message (Collapse)Author
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
2023-08-22android: jni: ensure NCAs from loaded filepath are registered in manual ↵Liam
content provider
2023-08-22native: Use Docked Mode helperlat9nq
2023-08-22config-android: Translate console mode settinglat9nq
Translates the previous boolean to the enum.
2023-08-22android: Search game directory recursivelyCharles Lombardo
2023-08-22Merge pull request #11346 from t895/ktlint-fixliamwhite
android: lint: Delete generated ktlint folder between builds
2023-08-21android: lint: Delete generated ktlint folder between buildsCharles Lombardo
There's a bug in ktlint where it will run into an error if you build the project, delete a source file, and then build again. It will be unable to find the file you deleted and can't recover until these files are deleted. This just deletes those files before every run.
2023-08-21android: Show associated value in home settings (#11272)Charles Lombardo
2023-08-21android: Use sensor landscape for landscape mode (#11337)Charles Lombardo
2023-08-14Merge pull request #11273 from t895/setup-completionbunnei
android: Setup additions
2023-08-12android: Page forward on setup step completionCharles Lombardo
2023-08-12android: Adjust setup fragment layoutCharles Lombardo
Fixes padding issues in small and large layouts and allows viewpager to reach into system insets.
2023-08-12android: Show complete indicator during setupCharles Lombardo
2023-08-12android: Remove redundant option from slider dialogCharles Lombardo
You can already reset any setting by long pressing the settings item.
2023-08-12android: Reduce opacity of non-editable settingsCharles Lombardo
2023-08-12android: Use string resource for slider value/unitsCharles Lombardo
2023-08-12android: Display setting value in setting list itemsCharles Lombardo
2023-08-12android: Set switch listener before assigning new valueCharles Lombardo
Previously the switch could have its old listener triggered when recycled.
2023-08-02Merge pull request #10839 from lat9nq/pgc-plusliamwhite
general: Reimplement per-game configurations
2023-07-25android: Only label language with languageAbandoned Cart
2023-07-21general: reduce use of dynamic_castLiam
2023-07-21config-android: Update memory layout member namelat9nq
2023-07-21android-config: Update enum labelslat9nq
2023-07-21(android)config: Clang formatlat9nq
2023-07-21android-config: Adapt settings reworklat9nq