Commit graph

24090 commits

Author SHA1 Message Date
Charles Lombardo
d9337f00e5 android: Prevent editing unsafe settings at runtime
There currently isn't a visual "disabled" cue for any of the view holders that aren't the switch setting. This will be improved in the future.
2023-06-01 17:58:28 -07:00
Charles Lombardo
5585845af5 android: Abstract settings
Previously we could only add settings that would change our ini file. Now we can create abstract settings in our presenter to alter things like shared preferences for theme support!
2023-06-01 17:58:28 -07:00
german77
2b0df09966 android: Implement gamepad input 2023-06-01 17:58:28 -07:00
Charles Lombardo
6f98a03dd2 android: Bump minimum version to Android 11 2023-06-01 17:58:28 -07:00
Charles Lombardo
2728262bb4 android: Decouple status bar shade from navigation bar visibility 2023-06-01 17:58:28 -07:00
Charles Lombardo
31d677e9a8 android: Enable code minification 2023-06-01 17:58:28 -07:00
Charles Lombardo
df1320356f android: Switch from a colored status bar to a custom view
Allows for smoother transitions with the search bar
2023-06-01 17:58:27 -07:00
Charles Lombardo
25d3ff266d android: Adjustments to card_game
Removed a currently unused text view and moved to material text views.
2023-06-01 17:58:27 -07:00
Charles Lombardo
62eb7fcd1a 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-06-01 17:58:27 -07:00
Charles Lombardo
fd32a675b7 android: Enforce Vulkan 1.1 support as minimum 2023-06-01 17:58:27 -07:00
Charles Lombardo
81df58f3e5 android: Update gradle version to 8.1 2023-06-01 17:58:27 -07:00
Charles Lombardo
085f717deb android: Update app dependencies 2023-06-01 17:58:27 -07:00
Charles Lombardo
5c0fa2126d android: Convert gradle scripts to Kotlin DSL 2023-06-01 17:58:27 -07:00
bunnei
6fa875f3e5 android: vulkan: Disable vertex_input_dynamic_state on Qualcomm. 2023-06-01 17:58:27 -07:00
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