Commit graph

24106 commits

Author SHA1 Message Date
Charles Lombardo
41c1ede953 android: Add black backgrounds toggle 2023-06-01 17:58:30 -07:00
Charles Lombardo
66be140e21 android: Add theme mode picker 2023-06-01 17:58:30 -07:00
Charles Lombardo
7f9e0b7da0 android: Add theme picker 2023-06-01 17:58:30 -07:00
Charles Lombardo
9abeba37ab android: Prevent potential abstract settings crash 2023-06-01 17:58:29 -07:00
Charles Lombardo
1b25be830a android: Fix cast for abstract settings 2023-06-01 17:58:29 -07:00
Charles Lombardo
2c09f303bf android: Create xml for Material You theme 2023-06-01 17:58:29 -07:00
Charles Lombardo
d616f8f3d9 android: Remove check for API 29 in themes 2023-06-01 17:58:29 -07:00
Charles Lombardo
85c558081d android: Adjustments to home option card
Several spacing/color adjustments provided by Flam
2023-06-01 17:58:29 -07:00
Charles Lombardo
e9a9016a91 android: Use different colors for logo in options menu
Reverting to the official logo colors
2023-06-01 17:58:29 -07:00
Charles Lombardo
df4fa1315d android: New default theme colors 2023-06-01 17:58:29 -07:00
Charles Lombardo
7e3134dcbb android: Use libnx default icon
Credit to jaames for the original icon
2023-06-01 17:58:29 -07:00
Liam
7666b2f944 android: enable LTO 2023-06-01 17:58:29 -07:00
Charles Lombardo
5dbb49ba1c android: Show error if invalid keys file is selected
There aren't MIME types specific enough for filtering out files that aren't amiibo or production keys. So here we just check for the extensions "bin" or "keys" where appropriate and stop the process if incorrect. Previously you could select any document and it could cause the app to hang.
2023-06-01 17:58:29 -07:00
Charles Lombardo
a391c1bb8f android: Fix first time setup scrolling bug
If you quickly scrolled from the second page to the first and then back, the next/back buttons would disappear.
2023-06-01 17:58:28 -07:00
Charles Lombardo
b283d8e625 android: Fix A button preference key 2023-06-01 17:58:28 -07:00
Charles Lombardo
362bf8b670 android: First time setup screen 2023-06-01 17:58:28 -07:00
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