SachinVin
9e7da729a9
android:game_info.cpp: correct grammar in comment
2020-08-15 13:58:48 -04:00
zhupengfei
abf2cca772
android/ndk_camera: Fix rotation
...
`width` and `height` are not necessarily swapped at this point
2020-08-15 13:58:48 -04:00
FearlessTobi
70db15a3ec
android: Make toolbar text black
2020-08-15 13:58:48 -04:00
SachinVin
9ffaeb33f8
android:game_info.cpp: cleanup spammy log
2020-08-15 13:58:48 -04:00
zhupengfei
d6e6723ce4
still_image_camera: Fix incorrect JNI usage
...
As `jstring`s are also object references, if we would like to use them across native methods/threads, we would have to make a global reference.
We will need to delete this global reference explicitly. Since this string is shared across multiple Interfaces and also in Factory, I used shared_ptr to manage deletion. Added a fancy SharedGlobalRef to id_cache.h.
Also removed global reference creation for java/lang/String classes. Turns out that local references are guaranteed valid for the duration of the method, and I was just being too cautious.
2020-08-15 13:58:48 -04:00
FearlessTobi
c8a1e974f3
android: Add dark theme icons
2020-08-15 13:58:48 -04:00
FearlessTobi
0f5539c618
android: Run final format
2020-08-15 13:58:48 -04:00
FearlessTobi
daccc39f7a
android: Run clang-format
2020-08-15 13:58:47 -04:00
FearlessTobi
e704f8908e
android: Format code
...
Finally makes us have consistent code format in the codebase.
2020-08-15 13:58:47 -04:00
zhupengfei
af50dedfbc
android/ndk_camera: A few fixes
...
1. Remove unused code
2. Avoid crashes when camera wasn't opened
3. Avoid potential data race
2020-08-15 13:58:47 -04:00
zhupengfei
773107a3f1
android: Fix camera settings
...
1. Fix settings crash when it gets treated as IntSetting
2. Properly report camera facing
2020-08-15 13:58:47 -04:00
bunnei
4994082881
android: GameDatabase: Fix typo in rebase.
2020-08-15 13:58:47 -04:00
SachinVin
f8fd91eca7
android: GameDatabase: dont add misc extensions from sub folders.
2020-08-15 13:58:47 -04:00
SachinVin
9d03618616
android: Recursive dir
...
# Conflicts:
# src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java
# src/android/app/src/main/jni/native.cpp
# Conflicts:
# src/android/app/src/main/java/org/citra/citra_emu/model/GameDatabase.java
# src/android/app/src/main/jni/native.cpp
2020-08-15 13:58:47 -04:00
FearlessTobi
9e27fbb8b8
android: Add finished translations from Transifex
...
This adds all languages that have at least translated 50% of the Android source file.
I hope we can automate this process in the future.
2020-08-15 13:58:47 -04:00
SachinVin
be7895173a
android/CustomFilePickerFragment: fixup call super.goUp() instead
2020-08-15 13:58:47 -04:00
BreadFish64
2b815d0464
android/GameList: Scan for installed titles
2020-08-15 13:58:47 -04:00
SachinVin
acfcecb0ee
android/CustomFilePickerFragment: don't go up beyond the External Storage Directory ...
...
/storage/emulated/0/
2020-08-15 13:58:47 -04:00
bunnei
8757dba305
android: overlay: Tighten portrait A/B/X/Y buttons.
2020-08-15 13:58:47 -04:00
bunnei
13918cfe79
android: overlay: Tighten portrait input a bit, this feels more natural.
2020-08-15 13:58:47 -04:00
bunnei
9f10e48408
android: InputOverlayDrawableJoystick: Fix off by 1 error with inner joystick.
2020-08-15 13:58:47 -04:00
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