Commit graph

771 commits

Author SHA1 Message Date
FearlessTobi
4d55e58ee4 scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
liamwhite
f01f9cdae2 Merge pull request #13064 from t895/auto-map-fail
android: Only do first startup automapping if nothing has been mapped
2024-02-18 10:27:49 -05:00
liamwhite
6d7339a332 Merge pull request #13065 from t895/cancel-button-fail
android: Show cancel button for the content install notice
2024-02-18 10:25:04 -05:00
t895
d62cea4622 android: Map touches to touchscreen
I neglected to map touches to the touchscreen when refactoring in the input mapping PR. This fixes that regression.
2024-02-18 10:00:37 -05:00
t895
45b159e21b android: Show cancel button for the content install notice 2024-02-18 09:23:46 -05:00
t895
7dc4962c83 android: Only do first startup automapping if nothing has been mapped 2024-02-18 09:18:54 -05:00
t895
4b0ab0fc00 android: Create lifecycle utility to simplify common StateFlow operations 2024-02-17 23:09:09 -05:00
t895
370f2eb7dd android: Use extension functions for view visibility and text marquee 2024-02-17 22:45:33 -05:00
liamwhite
73fd4133d1 Merge pull request #13052 from t895/serializable-stuff
android: Move CoreErrorDialogFragment to its own file
2024-02-17 22:22:46 -05:00
t895
ee98ee491a android: Move CoreErrorDialogFragment to its own file 2024-02-17 21:58:25 -05:00
t895
a29782ce6a android: Input mapping 2024-02-17 12:32:33 -05:00
t895
4e34af1a26 android: Allow SettingsItems to use String or StringRes 2024-02-16 21:04:26 -05:00
Narr the Reg
21e754cffb Merge pull request #12993 from liamwhite/am-rewrite-part1
am: rewrite part 1
2024-02-14 11:02:38 -06:00
liamwhite
887db829ba Merge pull request #13009 from t895/message-dialog-fix
android: Message dialog tweaks
2024-02-13 14:46:56 -05:00
t895
a3f5a8151f android: Prevent user from dismissing mod/cheat notice
Makes sure that a user can't miss this dialog by touching outside the window. They must press "OK" or "Close" to continue.
2024-02-13 13:46:14 -05:00
t895
d2fd59733b android: Show cancel option for delete addons dialog 2024-02-13 13:45:17 -05:00
t895
cb0d5896c5 android: Swap ok and close default strings for MessageDialogFragment 2024-02-13 13:44:35 -05:00
t895
4507d2f9c3 android: Add screen vertical alignment setting
It's a bit of a hack since I'm moving the view instead of telling the Vulkan surface to bias itself to the top/bottom/center but it works fine for now.
2024-02-13 10:10:59 -05:00
t895
1b48ee6e45 android: Expose FSR sharpness slider 2024-02-13 10:04:59 -05:00
t895
981aac6281 android: Swap confirmation buttons for delete save data dialog 2024-02-12 16:54:46 -05:00
t895
57b827eabf android: Extend MessageDialogFragment to support a negative action and button titles 2024-02-12 16:54:19 -05:00
Liam
0276ae2f95 am: rewrite appletAE, appletOE 2024-02-11 21:59:33 -05:00
liamwhite
354e0a2791 Merge pull request #12920 from t895/jni-common
android: Move JNI setup and helpers to common
2024-02-09 11:49:25 -05:00
liamwhite
80f4a91d35 Merge pull request #12968 from t895/thermal-status
android: Thermal throttling indicator
2024-02-09 11:47:17 -05:00
liamwhite
dcca4e6d9b Merge pull request #12964 from t895/foreground-service-test
android: Remove foreground service
2024-02-09 11:47:11 -05:00
t895
db95f51c69 android: Use utility function for applying view margins 2024-02-09 07:07:06 -05:00
t895
bce86d8102 android: Add thermal throttling overlay 2024-02-09 07:07:05 -05:00
t895
54d8e5e643 android: Remove foreground service 2024-02-08 21:04:14 -05:00
t895
95199610fd android: Fix regex for git version 2024-02-08 14:24:15 -05:00
t895
0e001c4ab8 android: Run OnEmulationStarted frontend callback in another thread
The JVM has problems with attaching to a Fiber so we start a new thread and wait for the result here.
2024-02-08 14:13:46 -05:00
t895
28fcbacc78 android: Move JNI setup and helpers to common 2024-02-08 13:45:26 -05:00
t895
a7e7f1b899 ci: android: Play store publishing setup 2024-02-04 10:54:18 -05:00
Liam
1a51a1281c am: retrieve main applet creation info from frontend 2024-01-29 20:17:09 -05:00
Liam
6925b78bd5 am: re-namespace frontend applets to frontend directory 2024-01-29 18:43:45 -05:00
t895
6e6b084c6c android: Don't show delete button for system driver 2024-01-29 06:59:34 -05:00
liamwhite
9f2f98d9e9 Merge pull request #12826 from t895/system-driver-version
android: Show system driver information
2024-01-28 11:57:58 -05:00
t895
c84fac9ab4 android: Disable focus on loading card
Additionally de-emphasize the ripple that I can't disable
2024-01-28 00:25:07 -05:00
t895
6b23690b75 android: Show system driver information 2024-01-27 23:59:02 -05:00
t895
d9f725ba4a android: Multi-program app switching 2024-01-27 20:05:51 -05:00
t895
d275537111 android: Reload global settings on closing emulation
UI like the driver manager expects the global settings to be loaded when in the MainActivity so we reload global config to properly reset state on exit.
2024-01-26 23:05:02 -05:00
liamwhite
2f7096bf31 Merge pull request #12809 from t895/error-message
android: Add cancel condition to installed content check
2024-01-26 09:56:01 -05:00
liamwhite
1b04167b27 Merge pull request #12707 from FearlessTobi/fs-housekeeping
fs: Various cleanups & add path class for later use
2024-01-26 09:55:25 -05:00
t895
55462a3e65 android: Add cancel condition to installed content check 2024-01-26 09:29:51 -05:00
t895
ee0b3c01de android: Disable default focus highlight on views that shouldn't be selected 2024-01-25 20:49:57 -05:00
t895
d04853839d android: Allow controller to focus on toolbar menu items
Workaround for this
https://issuetracker.google.com/issues/256948272
2024-01-25 20:48:58 -05:00
t895
c7a39b02d2 android: Add 600dp layout for GameInfoFragment 2024-01-25 20:46:03 -05:00
t895
546bb43a3c android: Fix button click listener for build version name
Was set to the text instead of the parent view by mistake
2024-01-25 20:43:12 -05:00
t895
ee22a87867 android: Disable focus for the root of cards that contain buttons 2024-01-25 20:42:23 -05:00
t895
fdddac1a57 android: Focus on the in game menu when opened 2024-01-25 20:39:52 -05:00
FearlessTobi
2b4d7506a8 Address review comments and fix compilation problems 2024-01-25 16:43:53 -05:00