Ryan Meredith
d5ea4b4b80
Android: Prevent getSetting ClassCastExceptions in ItemViews
2020-08-21 11:09:24 -04:00
LC
905df6756b
Merge pull request #9024 from JosJuice/android-wiimote-false
...
Android: Fix defaults for WiimoteContinuousScanning/EnableSpeaker
2020-08-17 15:25:23 -04:00
JosJuice
ac17e49243
Android: Take RTL layout into account for menu animations
2020-08-17 19:37:40 +02:00
JosJuice
bd9d0964cd
Android: Fix defaults for WiimoteContinuousScanning/EnableSpeaker
...
The default values need to match the default values defined in C++.
2020-08-11 09:18:15 +02:00
JosJuice
02fe1cdec4
Android: Rewrite GetRenderSurfaceScale in Java
...
Long sequences of JNI calls are both hard to read and slow.
2020-08-09 21:07:22 +02:00
LC
5ec65a20d6
Merge pull request #9009 from JosJuice/android-settings-recreation
...
Android: Fix SettingsActivity lifecycle management
2020-08-06 19:46:16 -04:00
LC
d8c0344ee8
Merge pull request #9010 from JosJuice/android-settingsadapter-redundant-static
...
Android: Remove some static variables from SettingsAdapter
2020-08-06 19:45:54 -04:00
JosJuice
05e49b13ef
Android: Fix SettingsActivity back stack behavior after stop+start
...
Fixes the behavior where the settings activity would go back to
the top-level menu after switching to a different app and back.
2020-08-05 21:21:45 +02:00
JosJuice
a427eafa7b
Android: Persist Settings using ViewModel
...
Just for maintainability. This is a shorter and more standard
solution compared to our current one where the Fragment
persists the Settings and passes it to the Activity.
2020-08-05 19:50:11 +02:00
JosJuice
e3911736c2
Android: Remove some static variables from SettingsAdapter
...
All of these have non-static equivalents (mView and mClickedItem).
2020-08-05 18:47:17 +02:00
JosJuice
c727f03590
Android: Properly restore state of SettingsActivityPresenter
...
Fixes https://bugs.dolphin-emu.org/issues/10815
2020-08-05 13:21:07 +02:00
JosJuice
7414020563
Merge pull request #8966 from Ebola16/WP
...
Android: Clear game profiles and GameSettings
2020-08-02 22:06:16 +02:00
JosJuice
e33876fbe2
Merge pull request #8978 from Ebola16/RS
...
Android: Settings and Emulation activities skip (Tv)MainActivity library rescan
2020-08-02 22:05:38 +02:00
JosJuice
234eaa0ff9
Merge pull request #7252 from Ebola16/Log
...
Android: Add Log Configuration to UI
2020-08-02 22:00:48 +02:00
JosJuice
bf3d1fa2d8
Merge pull request #8858 from Ebola16/PUP
...
Android: Add Pause / Unpause Emulation Toggle
2020-08-02 21:56:25 +02:00
Ryan Meredith
12d277b4a0
Android: Add Pause / Unpause Emulation Toggle
2020-07-29 13:03:52 -04:00
JosJuice
709031bb1d
Android: Remove touchscreen check for rumble
...
That a device doesn't have a touchscreen doesn't necessarily mean
that it doesn't support rumble (though it is usually the case).
setPhoneVibrator already contains a check for whether the device
supports rumble, so we can simply remove the touchscreen check.
2020-07-29 17:48:56 +02:00
JosJuice
9c44ad11e3
Android: Set preferMinimalPostProcessing="true"
...
When using the combination of Android 11 and HDMI 2.1,
this will send a signal to the TV suggesting it to switch to
a low latency mode ("game mode").
2020-07-28 22:21:57 +02:00
Ryan Meredith
fdcc6a436b
Android: Add Log Configuration to UI
2020-07-24 13:59:13 -04:00
Ryan Meredith
e7d53224b2
Android: Clear game profiles and GameSettings
2020-07-24 13:36:38 -04:00
Ryan Meredith
a0ab90f4c6
Android: Settings and Emulation activities skip (Tv)MainActivity library rescan
2020-07-24 04:04:31 -04:00
Ryan Meredith
9ac24a0580
Android: Some simple Clang-Tidy suggestions
2020-07-22 15:38:45 -04:00
JosJuice
e9cc89af83
Android: Remove hacks for Wii Remote extension and video backend settings
2020-07-20 15:25:53 +02:00
LC
487cd7abd9
Merge pull request #8905 from JosJuice/jni-encoding
...
Android: Use correct encoding when converting strings
2020-07-18 22:13:14 -04:00
LC
b6ee3228be
Merge pull request #8953 from JosJuice/android-target-sdk-29
...
Android: Increase targetSdkVersion to 29
2020-07-14 12:51:44 -04:00
JosJuice
05da2e30ad
Android: Use system cache directory as cache directory
...
This lets Android automatically delete data in the cache
directory when the device is running low on space or
when Dolphin is uninstalled.
2020-07-12 13:33:07 +02:00
JosJuice
95945a000e
Android: Increase targetSdkVersion to 29
...
Since updating to 28 took us so long that Google Play started
requiring updates to target 28 before we actually merged the PR that
made us target 28, I'm trying to get the update to 29 done early.
Setting targetSdkVersion to 28 would normally force scoped storage
on us, which we do not support yet. However, we can easily
avoid this by setting android:requestLegacyExternalStorage="true".
There will be no such luxury with targetSdkVersion 30, however...
2020-07-12 12:02:37 +02:00
JosJuice
f5da6e07d7
Android: Use correct encoding when converting strings
...
The functions with "UTF" in the name use "modified UTF-8" rather
than the standard UTF-8 which Dolphin uses, at least according
to Oracle's documentation, so it is incorrect for us to use them.
This change fixes the problem by converting between UTF-8 and
UTF-16 manually instead of letting JNI do it for us.
2020-07-08 14:52:05 +02:00
LC
87287181dd
Merge pull request #8907 from JosJuice/android-overlay-stick-gate
...
Android: Use octagonal stick gate in overlay
2020-07-08 08:50:47 -04:00
LC
a5166be995
Merge pull request #8896 from JosJuice/android-game-details-scroll
...
Android: Wrap game details dialog in ScrollView
2020-07-08 08:48:42 -04:00
LC
5a696f4934
Merge pull request #8906 from JosJuice/android-button-id-typo
...
Android: Fix button ID typo
2020-07-08 08:47:33 -04:00
LC
25118e2acc
Merge pull request #8928 from Ebola16/ADSL
...
Android: Update "Speed Limit" for "Unlimited" value
2020-07-08 08:39:44 -04:00
JosJuice
c89828b22e
Android: Convert some files to LF
...
I wonder why lint didn't catch this...
2020-07-06 17:04:58 +02:00
Ryan Meredith
9438b3cab2
Android: Update "Speed Limit" for "Unlimited" value
2020-07-04 03:26:44 -04:00
JosJuice
f8e0ececb9
Android: Don't use square stick calibration
...
This essentially reverts d9c78d5
. Thanks to the previous commit,
the touch controls issue which was fixed by d9c78d5
is still fixed.
The behavior for gamepads is reverted, bringing back the ability
to run diagonally in games that had trouble with it after d9c78d5
.
2020-06-29 01:20:02 +02:00
JosJuice
db75509ec5
Android: Enfore correct stick gate in overlay
...
Currently, the touch controller overlay uses a square gate for
sticks. This commit changes that so that it instead uses the
stick gate configured in the INI, which ensures that the values
sent to the core are appropriately scaled regardless of what
is configured in the INI and makes the overlay look nicer
if the INI is set to a stick gate that matches the graphics.
2020-06-29 01:20:02 +02:00
JosJuice
e044db6da6
Android: Fix button ID typo
...
Probably didn't actually break anything in practice due to
how the code for sticks works, but still.
2020-06-28 22:12:35 +02:00
JosJuice
2a3aa7a1f6
Android: Wrap game details dialog in ScrollView
...
This makes the dialog scrollable if the contents don't fit on the
screen. This happens for me in landscape but not in portrait.
2020-06-25 12:23:56 +02:00
Tilka
26ed3b318c
Merge pull request #8891 from JosJuice/file-details
...
Show file format details in game properties
2020-06-25 11:00:49 +01:00
JosJuice
d494e0230c
Show file format details in game properties
2020-06-21 20:47:23 +02:00
JosJuice
8ce25769d7
Merge pull request #8803 from Ebola16/ANDROID
...
Android: Android INI section and make platform tab selection an INI setting
2020-06-21 13:49:56 +02:00
JosJuice
08c93adde2
Merge pull request #8739 from Ebola16/GCOVERLAY
...
Android: Separate GameCube overlay refresh logic
2020-06-21 13:49:45 +02:00
Ryan Meredith
53ccc7a2d1
Android: Make last platform tab selection an INI setting
2020-06-17 13:00:48 -04:00
JosJuice
e2ae2b3b0b
Add new file format RVZ based on WIA
2020-06-17 13:47:34 +02:00
JosJuice
8da5d0c4fe
Add an early version of WIABlobReader
...
It can currently only read the first 0x80 bytes of a disc image,
which is enough for identifying it but not for doing anything else.
2020-06-17 13:43:51 +02:00
Tilka
a2b7627d66
Merge pull request #8860 from Ebola16/Emu
...
Android: Disallow multiple launcher activities
2020-06-16 19:38:55 +01:00
Ryan Meredith
ea3c3fd952
Android: Separate GameCube overlay refresh logic
2020-06-16 13:27:13 -04:00
JosJuice
851b438419
Merge pull request #8844 from Ebola16/RGL
...
Android: Refresh game library when resuming (Tv)MainActivity
2020-06-16 18:08:48 +02:00
Ryan Meredith
1e6925e423
Android: Disallow multiple launcher activities
2020-06-16 11:52:58 -04:00
Ryan Meredith
bebeb935a5
Android: Android INI section
2020-06-14 10:54:08 -04:00