431 Commits
Author SHA1 Message Date
Henrik Rydgård 7dfe8959b3 Fix landscape/reverse landscape cutout padding issue, see #12779 2020-03-31 15:52:32 +02:00
Henrik Rydgård 3838a1c94f Support drawing around notches on Android displays. Fixes #12261 2020-03-31 00:47:01 +02:00
Henrik Rydgård a2da6ceb47 Target Android SDK 29.
Includes a nasty SDK bug workaround.
2020-03-30 22:56:24 +02:00
Unknown W. Brackets 56a1b6d03a Android: Reassert immersive after input dialog.
See #12732.
2020-03-22 18:55:22 -07:00
Unknown W. Brackets 7d00cefd35 Android: Fix dismiss of OSK dialog. 2020-03-21 11:06:40 -07:00
Henrik Rydgård 4501045224 Merge pull request #12691 from unknownbrackets/inputbox
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Unknown W. Brackets f46231f2f4 Android: Avoid translation conflict in translation.
Using a magic pattern isn't ideal, but the user input can safely have
these characters without issue.  It only affects the input title.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets a3e12f4242 Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -07:00
Unknown W. Brackets fc8306dde1 Android: Ensure we forget the shortcut on next run.
Prevents an issue where we would use the shortcut param again when
starting the app directly.
2020-03-08 14:58:42 -07:00
Florin9doi 58b04ef77b QT Api for Camera (Linux/macOS)
Allow the use of different resolutions (win/android/iOS)
2020-02-10 08:47:55 +02:00
Florin9doi 50d7d64eaa Add new listeners in addition to those present which are deprecated 2020-01-27 09:49:43 +02:00
Florin9doi 83277680da Location: add HDOP; change speed to km/h; change altitude from geoid to sea level
The speed is now close to the value obtained on original hardware but
the altitude on original hardawre is too imprecise to tell if we're good
2020-01-26 14:19:45 +02:00
Florin9doi 2b57d2365f Android satellites info 2020-01-26 09:22:24 +02:00
Florin9doi 5fbf2d7713 Add camera/location support for iOS
Add front camera support for Android
Allow to change the active camera in-game
2020-01-25 16:54:45 +02:00
Henrik Rydgård dd1de41db7 Revert "Android EGL config: Always require 8888, stencil if version >= ICS"
This reverts commit 015c314fb1.

Helps #11922
2020-01-18 18:50:09 +01:00
Florin9doi 09e32223c2 Add camera support for linux (V4L2) 2020-01-16 23:25:34 +02:00
Unknown W. Brackets b75291375a Android: Setup UI callback earlier if possible. 2019-10-06 16:11:15 -07:00
Henrik Rydgård f65258fc60 Android: Finally fix our display sizing problems for good, hopefully. 2019-10-06 13:25:44 +02:00
Henrik Rydgård d5f2d74257 Android: Preparation for future cutout (notch) support 2019-10-06 13:25:35 +02:00
Unknown W. Brackets d137f35c64 Android: Setup UI callback before settings change.
We need to receive a notification of our own change, or the initial flag
will be out of sync.  Also adds it in the javaGL path.
2019-10-05 16:21:13 -07:00
Henrik Rydgård 0698944752 Fixes 2019-10-06 00:20:49 +02:00
Henrik Rydgård c023cd7e20 Make use of OnSystemUiVisibilityChangeListener to check whether navbar is hidden. Affects DPI calculations.
Also recalculate all dp parameters after either display or buffer size changed.
2019-10-05 23:30:50 +02:00
Henrik Rydgård 0b9353b1dc Touchscreen: Apply weihouya's fix, add a touchscreen test screen. See #12381. 2019-10-02 22:05:34 +02:00
Henrik Rydgård f3b84fd8a4 Android: Fix crashes on Android versions < 11 due to mCameraHelper being null 2019-09-24 23:44:14 +02:00
Henrik Rydgård 5a53570b38 Case fix for previous commit 2019-09-19 12:39:03 +02:00
Henrik Rydgård b5af797ca6 Hacky workaround for #12339 (Amazon FireStick 4k issue) 2019-09-19 10:39:12 +02:00
Florin9doi e1164cfe4f [Android] Updates for camera
-rotate camera frames to follow display orientation
-release camera resources when a game is closed
-release camera resources when the activity is paused
2019-08-24 22:54:45 +03:00
Florin9doi 187dfb2816 Update PowerSaveModeReceiver (again) 2019-08-20 11:32:39 +03:00
Florin9doi 18e7877526 Update PowerSaveModeReceiver 2019-08-13 21:00:36 +03:00
Robert Carr c01186d35c Android: Display measurement fixes
No longer set display parameters on surface create - surface is resized
after create to match screen dimensions. Fixes offset issue when started
in immersive mode.

