Charles Lombardo
76108cee0a
android: Update dependencies
2023-06-03 00:05:59 -07:00
Charles Lombardo
1367956b05
android: Migrate to AGP 8.0.1
2023-06-03 00:05:59 -07:00
Charles Lombardo
3c3f7dcf2e
android: Enable non-transitive R classes
...
New default going forward for new android projects. Best to follow the new standard.
2023-06-03 00:05:59 -07:00
bunnei
4059d2f11d
android: config: Enable asynchronous presentation by default on Android.
2023-06-03 00:05:59 -07:00
german77
91596d5fd5
android: fix deadzone calculation
2023-06-03 00:05:58 -07:00
Charles Lombardo
da26114d3f
android: Fix background color when starting emulation
2023-06-03 00:05:58 -07:00
Charles Lombardo
2071d4fdc1
android: Persistent scrollbars on home settings fragment
2023-06-03 00:05:58 -07:00
Charles Lombardo
7930f6ea5d
android: Use short build hash
2023-06-03 00:05:58 -07:00
Charles Lombardo
fcebfe8943
android: Use navigation bar shade view
2023-06-03 00:05:58 -07:00
Charles Lombardo
c1a972d2a7
android: About fragment
2023-06-03 00:05:58 -07:00
Charles Lombardo
6a38aa2a7d
android: Use x-axis animation for navigation rail
2023-06-03 00:05:58 -07:00
Charles Lombardo
dfd0055339
android: Sort games alphabetically by default
2023-06-03 00:05:58 -07:00
Charles Lombardo
3287ba7d91
android: New icons for navigation bar
2023-06-03 00:05:57 -07:00
Charles Lombardo
790445276e
android: New icons for home settings fragment
2023-06-03 00:05:57 -07:00
Charles Lombardo
0928955a44
android: Add navigation rail
2023-06-03 00:05:57 -07:00
Charles Lombardo
0c04d1be50
android: Search Fragment
2023-06-03 00:05:57 -07:00
Charles Lombardo
932a6f42a2
android: Fix potential zip traversal exploit
2023-06-03 00:05:57 -07:00
german77
c7f27b72be
android: Add dedicated show overlay checkbox
2023-06-03 00:05:57 -07:00
Charles Lombardo
e53f927cb6
android: Add user directory shortcut
2023-06-03 00:05:57 -07:00
german77
87eacd09a0
android: Fix inline keyboard input
2023-06-03 00:05:57 -07:00
Charles Lombardo
766347e44d
android: Fix grammatical mistake in video core error message
2023-06-03 00:05:56 -07:00
Charles Lombardo
4010d5e9a3
android: Adjust wording on GPU driver install button
2023-06-03 00:05:56 -07:00
Narr the Reg
9d1c4a25a0
android: Add deadzone to stick input
2023-06-03 00:05:56 -07:00
german77
de7428c61e
android: Move motion listener to emulation activity
2023-06-03 00:05:56 -07:00
Narr the Reg
c4925fc96a
core: hid: Finish linking motion from virtual controllers
2023-06-03 00:05:56 -07:00
Charles Lombardo
06104b04b6
android: Change wording for "Add Games" button ( #100 )
...
Co-authored-by: bunnei <bunneidev@gmail.com>
2023-06-03 00:05:56 -07:00
Charles Lombardo
2e39fbd326
android: Scroll shortcut for games list
...
If you reselect the "Games" menu item in the bottom navigation menu, the list smoothly scrolls to the top.
2023-06-03 00:05:56 -07:00
Charles Lombardo
1113a08228
android: Setup screen hotfix
...
Added help button link for add games warning and a check for whether a task was completed on a given screen.
2023-06-03 00:05:56 -07:00
Charles Lombardo
92ce6a09cc
android: Swap Default and Install buttons for GPU driver installation dialog
2023-06-03 00:05:56 -07:00
Charles Lombardo
84be5142e1
android: Add warnings to setup screens
2023-06-03 00:05:56 -07:00
Charles Lombardo
1684d4905f
android: Allow search bar to scroll offscreen
2023-06-03 00:05:55 -07:00
Charles Lombardo
c191c5e33b
android: Update app icon
...
Small icon updates from Flam
2023-06-03 00:05:55 -07:00
Charles Lombardo
86c037531e
android: Change organization of the settings tab in the home screen
2023-06-03 00:05:55 -07:00
Charles Lombardo
e749fa534c
android: Properly pop setup fragment from the back stack
2023-06-03 00:05:55 -07:00
Charles Lombardo
fa3dbb7f01
android: Vertically scalable setup pages
...
Previously the setup pages would remain at a fixed height but now the icon and two text boxes will give up space as a device gets shorter. This eliminates the need for a scrolling view further problems with padding.
2023-06-03 00:05:55 -07:00
Charles Lombardo
7c08648906
android: Fix setup rotation bug
...
If you rotated the device at the "Add Games" screen the buttons would disappear until you trigged them from the beginning page swap. Now button state is saved across recreation.
2023-06-03 00:05:55 -07:00
Charles Lombardo
07d295f231
android: Temporarily switch for a fixed version code for testing
2023-06-03 00:05:55 -07:00
Charles Lombardo
f0ea804186
android: Fix alignment of SwipeRefreshLayout
2023-06-03 00:05:55 -07:00
Charles Lombardo
4677e684ec
android: Shape/spacing adjustments to game card
...
Ripple effect now reaches into rounded corners, icon size changed, company text removed, title font adjusted, and spacing around the card was adjusted as well. Text also doesn't get cut off anymore and instead scrolls indefinitely on one line.
2023-06-03 00:05:55 -07:00
Charles Lombardo
aa6a2ec832
android: Manual tweaks for dialog colors
...
Small fix for Flam
2023-06-03 00:05:54 -07:00
Charles Lombardo
4e727a4abf
android: Fix black backgrounds bug
...
Start using a specific night mode check because black backgrounds could apply incorrectly when using the light app mode, dark system mode, and black backgrounds. Launching the settings activity will show light mode colors/navigation bars but with black backgrounds.
2023-06-03 00:05:54 -07:00
Charles Lombardo
6b3335cf12
android: Use navigation bar shade view for settings activity
2023-06-03 00:05:54 -07:00
Charles Lombardo
f74a2c1bfa
android: Disable editing themes during emulation
2023-06-03 00:05:54 -07:00
Charles Lombardo
a38c9d2651
android: Prevent situation where binding is called on a null view
2023-06-03 00:05:54 -07:00
Charles Lombardo
744ec1961c
android: Add black backgrounds toggle
2023-06-03 00:05:54 -07:00
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
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
9a9c860d55
android: config: Change docked mode and GPU accuracy to favor performance on Android.
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
Charles Lombardo
157c5286c1
android: Only show company text view if it has content
2023-06-03 00:05:48 -07:00
Charles Lombardo
40d7b3724b
android: Fix check for ok text in software keyboard
2023-06-03 00:05:48 -07:00
Narr the Reg
9d11e03d61
android: Implement amiibo reading from nfc tag
2023-06-03 00:05:48 -07:00
Charles Lombardo
702b1a30ad
android: Add toggle controls option to input overlay
2023-06-03 00:05:48 -07:00
Charles Lombardo
8c40cdbb5c
android: Do not update FPS text on null view
2023-06-03 00:05:48 -07:00
Charles Lombardo
03275e4114
android: Convert keyboard applet to kotlin and refactor
2023-06-03 00:05:48 -07:00
bunnei
3a4270dbc2
android: Implement basic software keyboard applet.
2023-06-03 00:05:47 -07:00
bunnei
f3dfb76eb6
android: config: Disable shader cache by default on Android.
2023-06-03 00:05:47 -07:00