summaryrefslogtreecommitdiff
path: root/Source/Android
AgeCommit message (Collapse)Author
2023-03-01Android: Convert ARCheat to KotlinCharles Lombardo
2023-03-01Android: Initialize TaskViewModel earlier in User Data ActivityCharles Lombardo
2023-02-28Merge pull request #11515 from t895/user-data-kotlinCharles Lombardo
Android: Rewrite User Data Activity in Kotlin
2023-02-28Android: Use DialogFragments to direct UserData actionsCharles Lombardo
2023-02-28Android: Convert ThreadUtil to KotlinCharles Lombardo
2023-02-28Common/FatFsUtil: Add callback for cancelling SD card conversion.Admiral H. Curtiss
2023-02-28Jit: Don't use a second stackJosJuice
This second stack leads to JNI problems on Android, because ART fetches the address and size of the original stack using pthread functions (see GetThreadStack in art/runtime/thread.cc), and (presumably) treats stack addresses outside of the original stack as invalid. (What I don't understand is why some JNI operations on the CPU thread work fine despite this but others don't.) Instead of creating a second stack, let's borrow the approach ART uses: Use pthread functions to find out the stack's address and size, then install guard pages at an appropriate location. This lets us get rid of a workaround we had in the MsgAlert function. Because we're no longer choosing the stack size ourselves, I've made some tweaks to where the put the guard pages. Previously we had a stack of 2 MiB and a safe zone of 512 KiB. We now accept stacks as small as 512 KiB (used on macOS) and use a safe zone of 256 KiB. I feel like this should be fine, but haven't done much testing beyond "it seems to work". By the way, on Windows it was already the case that we didn't create a second stack... But there was a bug in the implementation! The code for protecting the stack has to run on the CPU thread, since it's the CPU thread's stack we want to protect, but it was actually running on EmuThread. This commit fixes that, since now this bug matters on other operating systems too.
2023-02-27Android: Refactor handleMenuTagJosJuice
It was a bit silly having four functions for effectively the same thing in all of SettingsFragmentView, SettingsFragment, SettingsActivityView, SettingsActivity, and SettingsActivityPresenter. With this change, we split on the four MenuTag types in SettingsActivityPresenter instead of in SettingsAdapter.
2023-02-27Android: Add a button for accessing controller mappingsJosJuice
The settings GameCube Controller N and Wii Remote N (where N is a number) have two purposes: You can select what controller type you want to use, and also, when you select a controller type (even if you're selecting the one that already is selected), the mapping settings open. This second part is less discoverable than it ideally should be. I'm changing it so that there now is a button for opening the mapping settings instead.
2023-02-25Android: Remove unused refreshScreenshotAtPosition interface methodCharles Lombardo
2023-02-25Android: Create AutofitGridLayoutManagerCharles Lombardo
Extends GridLayoutManager to make span changes much more responsive.
2023-02-20Merge pull request #11590 from t895/unused-layout-classJosJuice
Android: Remove SettingsFrameLayout
2023-02-20Merge pull request #11408 from t895/coilJosJuice
Android: Rewrite image loading with Kotlin and Coil
2023-02-20Android: Remove SettingsFrameLayoutCharles Lombardo
2023-02-20Android: Replace Glide with Coil image loadingCharles Lombardo
2023-02-18Merge pull request #11521 from t895/adjust-grid-optionsJosJuice
Android: Simplify the grid options dialog fragment
2023-02-15Android: Convert UserDataActivity to KotlinCharles Lombardo
2023-02-13Merge pull request #11538 from t895/disc-speed-stuffScott Mansell
Rename "Speed up Disc Transfer Rate" to "Emulate Disc Speed"
2023-02-12Android: Expose Emulate Disc SpeedCharles Lombardo
2023-02-11Rename VI Skip to VBI SkipMayImilae
VI Skip was very hard to explain on the blog, so this small changes clarifies what VI Skip is to resolve that issue.
2023-02-09Merge pull request #11522 from phire/KillRendererWithFireScott Mansell
Kill Renderer (with phire)
2023-02-08Android: Convert image loading code to KotlinCharles Lombardo
2023-02-02Android: Add Skylanders PortalJoshua de Reeper
Co-Authored-By: Charles Lombardo <clombardo169@gmail.com>
2023-02-01Merge pull request #11495 from OatmealDome/android-cmakeAdmiral H. Curtiss
Android: Don't enforce a particular CMake version
2023-02-01Android: Fix settings being editable when marked otherwiseCharles Lombardo
2023-01-31Cleanup headersScott Mansell
2023-01-31Merge pull request #11513 from JosJuice/android-scaled-int-settingCharles Lombardo
Android: Create ScaledIntSetting class
2023-01-31Move Presenting, Dumping and ImGui out of RendererScott Mansell
2023-01-30Android: Simplify the grid options dialog fragmentCharles Lombardo
2023-01-30Merge pull request #11519 from lioncash/androidJosJuice
AndroidCommon: Make use of std::string_view where applicable
2023-01-30Android: Create ScaledIntSetting classJosJuice
A little refactoring to cut down on the size of the very big SettingsFragmentPresenter class. I ended up adding a bunch of @NonNull annotations in various settings classes so I could make the parameters `Settings` instead of `Settings?` in the new Kotlin code.
2023-01-30Merge pull request #11518 from t895/deprecated-settingJosJuice
Android: Remove unused force filtering setting
2023-01-30Android: Remove unused force filtering settingCharles Lombardo
2023-01-30AndroidCommon: Make use of std::string_view where applicableLioncash
Several of these can take a string_view rather than needing to specifically use std::string.
2023-01-30Android: Set each slider step size manuallyCharles Lombardo
2023-01-29Android: Fix crash when attempting to change MEM2 sizeJosJuice
The step size for the slider ended up being 10, but Android wanted it to be a divisor of the slider's range (which is 128 - 64 = 64).
2023-01-29Merge pull request #11460 from t895/reveal-settingsPierre Bourdon
Android: Reveal several hidden settings
2023-01-26Android: Convert Analytics to KotlinCharles Lombardo
2023-01-26Android: Create analytics dialog fragmentCharles Lombardo
2023-01-26Android: Don't enforce a particular CMake versionOatmealDome
2023-01-26Merge pull request #11208 from TellowKrinkle/CPUCullPierre Bourdon
Cull vertices on the CPU
2023-01-25VideoCommon: Add configuration option for CPUCullTellowKrinkle
2023-01-24Common: Replace StringBeginsWith/StringEndsWith with std equivalentsLioncash
Obsoletes these functions in favor of the standard member functions added in C++20.
2023-01-24Merge pull request #11413 from t895/sample-window-sliderMai
Android: Add slider for Performance Sample Window
2023-01-24Merge pull request #11482 from t895/rtl-fixesMai
Android: Fix RTL layout in several views
2023-01-24Merge pull request #11443 from t895/agp-upgrade-eelMai
Android: Update build tools and dependencies
2023-01-24Merge pull request #11483 from t895/grid-option-fixMai
Android: Fix grid options menu string
2023-01-24Android: Fix rtl layout in cheat details fragmentCharles Lombardo
2023-01-24Android: Fix rtl layout for about dialogCharles Lombardo
2023-01-24Android: Fix rtl layout on game details dialogCharles Lombardo