Hubert Maier
d8df8eb0a0
JANITORIAL: Fix continously typos in touchcontrols.cpp
2024-05-18 13:52:31 +02:00
Hubert Maier
4ac44129fe
JANITORIAL: Fix auxilliary typo in events.cpp
2024-05-18 13:52:31 +02:00
Le Philousophe
9c681ddd77
ANDROID: Fix segmentation fault
...
We expect the array to be of even size so don't add the external data
title if there is no external data mount point
2024-05-01 11:44:10 +02:00
Le Philousophe
8475ef50da
ANDROID: Add shim for AccessibilityEvent
2024-05-01 11:44:10 +02:00
Le Philousophe
bb2ebef540
ANDROID: Make a compatibility shim for AudioTrack construction
2024-05-01 11:44:10 +02:00
Le Philousophe
abca8ce013
ANDROID: Split deprecated code in its own function
...
This allows to remove deprecation warning on a limited part of code
2024-05-01 11:44:10 +02:00
Le Philousophe
bed4b2ee0d
ANDROID: Remove deprecated use of toggleSoftInputFromWindow
2024-05-01 11:44:10 +02:00
Le Philousophe
5146495601
ANDROID: Don't use deprecated getDefaultDisplay and getMetrics
2024-05-01 11:44:10 +02:00
Le Philousophe
c155e3dc3b
ANDROID: Remove old compatibility code
...
We don't support something like Honeycomb anymore
2024-05-01 11:44:10 +02:00
Le Philousophe
35e6c7a094
ANDROID: Introduce Compatibility helper class
...
It's kind of based on Androidx but is simpler and goes up to Jelly Bean.
This removes a bunch of warnings.
2024-05-01 11:44:10 +02:00
Le Philousophe
2522cba583
ANDROID: Don't use deprecated WiFi API
...
Use ConnectivityManager instead:
- it's more accurate
- it has been available since API level 16 which is the minimum we
require
- it removes a deprecation warning
2024-05-01 11:44:10 +02:00
Le Philousophe
298c970fca
ANDROID: Hide on-screen buttons while native code is not started
2024-04-13 19:16:55 +02:00
Le Philousophe
aa406ba5f3
ANDROID: Don't display burger menu when in launcher
2024-04-13 19:16:55 +02:00
Le Philousophe
311f5ce493
ANDROID: Make on screen icons depend on screen orientation
2024-04-13 19:16:55 +02:00
Le Philousophe
92204097d6
ANDROID: Rename showKeyboardControl to showOnScreenControls
...
This matches what the function really do: hide input method and main
menu icons
2024-04-13 19:16:55 +02:00
Le Philousophe
27c7572bd7
ANDROID: Get HiDPI density from Android metrics
2024-01-24 21:53:07 +01:00
Eugene Sandulenko
00440cfe86
HELP: Added explanation what ScummVM is and where to get help for Android and iOS
2023-12-26 15:21:23 +01:00
Le Philousophe
a38a3eea01
ANDROID: Add bundle build method
2023-12-24 16:18:31 +01:00
Le Philousophe
9bdf1233b1
BACKENDS: Migrate to Path API
2023-12-24 13:19:25 +01:00
Le Philousophe
db41390587
BACKENDS: Make browser_lastpath a Path object
2023-12-24 13:19:25 +01:00
Le Philousophe
db5041ecb0
COMMON: Make savepath a Path object
2023-12-24 13:19:25 +01:00
Le Philousophe
dc7fadef28
COMMON: Make iconspath a Path object
2023-12-24 13:19:25 +01:00
Le Philousophe
01ebece807
COMMON: Make getDefaultConfigFileName return a Path instead of a String
2023-12-24 13:19:25 +01:00
Le Philousophe
d9a8131ba2
COMMON: Make getDefaultLogFileName return a Path instead of a String
2023-12-24 13:19:25 +01:00
Lars Sundström
9d39902368
ANDROID: Update backend options widget layout
...
Since the default layout don't add padding, add necessary padding in
backend instead.
2023-12-16 19:37:33 +01:00
Le Philousophe
742bed351a
ANDROID: Make application quit even when the application is hidden
...
Without this, when the application is in background, it is stuck waiting
for threads to join.
This is handful when, for example, there is an error while the
application got in background.
2023-12-10 17:39:46 +01:00
Le Philousophe
9261583788
ANDROID: Check if MotionEvent is set before using it
...
e1 can be null in case of error according to documentation.
Don't trigger an event in this case.
2023-12-10 12:33:34 +01:00
Le Philousophe
5c98796889
ANDROID: Kill ourselves if the main thread failed to join
...
This should avoid the infamous assertion fault with _system not being
null.
2023-12-09 23:28:48 +01:00
Thierry Crozat
95a060e4fe
AUDIO: Add a basic soundfont for fluidsynth
...
The soundfont was already included in the Libretro port. It is
now included in all platforms.
2023-12-03 16:17:32 +00:00
Eugene Sandulenko
90bd56e409
BUILD: Added fonts-cjk.dat to selected platforms
...
So far, it was added to all modern desktops, Android, iOS and Switch
2023-11-20 20:59:17 +01:00
Eugene Sandulenko
58eedff7d1
ANDROID: Adjusted image sizes in help text
2023-11-01 00:24:11 +01:00
CadiH
7e41bec7f0
BACKENDS: ANDROID: minor edit to Help tab contents
2023-10-06 22:24:55 +02:00
CadiH
5df0851284
BACKENDS: ANDROID: updates contents of help dialog
2023-10-06 22:24:55 +02:00
CadiH
a74c827076
BACKENDS: ADNROID: Updates content of help tab
2023-10-06 22:24:55 +02:00
Eugene Sandulenko
3cfcdd5d6f
ANDROID: Add missing include
2023-09-17 14:39:58 +02:00
Eugene Sandulenko
2bea791278
OSYSTEM: Improed const'ness of the buildHelpDialogData() call
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
a14b2bf9ba
ANDROID: Added andriod-help.zip to the bundle
2023-09-17 00:56:28 +02:00
Eugene Sandulenko
7527757d6f
BACKENDS: ANDROID: Move Android-specific HelpDialog tabs to backend
2023-09-17 00:56:28 +02:00
Ankush Dutt
a26d00a2b7
DLC: Remove Playstore code
2023-09-14 08:22:56 +02:00
Ankush Dutt
2a60a4d213
DLC: Set kFeatureDLC and _dlcStore for ScummVMCloud, Playstore in backend
2023-09-14 08:22:56 +02:00
Ankush Dutt
045a99e50c
BACKENDS: Remove platform-specific defines and enforce factory design pattern for creating DLC store
2023-09-14 08:22:56 +02:00
Ankush Dutt
99af2be9c0
BACKENDS: Initial implementation of Android PlayStore DLC Manager
2023-09-14 08:22:56 +02:00
Ankush Dutt
6e8bdee909
BACKENDS: Add initial code for DLC Manager
2023-09-14 08:22:56 +02:00
antoniou79
9f4a32f88b
ANDROID: Remove hack for virtual keyboard arrow key repeats
...
This hack was simulating repeated key presses (EVENT_KEYDOWN, then EVENT_KEYUP) for the arrow keys like the ones a physical keyboard sends
The hack could potentially cause further issues like spamming the events queue with many unnecessary events, and sending the events too quickly for some engines to handle
(thus missing some of them). We're now making use of the allowKbdRepeats() for the Up/Down/Left/Right event actions in the gui-manager, which will handle the case of a key
being kept pressed, sending an initial EVENT_KEYDOWN event and then subsequent EVENT_KEYDOWN events with the kbdRepeat flag set, and finally a single EVENT_KEYUP in the end.
Android itself handles repeated key events similarily (instead of a kbdRepeat flag, it updates a counter for the key repeats, which we translate to a simple flag).
This (and the hack that this replaces) affect things like moving the selection in the GUI lists (like the added games list) upwards or downwards continuously
while keeping the respective arrow key from the Android virtual keyboard pressed down.
2023-08-29 04:30:00 +03:00
Thierry Crozat
ef7c881416
OSYSTEM: Add kFeatureTouchscreen to identify backends with a touchscreen
2023-08-22 23:37:11 +01:00
antoniou79
554f094dd6
ANDROID: Improvements for controller movement detection
...
Removed unnecessary normalization as Android already does this
Also fixed a wrong comparison in a clause for deciding to stop movement that was repeating
2023-08-13 23:25:18 +03:00
Le Philousophe
79c3063979
ANDROID: Improve CPU detection
...
CPU architecture can be determined at build time.
Add support for x86 extensions.
2023-08-13 12:58:45 +02:00
Le Philousophe
3b1465120a
ANDROID: Fix build
...
cpu-features needs to be compiled by us
2023-08-13 12:58:45 +02:00
Wyatt Radkiewicz
787837ca41
ALL: Add Cpu prefix to SIMD extension features
2023-08-13 00:22:10 +02:00
Wyatt Radkiewicz
bdc6d72e0b
ANDROID: Added ARM NEON detection in backend init
2023-08-13 00:22:10 +02:00