Commit graph

24071 commits

Author SHA1 Message Date
Charles Lombardo
6a7da72d34 android: Enable code minification 2023-05-30 14:43:13 -07:00
Charles Lombardo
f6e974c11c android: Switch from a colored status bar to a custom view
Allows for smoother transitions with the search bar
2023-05-30 14:43:13 -07:00
Charles Lombardo
7c1d15ebc7 android: Adjustments to card_game
Removed a currently unused text view and moved to material text views.
2023-05-30 14:43:13 -07:00
Charles Lombardo
59fb4cbe31 android: MainActivity overhaul
This moves several parts of the main activity into fragments that manage themselves to react to changes. UI changes like the appearance of a new search view or when the games list changes now gets updated via multiple view models. This also starts a conversion to the androidx navigation component which furthers the goals mentioned previously with more fragment responsibility. This will eventually allow us to use one activity with interchanging fragments and multiple view models that are stored within that central activity.

fdas
2023-05-30 14:43:13 -07:00
Charles Lombardo
d1d42f5a4b android: Enforce Vulkan 1.1 support as minimum 2023-05-30 14:43:12 -07:00
Charles Lombardo
62742a5adb android: Update gradle version to 8.1 2023-05-30 14:43:12 -07:00
Charles Lombardo
5dcd7fe198 android: Update app dependencies 2023-05-30 14:43:12 -07:00
Charles Lombardo
dba6eda9ec android: Convert gradle scripts to Kotlin DSL 2023-05-30 14:43:12 -07:00
bunnei
15aafc9204 android: vulkan: Disable vertex_input_dynamic_state on Qualcomm. 2023-05-30 14:43:12 -07:00
bunnei
c0928bac6f android: settings: Add scaling filter & anti-aliasing options. (#66) 2023-05-30 14:43:12 -07:00
bunnei
7600abdce3 android: video_core: Add support for disk shader cache. (#64) 2023-05-30 14:43:12 -07:00
bunnei
ab68072578 android: vulkan_debug_callback: Ignore many innocuous errors. 2023-05-30 14:43:11 -07:00
bunnei
70c9eaa8b1 android: config: Change docked mode and GPU accuracy to favor performance on Android. 2023-05-30 14:43:11 -07:00
german77
051c36fde6 service: account: Save user profile folder on first user creation 2023-05-30 14:43:11 -07:00
german77
9291532ce0 android: Initialize account manager 2023-05-30 14:43:11 -07:00
german77
67c8a04592 android: Remove unsafe null check 2023-05-30 14:43:11 -07:00
Charles Lombardo
b57c48b42d android: Scale input overlay independently of system display scale 2023-05-30 14:43:11 -07:00
Charles Lombardo
a35b124cd9 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-05-30 14:43:11 -07:00
Charles Lombardo
84b9f7ac59 android: Add DPad slide toggle 2023-05-30 14:43:11 -07:00
Charles Lombardo
2d77a04964 android: Add relative stick center toggle 2023-05-30 14:43:11 -07:00
Charles Lombardo
97138db766 android: Make hash and branch accessible from BuildConfig 2023-05-30 14:43:11 -07:00
Charles Lombardo
60598bcb1f android: Backup shared preferences where applicable 2023-05-30 14:43:10 -07:00
Charles Lombardo
496459fc58 android: Enable retaining app data after uninstall 2023-05-30 14:43:10 -07:00
Charles Lombardo
748d1d5c32 android: Remove unused doFrame function 2023-05-30 14:43:10 -07:00
Charles Lombardo
32f6147235 android: Convert NativeLibrary to Kotlin 2023-05-30 14:43:10 -07:00
Charles Lombardo
1a9ecebc3f 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-05-30 14:43:10 -07:00
Charles Lombardo
70df43f447 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-05-30 14:43:10 -07:00
Charles Lombardo
2fa0a1a063 android: Adjust game icon loading 2023-05-30 14:43:10 -07:00
Charles Lombardo
02fdef8a4c android: Remove unused dimensions files 2023-05-30 14:43:09 -07:00
Charles Lombardo
8e815bd9db android: Slightly reduce game card size 2023-05-30 14:43:09 -07:00
Charles Lombardo
0520a95af1 android: Only show company text view if it has content 2023-05-30 14:43:09 -07:00
Charles Lombardo
7c9f323769 android: Fix check for ok text in software keyboard 2023-05-30 14:43:09 -07:00
Narr the Reg
049c0806ed android: Implement amiibo reading from nfc tag 2023-05-30 14:43:09 -07:00
bunnei
dbba423198 android: vulkan_device: Disable VK_EXT_custom_border_color on Adreno.
- Causes crashes on sampler creation with Super Mario Odyssey.
2023-05-30 14:43:09 -07:00
Charles Lombardo
8396e0a4e4 android: Add toggle controls option to input overlay 2023-05-30 14:43:09 -07:00
Charles Lombardo
8bb37e8355 android: Do not update FPS text on null view 2023-05-30 14:43:09 -07:00
Charles Lombardo
0b6cd1401e android: Convert keyboard applet to kotlin and refactor 2023-05-30 14:43:08 -07:00
bunnei
699366709c android: Implement basic software keyboard applet. 2023-05-30 14:43:08 -07:00
bunnei
c080971741 android: config: Disable shader cache by default on Android. 2023-05-30 14:43:08 -07:00
german77
b234a1fda8 android: Fix fps counter not showing up 2023-05-30 14:43:08 -07:00
Charles Lombardo
b406961d93 android: Prevent showing games on an invalid view 2023-05-30 14:43:08 -07:00
Charles Lombardo
eabd7fe810 android: Re-implement overlay editing 2023-05-30 14:43:08 -07:00
Charles Lombardo
34f17303c8 android: Fix popup menu going out of bounds 2023-05-30 14:43:08 -07:00
Charles Lombardo
b1b71f9ec1 android: Use autofit grid for games fragment 2023-05-30 14:43:08 -07:00
Charles Lombardo
ba537056a8 android: Prevent updating empty game list text on invalid view 2023-05-30 14:43:07 -07:00
Charles Lombardo
3c1395b2c7 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-05-30 14:43:07 -07:00
Charles Lombardo
47abe8e2b0 android: Store settings object in viewmodel 2023-05-30 14:43:07 -07:00
Charles Lombardo
5036f1385a android: Remove configChanges exceptions 2023-05-30 14:43:07 -07:00
Charles Lombardo
caa0228ac5 Android: Enable resizeable activities 2023-05-30 14:43:07 -07:00
Charles Lombardo
7a0aeb7bb3 android: Fix emulation fragment comments 2023-05-30 14:43:07 -07:00