Also update measurements on multi-window change, and use getMetrics when
in multi-window mode as getRealMetrics returns full screen size, not
window size.
2019-05-12 23:24:46 +10:00
Henrik Rydgård 015c314fb1 Android EGL config: Always require 8888, stencil if version >= ICS 2018-12-19 23:05:48 +01:00
Henrik Rydgård c8f86def97 Android EGL: Add logging of depth and stencil bits 2018-12-19 22:52:44 +01:00
Unknown W. Brackets ba7c8bee5b Merge remote-tracking branch 'upstream/1.7-hotfixes' into tag 2018-12-10 23:13:32 -08:00
Henrik Rydgård fedc72eff5 Revert "Android: Fix Vulkan immersive startup."
This reverts commit 5a5483ca93.
2018-11-23 09:51:16 +01:00
Henrik Rydgård f2244f789e VK: Add extra safety checks around font texture creation. Motivated by some Play crashes. 2018-11-21 17:34:54 +01:00
Henrik Rydgård 7af93d08cf VK: Add extra safety checks around font texture creation. Motivated by some Play crashes. 2018-11-21 17:33:30 +01:00
Florin9doi 8694c33119 F-droid lite version - create stubs for Moga Controller 2018-11-07 14:02:16 +02:00
Henrik Rydgård 61e38b4539 On older Android versions, densityDpi can't change and is thus not present in the Configuration objects.
Fixes crash opening/closing the Xperia Play (and probably lots of others).
2018-10-27 10:25:19 +02:00
Unknown W. Brackets 5a5483ca93 Android: Fix Vulkan immersive startup.
Would commonly not actually start with immersive resolution due to race
conditions in setting the resolution and ui visibility.
2018-10-07 16:15:23 -07:00
Unknown W. Brackets d5d572d38e Android: Consistently use version constants. 2018-10-07 15:24:04 -07:00
Henrik Rydgård 8e6a1bc849 Set a minimum of 1x1 for Android text bitmap measurement.
Should fix some crashes seen on Google Play
2018-08-30 19:49:33 +02:00
Unknown W. Brackets 4846cfe6a5 Android: Reformat Java files.
Mostly indentation, just ran a formatter tool and did some cleanup.

No code changes.
2018-06-03 17:57:23 -07:00
Henrik Rydgård 14d17419b1 Minor cleanup 2018-05-27 22:51:00 +02:00
Henrik Rydgård 343763cf5a More paranoia from Google Play 2018-05-27 22:16:36 +02:00
Henrik Rydgård 7c921c5367 Android immersive mode: Fix display size stretch and touch screen inaccuracy when toggling immersive mode 2018-05-25 23:40:34 +02:00
Henrik Rydgård ef67899fdc Let's try to update the sustainedperformancemode in yet another place... See #11018 2018-05-13 20:35:54 +02:00
Henrik Rydgård 701c2c0294 Call updateSustainedPerformanceMode from surfaceChanged as well. May help #11018 2018-05-09 22:03:45 +02:00
Henrik Rydgård c1bdb69687 Merge pull request #11022 from hrydgard/screen-brightness-fix
Android: Only keep the screen bright ingame.
2018-05-09 06:06:27 +02:00
Henrik Rydgård a8083b9684 Android: Only keep the screen bright ingame. 2018-05-08 23:05:37 +02:00
Henrik Rydgård 7d3efdc237 Call updateSustainedPerformanceMode on app focus changes. Should help #11018 2018-05-08 20:45:12 +02:00