summaryrefslogtreecommitdiff
path: root/src/android (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* | android: Support intents to emulation activityGravatar Charles Lombardo2023-08-295-12/+45
|/
* android: Don't set a default emulation orientationGravatar Charles Lombardo2023-08-271-1/+0
| | | | Could cause unnecessary configuration change when setting an orientation other than "Landscape"
* android: Properly adjust emulation surface aspect ratioGravatar Charles Lombardo2023-08-273-45/+33
| | | | | | | | 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.
* Merge pull request #11356 from lat9nq/console-mode-pgGravatar liamwhite2023-08-262-2/+5
|\ | | | | general,config-qt: Present Console Mode as an enum with separate options in game properties
| * native: Use Docked Mode helperGravatar lat9nq2023-08-221-1/+1
| |
| * config-android: Translate console mode settingGravatar lat9nq2023-08-221-1/+4
| | | | | | | | Translates the previous boolean to the enum.
* | android: Use appCategory to specify the app is a gameGravatar Charles Lombardo2023-08-251-0/+1
| |
* | Merge pull request #11357 from liamwhite/lime-vfsGravatar bunnei2023-08-251-0/+44
|\ \ | | | | | | android: jni: ensure NCAs from loaded filepath are registered in manual content provider
| * | android: jni: ensure NCAs from loaded filepath are registered in manual ↵Gravatar Liam2023-08-221-0/+44
| |/ | | | | | | content provider
* | Merge pull request #11352 from t895/recurse-subfoldersGravatar liamwhite2023-08-231-9/+26
|\ \ | | | | | | android: Search game directory recursively
| * | android: Search game directory recursivelyGravatar Charles Lombardo2023-08-221-9/+26
| |/
* / android: Set default build variant to mainlineRelWithDebInfo (#11358)Gravatar Charles Lombardo2023-08-231-0/+2
|/
* Merge pull request #11346 from t895/ktlint-fixGravatar liamwhite2023-08-221-0/+5
|\ | | | | android: lint: Delete generated ktlint folder between builds
| * android: lint: Delete generated ktlint folder between buildsGravatar Charles Lombardo2023-08-211-0/+5
| | | | | | | | 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.
* | android: Show associated value in home settings (#11272)Gravatar Charles Lombardo2023-08-216-4/+75
|/
* android: Use sensor landscape for landscape mode (#11337)Gravatar Charles Lombardo2023-08-211-2/+2
|
* Merge pull request #11273 from t895/setup-completionGravatar bunnei2023-08-1411-184/+370
|\ | | | | android: Setup additions
| * android: Page forward on setup step completionGravatar Charles Lombardo2023-08-123-0/+17
| |
| * android: Adjust setup fragment layoutGravatar Charles Lombardo2023-08-123-63/+88
| | | | | | | | Fixes padding issues in small and large layouts and allows viewpager to reach into system insets.
| * android: Show complete indicator during setupGravatar Charles Lombardo2023-08-128-121/+265
| |
* | android: Remove redundant option from slider dialogGravatar Charles Lombardo2023-08-121-4/+0
| | | | | | | | You can already reset any setting by long pressing the settings item.
* | android: Reduce opacity of non-editable settingsGravatar Charles Lombardo2023-08-127-3/+28
| |
* | android: Use string resource for slider value/unitsGravatar Charles Lombardo2023-08-122-13/+13
| |
* | android: Display setting value in setting list itemsGravatar Charles Lombardo2023-08-127-38/+64
| |
* | android: Set switch listener before assigning new valueGravatar Charles Lombardo2023-08-121-1/+1
|/ | | | Previously the switch could have its old listener triggered when recycled.
* Merge pull request #10839 from lat9nq/pgc-plusGravatar liamwhite2023-08-021-7/+12
|\ | | | | general: Reimplement per-game configurations
| * config-android: Update memory layout member nameGravatar lat9nq2023-07-211-1/+1
| |
| * android-config: Update enum labelsGravatar lat9nq2023-07-211-4/+4
| |
| * (android)config: Clang formatGravatar lat9nq2023-07-211-2/+5
| |
| * android-config: Adapt settings reworkGravatar lat9nq2023-07-211-4/+6
| |
* | android: Only label language with languageGravatar Abandoned Cart2023-07-2515-272/+18
| |
* | general: reduce use of dynamic_castGravatar Liam2023-07-211-1/+1
|/
* android: fix links to re-dumping guidesGravatar Valeri Ochinski2023-07-161-1/+1
|
* android: Visualize disabled home optionsGravatar Charles Lombardo2023-07-104-53/+84
| | | | | | Allow for displaying options in the home options that are disabled with messages that explain why they are disabled. This includes reasoning for the GPU driver installation button.
* android: Don't prompt to save user data on uninstallGravatar Charles Lombardo2023-07-091-1/+1
| | | | While this can be convenient in some scenarios, this will be a big problem for users trying to sideload different APK versions. If they forget the last one they had installed, they could have problems installing a new copy.