Commit graph

24207 commits

Author SHA1 Message Date
Charles Lombardo
c24322ce4c android: Add theme mode picker 2023-06-03 00:05:54 -07:00
Charles Lombardo
ab3ff694d5 android: Add theme picker 2023-06-03 00:05:54 -07:00
Charles Lombardo
119fe3996d android: Prevent potential abstract settings crash 2023-06-03 00:05:54 -07:00
Charles Lombardo
77131b8ab0 android: Fix cast for abstract settings 2023-06-03 00:05:54 -07:00
Charles Lombardo
7f765aa0a1 android: Create xml for Material You theme 2023-06-03 00:05:54 -07:00
Charles Lombardo
386aaea2b3 android: Remove check for API 29 in themes 2023-06-03 00:05:53 -07:00
Charles Lombardo
0f6270ca65 android: Adjustments to home option card
Several spacing/color adjustments provided by Flam
2023-06-03 00:05:53 -07:00
Charles Lombardo
55a2496645 android: Use different colors for logo in options menu
Reverting to the official logo colors
2023-06-03 00:05:53 -07:00
Charles Lombardo
80e38750aa android: New default theme colors 2023-06-03 00:05:53 -07:00
Charles Lombardo
0d689b87e9 android: Use libnx default icon
Credit to jaames for the original icon
2023-06-03 00:05:53 -07:00
Liam
96e9f4d582 android: enable LTO 2023-06-03 00:05:53 -07:00
Charles Lombardo
97286fee7e 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-03 00:05:53 -07:00
Charles Lombardo
159d55223b 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-03 00:05:53 -07:00
Charles Lombardo
61864877d7 android: Fix A button preference key 2023-06-03 00:05:53 -07:00
Charles Lombardo
bdf4119fa4 android: First time setup screen 2023-06-03 00:05:52 -07:00
Charles Lombardo
fe113db2f2 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-03 00:05:52 -07:00
Charles Lombardo
e691d74a1a 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-03 00:05:52 -07:00
german77
f88fce2c11 android: Implement gamepad input 2023-06-03 00:05:52 -07:00
Charles Lombardo
0d2549b062 android: Bump minimum version to Android 11 2023-06-03 00:05:52 -07:00
Charles Lombardo
373eab5529 android: Decouple status bar shade from navigation bar visibility 2023-06-03 00:05:52 -07:00
Charles Lombardo
0ee7e74fb8 android: Enable code minification 2023-06-03 00:05:52 -07:00
Charles Lombardo
75d3612139 android: Switch from a colored status bar to a custom view
Allows for smoother transitions with the search bar
2023-06-03 00:05:52 -07:00
Charles Lombardo
ac8bcc98a4 android: Adjustments to card_game
Removed a currently unused text view and moved to material text views.
2023-06-03 00:05:51 -07:00
Charles Lombardo
f556705914 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-03 00:05:51 -07:00
Charles Lombardo
6735b5dd2a android: Enforce Vulkan 1.1 support as minimum 2023-06-03 00:05:51 -07:00
Charles Lombardo
1c23ed27dd android: Update gradle version to 8.1 2023-06-03 00:05:51 -07:00
Charles Lombardo
929e93f0b5 android: Update app dependencies 2023-06-03 00:05:51 -07:00
Charles Lombardo
ea8a2aa8c8 android: Convert gradle scripts to Kotlin DSL 2023-06-03 00:05:51 -07:00
bunnei
2810793b17 android: vulkan: Disable vertex_input_dynamic_state on Qualcomm. 2023-06-03 00:05:51 -07:00
bunnei
9cba432a12 android: settings: Add scaling filter & anti-aliasing options. (#66) 2023-06-03 00:05:50 -07:00
bunnei
da0db2da17 android: video_core: Add support for disk shader cache. (#64) 2023-06-03 00:05:50 -07:00
bunnei
e8efc6121d android: vulkan_debug_callback: Ignore many innocuous errors. 2023-06-03 00:05:50 -07:00
bunnei
9a9c860d55 android: config: Change docked mode and GPU accuracy to favor performance on Android. 2023-06-03 00:05:50 -07:00
german77
8da09657e6 service: account: Save user profile folder on first user creation 2023-06-03 00:05:50 -07:00
german77
a21d1dcd1e android: Initialize account manager 2023-06-03 00:05:50 -07:00
german77
ea63f26a20 android: Remove unsafe null check 2023-06-03 00:05:50 -07:00
Charles Lombardo
5b201decb8 android: Scale input overlay independently of system display scale 2023-06-03 00:05:50 -07:00
Charles Lombardo
61346cfe43 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-03 00:05:50 -07:00
Charles Lombardo
4b3b59611b android: Add DPad slide toggle 2023-06-03 00:05:50 -07:00
Charles Lombardo
9f477c9592 android: Add relative stick center toggle 2023-06-03 00:05:49 -07:00
Charles Lombardo
5880b3d18d android: Make hash and branch accessible from BuildConfig 2023-06-03 00:05:49 -07:00
Charles Lombardo
c04cc1b4f4 android: Backup shared preferences where applicable 2023-06-03 00:05:49 -07:00
Charles Lombardo
e9aa7de8d2 android: Enable retaining app data after uninstall 2023-06-03 00:05:49 -07:00
Charles Lombardo
aeeb148d1a android: Remove unused doFrame function 2023-06-03 00:05:49 -07:00
Charles Lombardo
485074b57f android: Convert NativeLibrary to Kotlin 2023-06-03 00:05:49 -07:00
Charles Lombardo
939dc1813e 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-03 00:05:49 -07:00
Charles Lombardo
f41bca4873 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-03 00:05:49 -07:00
Charles Lombardo
df2e69f896 android: Adjust game icon loading 2023-06-03 00:05:49 -07:00
Charles Lombardo
229c4f5895 android: Remove unused dimensions files 2023-06-03 00:05:48 -07:00
Charles Lombardo
7c887a4901 android: Slightly reduce game card size 2023-06-03 00:05:48 -07:00