Commit Graph

24076 Commits

Author SHA1 Message Date
bunnei b969a14671 android: settings: Add scaling filter & anti-aliasing options. (#66) 2023-06-01 17:58:27 -07:00
bunnei 0601658ead android: video_core: Add support for disk shader cache. (#64) 2023-06-01 17:58:27 -07:00
bunnei b12233f595 android: vulkan_debug_callback: Ignore many innocuous errors. 2023-06-01 17:58:27 -07:00
bunnei 7bf3830726 android: config: Change docked mode and GPU accuracy to favor performance on Android. 2023-06-01 17:58:27 -07:00
german77 4be68269a5 service: account: Save user profile folder on first user creation 2023-06-01 17:58:26 -07:00
german77 489846d9ca android: Initialize account manager 2023-06-01 17:58:26 -07:00
german77 07c93ebb92 android: Remove unsafe null check 2023-06-01 17:58:26 -07:00
Charles Lombardo 313bc7dff2 android: Scale input overlay independently of system display scale 2023-06-01 17:58:26 -07:00
Charles Lombardo a96d835286 android: Use apply instead of commit for shared preferences
Previously we were operating on the assumption that apply'd settings wouldn't be visible immediately. This isn't true and settings will be accessible via memory before being stored to disk. This reduces any potential stutters caused by saving to shared preferences.
2023-06-01 17:58:26 -07:00
Charles Lombardo b178a3788b android: Add DPad slide toggle 2023-06-01 17:58:26 -07:00
Charles Lombardo aaf0de6edf android: Add relative stick center toggle 2023-06-01 17:58:26 -07:00
Charles Lombardo 9375df2221 android: Make hash and branch accessible from BuildConfig 2023-06-01 17:58:26 -07:00
Charles Lombardo fe5082a833 android: Backup shared preferences where applicable 2023-06-01 17:58:26 -07:00
Charles Lombardo 9b28043226 android: Enable retaining app data after uninstall 2023-06-01 17:58:26 -07:00
Charles Lombardo 88d7134aec android: Remove unused doFrame function 2023-06-01 17:58:26 -07:00
Charles Lombardo dc55e49f27 android: Convert NativeLibrary to Kotlin 2023-06-01 17:58:26 -07:00
Charles Lombardo ccb6bf840c android: Remove LocalBroadcastManager
This causes a couple of minor changes to directory initialization. We don't have a lengthy initialization step so we could spend less time creating state receivers and just run initialization on the main thread. We also don't have a situation where external storage will be a concern so checks are removed in favor of a binary check to see if initialization is ready.

This additionally removes the unused DoFrame callback.
2023-06-01 17:58:25 -07:00
Charles Lombardo 4904c0d8da android: Remove game database
The content provider + database solution was excessive and is now replaced with the simple file checks from before but turned into an array list held within a viewmodel.
2023-06-01 17:58:25 -07:00
Charles Lombardo d5170f374b android: Adjust game icon loading 2023-06-01 17:58:25 -07:00
Charles Lombardo c977990e82 android: Remove unused dimensions files 2023-06-01 17:58:25 -07:00
Charles Lombardo 433d388728 android: Slightly reduce game card size 2023-06-01 17:58:25 -07:00
Charles Lombardo 5bbd9f88e8 android: Only show company text view if it has content 2023-06-01 17:58:25 -07:00
Charles Lombardo 971d603e98 android: Fix check for ok text in software keyboard 2023-06-01 17:58:25 -07:00
Narr the Reg 82950279aa android: Implement amiibo reading from nfc tag 2023-06-01 17:58:25 -07:00
bunnei 13533d4142 android: vulkan_device: Disable VK_EXT_custom_border_color on Adreno.
- Causes crashes on sampler creation with Super Mario Odyssey.
2023-06-01 17:58:25 -07:00
Charles Lombardo 135c2f1b56 android: Add toggle controls option to input overlay 2023-06-01 17:58:25 -07:00
Charles Lombardo 81a5e4c5bc android: Do not update FPS text on null view 2023-06-01 17:58:24 -07:00
Charles Lombardo bdee00f9f5 android: Convert keyboard applet to kotlin and refactor 2023-06-01 17:58:24 -07:00
bunnei 398550f390 android: Implement basic software keyboard applet. 2023-06-01 17:58:24 -07:00
bunnei bf1b32db95 android: config: Disable shader cache by default on Android. 2023-06-01 17:58:24 -07:00
german77 c8a7594d3e android: Fix fps counter not showing up 2023-06-01 17:58:24 -07:00
Charles Lombardo 8a9bef77e3 android: Prevent showing games on an invalid view 2023-06-01 17:58:24 -07:00
Charles Lombardo 00c2ce78a0 android: Re-implement overlay editing 2023-06-01 17:58:24 -07:00
Charles Lombardo 0f22ceaae7 android: Fix popup menu going out of bounds 2023-06-01 17:58:24 -07:00
Charles Lombardo a31d2a90b8 android: Use autofit grid for games fragment 2023-06-01 17:58:24 -07:00
Charles Lombardo a0b81102bc android: Prevent updating empty game list text on invalid view 2023-06-01 17:58:24 -07:00
Charles Lombardo 4b02c8c924 android: Persist settings across configuration changes
Mostly things get refactored here to remove previous assumptions made about how the activity/fragment lifecycles would operate. The important change for persistence is removing the assumption that the user will be at the first settings fragment on recreation when deciding whether or not to reload settings. Now we check a flag in Settings to know if we loaded the settings within this lifecycle.
2023-06-01 17:58:24 -07:00
Charles Lombardo 4e86e1e4d8 android: Store settings object in viewmodel 2023-06-01 17:58:24 -07:00
Charles Lombardo e7fe2a380a android: Remove configChanges exceptions 2023-06-01 17:58:24 -07:00
Charles Lombardo 6a19ff24ca Android: Enable resizeable activities 2023-06-01 17:58:23 -07:00
Charles Lombardo 7f7a668c85 android: Fix emulation fragment comments 2023-06-01 17:58:23 -07:00
Charles Lombardo 8f6d4717ca android: Use modal navigation drawer as in game menu 2023-06-01 17:58:23 -07:00
Charles Lombardo e717ff2dde android: Make Game class parcelable 2023-06-01 17:58:23 -07:00
Charles Lombardo c54b7b68ec android: Add kotlin parcelize plugin 2023-06-01 17:58:23 -07:00
Charles Lombardo 95d4ae95d7 android: Remove deprecated use of onActivityResult 2023-06-01 17:58:23 -07:00
Charles Lombardo eed9eb8a65 android: Fix RTL layouts 2023-06-01 17:58:23 -07:00
Charles Lombardo e46509c1ce android: Use ellipsis character 2023-06-01 17:58:23 -07:00
Charles Lombardo e4b17c674f android: Move all array strings to main strings file 2023-06-01 17:58:23 -07:00
Charles Lombardo 88fb750dcc android: Remove unused strings 2023-06-01 17:58:23 -07:00
Charles Lombardo 7608b7feb3 android: Remove unused colors 2023-06-01 17:58:22 -07:00