Commit Graph
389 Commits
Author SHA1 Message Date
Henrik Rydgård 9a8176508d Fix issue with the new inset code (forgot to take cutouts into account) 2025-11-22 10:30:26 +01:00
Henrik RydgårdandGitHub defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00
Henrik Rydgård 2fce2da709 Apply the font system rework to Android as well 2025-11-09 08:52:21 +01:00
Henrik Rydgård 833f80421f Delete some obsolete code 2025-11-06 23:44:55 +01:00
Henrik Rydgård cfe807baed Android refactor: Move all contentUri utilities to the new class ContentUri 2025-11-06 23:44:55 +01:00
Henrik Rydgård 073ef61643 Merge the two functions, fix JNI lifetime issues
Fixes the last part of #10885 finally.
2025-09-05 10:31:51 +02:00
Henrik Rydgård 2a7dad43c6 WIP: Turn the methods into static methods. 2025-09-05 10:31:27 +02:00
Henrik Rydgård 7df5941531 Correctly convert one AndroidStorage method into static 2025-09-05 10:31:27 +02:00
Henrik Rydgård cfba17b6e6 Correct error codes from sceUtilityLoadAvModule / UnloadAvModule.
Fixes #20775
2025-09-04 15:18:15 +02:00
Henrik Rydgård 214995d9d5 Fix more lints, set up a lint baseline for Android 2025-09-02 14:35:29 +02:00
Henrik Rydgård d5682910cc Use AppCompat to implement future-compatible Back handling. 2025-09-02 14:25:46 +02:00
Henrik Rydgård ebe4fccbb1 Change some uses of TargetApi to RequiresApi 2025-09-02 13:51:36 +02:00
Henrik Rydgård 6c238e0109 Small upgrade to the ParamSFO window: Show the original params, add copy to clipboard 2025-09-02 00:50:12 +02:00
Henrik Rydgård d9d3bc38a2 Fix a potential race condition in Vulkan shutdown 2025-09-01 00:15:04 +02:00
Henrik Rydgård 4aec1d1798 Some contentUri function cleanup 2025-09-01 00:15:04 +02:00
Henrik Rydgård 46a35003ea Track the Android activity lifecycle, log errors if we see problems. 2025-08-31 14:37:37 +02:00
Henrik Rydgård 9218fe9b59 Rework the shutdown logic in the OpenGL backend. Eliminated race conditions. 2025-08-31 10:57:06 +02:00
Henrik Rydgård b813a6c30f Logging improvements 2025-08-31 00:59:51 +02:00
Henrik Rydgård 539abb8d4f More minor cleanups 2025-08-31 00:59:51 +02:00
Henrik Rydgård cee9494476 Consolidate the touch event handling between the two SurfaceView classes 2025-08-31 00:59:51 +02:00
Henrik Rydgård 37677e22a0 Android: Consolidate shared code between the surface view classes 2025-08-31 00:59:51 +02:00
Henrik Rydgård c58abd14aa Remove support for Moga controllers.
Moga was an early "standard" (well, supported by a single company) for
joystick input before Android got official support, which was a long,
long time ago. I can't imagine many of these are still in use. Plus, the
Moga integration library broke back in Lollipop so we've carried around
an ugly workaround.

Let's just get rid of this stuff.
2025-08-29 21:27:47 +02:00
Henrik Rydgård c57163ec86 Remove a lot more redundant Android version checks 2025-08-29 11:35:48 +02:00
Henrik Rydgård 827b59f4cd Remove a lot of obsolete Android version checks 2025-08-29 11:15:16 +02:00
Henrik Rydgård 8cdf1a435b Bump the androidx appcompat version. Not quite to the latest but not far behind. 2025-08-29 11:03:08 +02:00
Henrik Rydgård 50e9f5726c .. 2025-08-29 10:40:29 +02:00
Henrik Rydgård 3e62157487 Fix some assorted static analysis warnings 2025-08-25 10:14:15 +02:00
Henrik Rydgård 027e6345d9 Some comments, log improvement 2025-08-14 22:09:27 +02:00
Henrik Rydgård 8c13d209d5 Minor code cleanups 2025-07-11 15:09:15 +02:00
Henrik Rydgård 258a3ae6db Fix image file browsing on Android again. Fixes #20476 2025-06-08 19:31:05 +02:00
Henrik Rydgård 5eb87f0fb4 Logging fixes and cleanups around folder move 2025-05-29 13:13:07 +02:00
Henrik Rydgård 6b987fa4ac MemstickScreen: Cleanly cancel instead of blocking the back button if space calculation is underway 2025-05-28 15:27:00 +02:00
Henrik Rydgård a0ba0d2f7d Android: Add workaround for a race condition seen on some Redmi phones on app switching 2025-05-28 12:51:47 +02:00
Henrik Rydgård a36d3cf18d Logging improvements / despam 2025-05-21 21:42:08 +02:00
Henrik Rydgård 9cf5d1bc25 Android: Enforce that there's never more than one instance of PpssppActivity, listen to onNewIntent.
Fixes shortcut-launch in-game. Although need to add some better handling
for the paused case.
2025-05-21 21:42:08 +02:00
Henrik Rydgård 08d1e0b3d8 Logspam cleanup 2025-04-17 11:06:06 +02:00
Henrik Rydgård 09e7e6f335 Less noisy file access logging on Android. 2025-04-09 18:07:57 +02:00
Henrik Rydgård dd7642df19 Android: Reduce logspam 2025-04-09 12:40:10 +02:00
Henrik Rydgård e6ea158dcc Unrelate: Remove some mouse-related logspam on android 2025-03-30 11:29:28 +02:00
Henrik Rydgård 580cd954e0 Fix another carriage-return-related bug in the Android code. 2025-03-29 19:12:32 +01:00
Henrik Rydgård 725f72a5e3 More workarounds. Now things seem reasonably tight even on devices with broken mouse support like Poco F1 2025-03-05 23:26:30 +01:00
Henrik Rydgård 8674488859 Android: Handle mouse events separately from touch events
Use the new modern events like HOVER.
2025-03-05 23:26:30 +01:00
Henrik Rydgård a431560831 Remove pretense of supporting the Ouya (we don't anymore) 2025-02-24 15:57:38 -06:00
Henrik Rydgård cb648509ef Android shortcut icons: Pad icon images to fix the aspect ratio
Fixes #19330. You'll have to recreate your icons though.
2025-02-10 15:28:45 -06:00
Henrik Rydgård 1f108a0e8c Remove the java-side directory listing filtering, didn't work. 2024-11-30 02:44:01 +01:00
Henrik Rydgård edbc7afcc1 Add support for prefix filtering in directory listing. 2024-11-29 11:14:52 +01:00
Henrik Rydgård 7ce876d3f1 New icon images, reorganize files, update banner 2024-11-03 12:29:55 +01:00
Henrik Rydgård e93427c433 CPU_Init: Bail out earlier if we fail to identify a file. 2024-10-31 23:56:36 +01:00
Henrik Rydgård a0e9017c77 Delete obsolete checks for pre-v7a armeabi 2024-10-23 13:23:35 +02:00
Henrik Rydgård 3f3fd5bf64 Remove unnecessary allocation in text rendering (Android) 2024-10-11 11:31:37 +02:00