Commit Graph
286 Commits
Author SHA1 Message Date
Cameron Cawley d4cc366334 ANDROID: Don't hide the virtual keyboard when the Enter key is pressed 2019-08-02 11:25:47 +01:00
Cameron Cawley 357493082f ANDROID: Fix some Codacy warnings 2019-07-23 17:21:09 +01:00
Cameron CawleyandFilippos Karapetis 0334411d63 BUILD: Package networking and virtual keyboard files on all platforms 2019-07-08 12:42:21 +03:00
Cameron CawleyandFilippos Karapetis b9e29cedfc ANDROID: Move isConnectionLimited into OSystem 2019-06-21 08:19:37 +03:00
Cameron Cawley 6989e63a25 ANDROID: Make pushEvent take 7 parameters instead of 6 2019-05-09 18:58:09 +01:00
Cameron CawleyandFilippos Karapetis 5d7cd526e8 ANDROID: Add a pthreads-based mutex manager 2019-04-20 15:53:56 +03:00
Cameron Cawley 2af325f60a ANDROID: Factor event pushing into pushEvent
Originally from ResidualVM.
2019-04-12 21:42:54 +01:00
Cameron Cawley d75a1355ba ANDROID: Move event types to a separate file
Originally from ResidualVM.
2019-04-12 21:39:07 +01:00
Cameron CawleyandDavid Turner 60365dc0da ANDROID: Fix a -Wformat-security warning 2018-11-03 20:29:01 +00:00
Cameron CawleyandDavid Turner 539c3330a8 ANDROID: Implement clipboard support 2018-10-05 00:10:27 +01:00
Cameron CawleyandEugene Sandulenko 8120a22a40 ANDROID: Use the dedicated GUI option for enabling the touchpad mode 2018-07-29 09:47:15 +02:00
Cameron CawleyandEugene Sandulenko d494d73c80 ANDROID: Replace getPixelFormatName function with PixelFormat::toString 2018-07-29 09:37:40 +02:00
Colin Snover fbefda8a2f ANDROID: Fix illegal-in-C++11 narrowing conversions 2017-11-25 20:19:01 -06:00
Bastien Bouclet 8beb519c5e EVENTS: Rename synthetic to kbdRepeat 2017-11-19 16:12:50 +01:00
Colin Snover bda253b1ac BACKENDS: Constify PaletteManager::grabPalette implementations 2017-10-15 13:47:19 -05:00
Thierry Crozat 1f2a50bcd3 CLOUD: Move openUrl to OSystem 2016-09-10 01:12:42 +01:00
Eugene SandulenkoandGitHub 111dc18ef3 Merge pull request #433 from klusark/assets
ANDROID: Update the asset archive code to use AAssets
2016-08-30 15:14:12 +02:00
Alexander Tkachev 438ba985a4 JANITORIAL: Remove spaces at the end of the line
I knew there were some, but I wanted to fix them once, instead of doing
it all the time.
2016-08-24 16:07:55 +06:00
Alexander Tkachev a13e03e988 CLOUD: Add Networking::Connection::isLimited()
`false` everywhere by default, but works on Android (`true` if not
Wi-Fi).
2016-08-24 16:07:55 +06:00
Alexander Tkachev ded8cdf0a0 CLOUD: Add openurl-android.cpp 2016-08-24 16:07:55 +06:00
Eugene Sandulenko b01aa4141e ANDROID: Set version code to 16. 15 was 1.8.1 2016-05-31 17:13:33 +02:00
Alyssa Milburn a32c53f936 ANDROID: Build against android-23 platform.
We seem to need this for the new manifest elements.
2016-05-23 09:33:11 +02:00
Matthew Garrett 832d7bb289 ANDROID: Add support for ScummVM menu on Android TV devices
Android TV devices don't have menu buttons. Remotes should have a play/pause
button (which may send individual play and pause events rather than a
combined event) and gamepads should have a Y button. Use these to open the
menu.
2016-05-22 15:23:44 -07:00
Matthew Garrett 497859ad90 ANDROID: Add support for Leanback Launcher on Android TV
Android TV needs some modifications to the manifest and a new icon in order
for apps to appear in the launcher.
2016-05-22 15:23:44 -07:00
Alexandre Detiste 6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Alyssa Milburn cac7be425a ANDROID: Remove plugins/unpacker from makefile. 2015-01-18 12:04:15 +01:00
Joel Teichroeb 59934881a1 ANDROID: Remove unpacker and fix support for non arm 2015-01-05 20:18:31 -08:00
Joel Teichroeb 61e911baf8 ANDROID: Update the asset archive code to use AAssets
The AAssets API was added in android 2.3, so it also requires using
the android-9 toolchain.

