aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
AgeCommit message (Collapse)Author
2014-07-01ANDROID: Reinstate overscan margin resource for OUYA/GoogleTVMarcus Comstedt
This reverts commits 51cb7557 and 2648062d. Please note that Android SDK Platform Tools r06 or later is needed to build ScummVM.
2014-06-28Merge pull request #461 from digitall/vkeybdFixDavid Turner
Add trigger for Virtual Keyboard on long press of Middle Mouse Button
2014-06-18ANDROID: Allow build with non-ancient SDKMarcus Comstedt
2014-06-18ANDROID: Hide system mouse pointer on OUYAMarcus Comstedt
2014-06-07ANDROID: Fix casting away constMatthew Hoops
2014-05-05ANDROID: Fix correct keycode in keymapper for virtual keyboard trigger.D G Turner
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-03-31ANDROID: Make transparent cursor pixels all 0 in 16bit cursor mode.Johannes Schickel
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-26ANDROID: Fix color key handling for 16bit mouse cursors.Johannes Schickel
This should fix a issue similarly to bug #6108: "WII: Zak FM-TOWNS mouse cursor encased in blue box".
2014-02-27ANDROID: Fix Android pre3.1 compatibility.D G Turner
This was broken by a50ede203b0424d800d2a1d4460121f9f1de8e7a.
2014-02-22ANDROID: Slight formatting fix.Johannes Schickel
2014-02-21ANDROID: Fix runtime failure on earlier versions of Android.D G Turner
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-18ANDROID: Make GPL headers consistent in themselves.Johannes Schickel
2014-01-27ANDROID: Fix a race conditionJoel Teichroeb
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-23ANDROID: Add 32bpp support.Alyssa Milburn
We still prefer 16bpp for performance reasons.
2014-01-10ANDROID: Set correct blending functionMarcus Comstedt
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.
2013-10-09ANDROID: Really fix compilation.D G Turner
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-09ANDROID: Fix compilation.D G Turner
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-08Merge pull request #372 from zeldin/ouyaDavid Turner
Basic OUYA support
2013-08-18ANDROID: Add some margins when screen is a TVMarcus Comstedt
2013-08-08ANDROID: Enter main menu on middle mouse pressMarcus Comstedt
2013-08-08ANDROID: Add support for joystick motionMarcus Comstedt
2013-08-08ANDROID: Add gamepad button supportMarcus Comstedt
2013-08-07ANDROID: Add OUYA icon and intentMarcus Comstedt
2013-08-06ANDROID: Do not access Surface::pixels directly.Johannes Schickel
2013-07-04Merge pull request #331 from sev-/gsoc2012-eventsrecorderEugene Sandulenko
GSoC2012: Event Recorder (reworked)
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-05-16ANDROID: Disable parachute slot 0 saves.Alyssa Milburn
2013-05-16ANDROID: Force htc_fail for all Android devices, for now.Alyssa Milburn
2013-05-16ANDROID: Ignore subdirectories of asset archives.Alyssa Milburn
2013-05-16ANDROID: Delete local JNI references to asset data/classes.Alyssa Milburn
2012-12-28ANDROID: Minor fixes to build-specific makefile.D G Turner
This fixes two minor issues when trying to cross-compile to Android on Win32 using the Win32 Android SDK/NDK and MinGW shell. However, this is still no working as DX and APKBUILDER are batch files in the Win32 SDK (which then call the real Java tools) and these fail to run in shell. However, using "cmd /C" also fails as the paths in the parameters have unix, rather than native separators. Unsure how to fix.
2012-12-24ANDROID: Remove parameter forcing use of Modern theme.D G Turner
This parameter overrides any user choice in the GUI or config file, which is not good UX design (and is making it hard to debug loading issues associated with theme files). If we want to set this to default to Modern, we should do this in a different way i.e. do this by ConfMan.loadDefaultConfigFile() This is probably related to the Android issue with the backend init running before main() is called, rather than after...
2012-10-21ANDROID: Fixed tapping touchpad not sending left clicksLauri Härsilä
2012-10-19ANDROID: Mouse and stylus supportLauri Härsilä
From pull request #285.
2012-08-15ANDROID: Remove unused GL_OES_draw_texture code.Alyssa Milburn
2012-07-06Merge pull request #235 from tobigun/android-themeJohannes Schickel
ANDROID: disable compression for zip-file assets
2012-06-20ANDROID: Fix compilation broken with changes to grabOverlay.Johannes Schickel
2012-06-20Merge pull request #246 from lordhoto/osystem-void-buffersJohannes Schickel
OSYSTEM: Use void buffers for screen/overlay/mouse buffers and proper pitch values for overlay code
2012-06-16ALL: Let overlay related methods in OSystem take a void * and use a proper ↵Johannes Schickel
pitch values. This is a first step to get rid of OverlayColor, which is a requirement for proper 4Bpp overlay support.
2012-06-16BACKENDS: Make OSystem::setMouseCursor take a "const void *" buffer.Johannes Schickel
This is mainly for consistency with OSystem::copyRectToScreen.
2012-06-16BACKENDS: Let copyRectToScreen take a "const void *" instead of "const byte ↵Johannes Schickel
*" as buffer. This removes the need to convert the parameter to copyRectToScreen to "const byte *", which is commonly used in games, which use Graphics::Surface to store their graphics data.
2012-06-09COMMON: Add tm_wday to our TimeDate structMatthew Hoops
Did not adapt bada or ps2 backends as I'm not sure how they should be handled
2012-06-03ALL: Replace cursorTargetScale in OSystem API with a simple "do not scale" ↵Johannes Schickel
logic. All uses of the old target scale API actually wanted to disallow scaling of the mouse cursor. This commit adapts our API to this and thus simplifies backend implementations. Some backends, most notable the Wii and Android, did some implementation of the cursor target scale, which I didn't adapt yet. I added a TODO for the porters there.
2012-04-29ANDROID: disable compression for zip-file assets and recompress uncompressed ↵Tobias Gunkel
zip-files before adding them as assets to the apk
2012-02-27KEYMAPPER: Rename HardwareKey to HardwareInputTarek Soliman
2012-02-21KEYMAPPER: Remove automapping dead codeTarek Soliman
2012-02-10JANITORIAL: Fix template definition whitespaceTarek Soliman
2012-02-03ANDROID: Add faked input delay.Alyssa Milburn
This adds an artificial delay for mouse up events to make engines like Gob work, similar to the iPhone fix in b3062b5e.
2012-01-07KEYMAPPER: Constantify global keymap nameTarek Soliman
2011-12-13ANDROID: Fix assert in JavaInputStream (thanks clone2727).Alyssa Milburn