bunnei
459222cf1b
android: BillingManager: Add a useful comment to onQuerySkuDetailsFinished.
2020-08-15 13:58:47 -04:00
bunnei
1c9d8e757e
android: EmulationActivity: Fix a crash when controller is disconnected.
2020-08-15 13:58:47 -04:00
bunnei
d3896578f9
android: BillingManager: Fix issue with onQuerySkuDetailsFinished null param.
...
- Happens when not associated with a Google account.
2020-08-15 13:58:47 -04:00
FearlessTobi
339b5963ae
android: Minor changes to theming
2020-08-15 13:58:47 -04:00
FearlessTobi
90edcd2cc8
android/Settings: Set mStackCount to 0 when starting the Activity
...
Fixes a bug where you would have to click multiple times to get out of the settings after turning the screen off and on again.
2020-08-15 13:58:47 -04:00
SachinVin
20659291e8
Android: directory picker: Add archive extensions for consistency
2020-08-15 13:58:47 -04:00
FearlessTobi
865c85a583
android: Change theme colors and modify icons
2020-08-15 13:58:47 -04:00
FearlessTobi
7a8ee437f1
android/MainPresenter: Add double click prevention for the buttons
2020-08-15 13:58:47 -04:00
bunnei
aa0efe747c
android: settings: Fix config issue with texture_filter_name for premium.
2020-08-15 13:58:47 -04:00
bunnei
cd0b98c09a
android: native: Fix crash on multiple ZIP boots.
2020-08-15 13:58:47 -04:00
bunnei
d1cb2f9807
android: strings: Update for asynchronous GPU.
2020-08-15 13:58:47 -04:00
bunnei
37534ea005
android: settings: Make texture filtering a premium setting.
2020-08-15 13:58:47 -04:00
bunnei
df9d81a392
settings: PremiumSingleChoiceSetting: Fix bug in getting/setting value.
2020-08-15 13:58:47 -04:00
bunnei
933ca3b32a
android: EmulationActivity: Fix merge issue with onActivityResult.
2020-08-15 13:58:46 -04:00
bunnei
47e8ca418c
Merge branch 'mii-selector' into 'master'
...
android/applets: Implement Mii Selector
See merge request CitraInternal/citra-android!33
2020-08-15 13:58:46 -04:00
bunnei
a81294e1e1
Merge branch 'amiibo' into 'master'
...
android: Add Amiibo file support
See merge request CitraInternal/citra-android!34
2020-08-15 13:58:46 -04:00
bunnei
2fe773135e
android: native: Ensure shutdown on exit.
2020-08-15 13:58:46 -04:00
bunnei
68549831d2
android: EmulationActivity: Fix gamepad triggers.
2020-08-15 13:58:46 -04:00
bunnei
9741b5fe8f
android: settings: Use more explicit ARG_MENU_TAG.
2020-08-15 13:58:46 -04:00
bunnei
f5f56fb76f
android: PremiumSingleChoiceSetting: Add null check to avoid a crash.
2020-08-15 13:58:46 -04:00
bunnei
d5addc9bf0
android: settings: Disable 'System Default' theme for pre-Android 10.
...
- It's not officially supported.
2020-08-15 13:58:46 -04:00
bunnei
a017f260c8
android: settings: Store theme setting in shared preferences.
...
- Fixes some jankieness.
2020-08-15 13:58:46 -04:00
bunnei
24f98cef3d
Revert "Merge branch 'rt-android' into 'master'"
...
This reverts commit df9f831a915524e87bf6d63ce86d76589a3fcd6c, reversing
changes made to 1e11e0aecbfdc5ddb7ad835fe673366d68788bc6.
2020-08-15 13:58:46 -04:00
SachinVin
9cd499f3e1
android: create SingletonInstance for Picasso and add a place holder icon
2020-08-15 13:58:46 -04:00
FearlessTobi
2b9e4eb10f
android: Also disable realtime audio in the settings presenter
2020-08-15 13:58:46 -04:00
SachinVin
c059956a46
Update dynarmic
2020-08-15 13:58:46 -04:00
zhupengfei
ac993de860
Address review
2020-08-15 13:58:46 -04:00
zhupengfei
d024f1b510
ndk_camera: Fixes
...
Removed debug logs and unused code
Turned CaptureSession struct for simplicity
Added support for camera reload
Fixed ANativeWindow not released
2020-08-15 13:58:46 -04:00
zhupengfei
33a5704e6a
android/camera: UX enhancements
...
1. Only request camera permissions once
2. Set the default settings to NDK camera
3. When camera device is not found, fall back to still image
4. Add 'Camera Device' configuration when one is found
5. Added a message when camera permissions are denied
For 4, I had to remove the use of the `config` field in StillImage camera.
2020-08-15 13:58:46 -04:00
zhupengfei
e7d628ab51
android: Add simple UI for camera configuration
...
The UI is subject to be changed. At least need to add a camera device selection. I also think we should make Device Camera the default
2020-08-15 13:58:46 -04:00
zhupengfei
8e6e59d4e9
fixes to the NDK camera implementation
2020-08-15 13:58:46 -04:00
zhupengfei
c130c065b4
android/camera: Implement image flipping
...
We use libyuv's Mirror function to handle horizontal flip. Regarding the vertical flip, libyuv doc states that 'just set a negative height'
2020-08-15 13:58:46 -04:00
zhupengfei
24fc1150a8
android: Add NDK camera implementation
...
Not tested yet as my device doesn't support camera2...
2020-08-15 13:58:46 -04:00
zhupengfei
35656eda05
android: Add a still image camera
...
Similar to what is in the Qt frontend, this camera takes a URI to a
picture file. When the config is empty, it will open up the gallery and
ask the user to pick a picture.
The image is then read and cropped from the Java side by the Picasso library,
and sent to the native code with android NDK Bitmap API (jnigraphics).
The native code handles the format conversion with libyuv.
Image flipping is yet to be implemented.
2020-08-15 13:58:46 -04:00
zhupengfei
61d37ef667
externals: Add libyuv and jnigraphics
2020-08-15 13:58:46 -04:00
bunnei
2827a4df48
android: audio: Disable realtime audio by default.
2020-08-15 13:58:46 -04:00
bunnei
e783ee9e07
android: Apply correct theme at boot.
2020-08-15 13:58:46 -04:00
bunnei
8240e12286
android: Implement billing for Premium.
2020-08-15 13:58:46 -04:00
zhupengfei
012a0ac8d3
Fix a typo in swkbd
...
That made the application crash when an @ is typed and the game prohibited it
2020-08-15 13:58:46 -04:00
BreadFish64
737af21683
memory: fix memory leak related to un-freed shared memory
2020-08-15 13:58:46 -04:00
BreadFish64
7499965950
Revert "android: log: TrimSourcePath: Cannot be constexpr."
...
This reverts commit 21a75c52
2020-08-15 13:58:46 -04:00
FearlessTobi
1c60b48f69
GameDatabase: Don't rescan when upgraded
...
This otherwise causes a crash because the Database gets closed too early.
2020-08-15 13:58:46 -04:00
FearlessTobi
3b26a35349
GameDatabase: Increase DB_VERSION
...
I forgot to do this in a previous PR.
2020-08-15 13:58:46 -04:00
bunnei
5b849d859d
android: MainActivity: Move theme setup to after settings initialization.
...
- Fixes a crash.
2020-08-15 13:58:46 -04:00
FearlessTobi
3be0a1ed0b
android: Add premium section and Dark Theme setting
2020-08-15 13:58:46 -04:00
FearlessTobi
9198ac500b
android/GameAdapter: Fix the getColor calls using the wrong context
2020-08-15 13:58:46 -04:00
FearlessTobi
a50a4b08c8
android/build: Update exifinterface to version 1.2.0
2020-08-15 13:58:46 -04:00
FearlessTobi
5958910f84
android: Make adjustScale reflect changes without closing the dialog
2020-08-15 13:58:46 -04:00
FearlessTobi
99fa8f92b0
android: Clarify the warning in the Debug tab
2020-08-15 13:58:46 -04:00
FearlessTobi
2deabaeb0c
android: Enable audio stretching by default
...
It helps eliminate stutter and won't have a huge perf penalty, hopefully.
2020-08-15 13:58:46 -04:00