Using this gives a rather large speedboost to starting the ScummVM
application.
2015-01-05 19:19:34 -08:00
Eugene Sandulenko f92e569570 Merge pull request #425 from klusark/android
ANDROID: Modernize build system
2015-01-04 19:53:41 +01:00
Matthew Hoops b577da29b5 ANDROID: Delay deleting a local ref until it's no longer used
Should fix bug #6741
2014-11-15 09:21:36 -05:00
Joel Teichroeb 563d837013 ANDROID: Modernize build system
Written originally by @Botje for ResidualVM
2014-07-22 16:57:30 -07:00
Marcus Comstedt 0adb9e7d9b ANDROID: Reinstate overscan margin resource for OUYA/GoogleTV
This reverts commits 51cb7557 and 2648062d.

Please note that Android SDK Platform Tools r06 or later is needed
to build ScummVM.
2014-07-01 22:14:57 +02:00
David Turner cb596113a7 Merge pull request #461 from digitall/vkeybdFix
Add trigger for Virtual Keyboard on long press of Middle Mouse Button
2014-06-28 14:59:08 +01:00
Marcus Comstedt 0e45979634 ANDROID: Allow build with non-ancient SDK 2014-06-18 21:40:13 +02:00
Marcus Comstedt e395343064 ANDROID: Hide system mouse pointer on OUYA 2014-06-18 18:22:41 +02:00
Matthew Hoops 21626c4ab4 ANDROID: Fix casting away const 2014-06-07 10:18:16 -04:00
D G Turner 37c46fecbf ANDROID: Fix correct keycode in keymapper for virtual keyboard trigger.
As the virtual keyboard trigger has been moved to CTRL-F7, the previous
code which generates a unmodified F7 event to do this will not work.

However, due to the complexity of this code, directly calling the
virtual keyboard trigger event could have side effects, so have instead
just added the CTRL modifier to fix this.

This should be fixed if possible to use EVENT_VIRTUAL_KEYBOARD.
2014-05-05 05:21:23 +01:00
Johannes Schickel 98867825ba ANDROID: Make transparent cursor pixels all 0 in 16bit cursor mode.
Since the Android backend uses glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA)
we need to make the transparent cursor pixels all 0 otherwise we might get
artifacts from blending.
2014-03-31 19:04:53 +02:00
Johannes Schickel 9fab467d58 ANDROID: Fix color key handling for 16bit mouse cursors.
This should fix a issue similarly to bug #6108:
"WII: Zak FM-TOWNS mouse cursor encased in blue box".
2014-03-26 00:43:38 +01:00
D G Turner cbf085287c ANDROID: Fix Android pre3.1 compatibility.
This was broken by a50ede203b.
2014-02-27 10:44:55 +00:00
Johannes Schickel d6a90f610f ANDROID: Slight formatting fix. 2014-02-22 19:47:15 +01:00
D G Turner 0def54a60d ANDROID: Fix runtime failure on earlier versions of Android.
getAxisValue() is only present from Android 3.1 onwards and
usage causes a runtime failure on earlier versions of Android.

This bug was introduced by a50ede20 with addition of OUYA support.

This solution is as recommended on the Android developer portal.
2014-02-21 16:29:23 +00:00
Johannes Schickel 5c2dac59be ANDROID: Make GPL headers consistent in themselves. 2014-02-18 02:39:32 +01:00
Joel Teichroeb 2d903d9668 ANDROID: Fix a race condition
setSurface is done in a different thread than the one that starts
the scummvm main. The main thread would then wait until the setSurface
thread notifies. The setSurface thread would notify before it actually
calls setSurface, meaning if the thread is preemted before calling
setSurface, initSurface will assert, causing the app to crash.
2014-01-27 18:29:00 -08:00
Alyssa Milburn 6927e570bb ANDROID: Add 32bpp support.
We still prefer 16bpp for performance reasons.
2014-01-23 23:00:00 +01:00
Marcus Comstedt dd84867997 ANDROID: Set correct blending function
Overlays with alpha channel in ScummVM use pre-multiplied alpha.
Thus, is it necessary to set the source blend function to ONE, not
SOURCE_ALPHA.

While there is no firm decision on the texture format to be used to
cursors, make sure to set the key color to R=G=B=A=0.0, so that it
can be used with either pre-multiplied or non-pre-multiplied blending.
2014-01-10 20:05:32 +01:00
D G Turner 51cb755726 ANDROID: Really fix compilation.
The vanilla android toolchain even is unhappy when unknown folders are
present in the resources directory, so have moved the ouya specific
resources out to another directory.
2013-10-09 23:26:58 +01:00
D G Turner 2648062dcf ANDROID: Fix compilation.
The aapt throws an "invalid resource directory name" if the
resource directory name is not known to the tools. Unfortunately,
"values-television" is an OUYA specific addition and thus breaks
with the standard vanilla Android toolchain.
2013-10-09 06:53:53 +01:00
David Turner d4d90b3f07 Merge pull request #372 from zeldin/ouya
Basic OUYA support
2013-10-08 18:26:49 -07:00
Marcus Comstedt 7a1ffe8c59 ANDROID: Add some margins when screen is a TV 2013-08-18 15:21:18 +02:00