add special gsensor coordinates workaround

Conflicts:
	core/java/android/app/ContextImpl.java
	core/java/android/hardware/SensorManager.java
	core/java/android/provider/Settings.java
	packages/SettingsProvider/res/values/defaults.xml
	packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java
	services/java/com/android/server/PowerManagerService.java
merge allwinner code (part 1)

Conflicts:
	api/current.txt
	build/tablet-dalvik-heap.mk
	core/java/android/app/ContextImpl.java
	core/jni/android_hardware_Camera.cpp
	include/camera/Camera.h
	include/camera/ICameraService.h
	include/gui/ISurfaceTexture.h
	include/gui/SurfaceTexture.h
	include/gui/SurfaceTextureClient.h
	include/media/IMediaPlayer.h
	include/media/IMediaPlayerClient.h
	include/media/IMediaPlayerService.h
	include/media/MediaPlayerInterface.h
	include/media/mediaplayer.h
	include/media/stagefright/ACodec.h
	include/media/stagefright/AudioPlayer.h
	include/media/stagefright/MediaSource.h
	include/media/stagefright/MetaData.h
	include/media/stagefright/SurfaceMediaSource.h
	include/media/stagefright/openmax/OMX_Core.h
	include/media/stagefright/openmax/OMX_Index.h
	include/surfaceflinger/ISurfaceComposer.h
	include/surfaceflinger/SurfaceComposerClient.h
	include/ui/Input.h
	libs/camera/Camera.cpp
	libs/camera/ICameraService.cpp
	libs/gui/ISurfaceComposer.cpp
	libs/gui/ISurfaceTexture.cpp
	libs/gui/SurfaceComposerClient.cpp
	libs/gui/SurfaceTexture.cpp
	libs/gui/SurfaceTextureClient.cpp
	libs/ui/Android.mk
	libs/ui/Input.cpp
	media/java/android/media/MediaFile.java
	media/java/android/media/MediaPlayer.java
	media/jni/android_media_MediaPlayer.cpp
	media/libmedia/IMediaPlayer.cpp
	media/libmedia/IMediaPlayerService.cpp
	media/libmedia/mediaplayer.cpp
	media/libmediaplayerservice/Android.mk
	media/libmediaplayerservice/MediaPlayerService.cpp
	media/libmediaplayerservice/MediaPlayerService.h
	media/libmediaplayerservice/MetadataRetrieverClient.cpp
	media/libmediaplayerservice/StagefrightRecorder.cpp
	media/libmediaplayerservice/StagefrightRecorder.h
	media/libmediaplayerservice/nuplayer/HTTPLiveSource.cpp
	media/libmediaplayerservice/nuplayer/HTTPLiveSource.h
	media/libmediaplayerservice/nuplayer/NuPlayer.cpp
	media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp
	media/libmediaplayerservice/nuplayer/NuPlayerDriver.h
	media/libmediaplayerservice/nuplayer/NuPlayerRenderer.cpp
	media/libmediaplayerservice/nuplayer/NuPlayerSource.h
	media/libstagefright/ACodec.cpp
	media/libstagefright/Android.mk
	media/libstagefright/MPEG4Extractor.cpp
	media/libstagefright/MPEG4Writer.cpp
	media/libstagefright/OMXCodec.cpp
fix build

Conflicts:
	api/current.txt
	services/java/com/android/server/DisplayManagerService.java
	services/jni/com_android_server_DisplayManagerService.cpp
	services/surfaceflinger/Layer.cpp
merge allwinner code (part 2)

Conflicts:
	media/libstagefright/SampleIterator.cpp
	media/libstagefright/SampleTable.cpp
	media/libstagefright/StagefrightMediaScanner.cpp
	media/libstagefright/colorconversion/SoftwareRenderer.cpp
	media/libstagefright/httplive/LiveSession.cpp
	media/libstagefright/id3/ID3.cpp
	media/libstagefright/include/LiveSession.h
	media/libstagefright/include/SampleIterator.h
	media/libstagefright/include/SampleTable.h
	media/libstagefright/include/SimpleSoftOMXComponent.h
	media/libstagefright/omx/SimpleSoftOMXComponent.cpp
	media/libstagefright/omx/SoftOMXPlugin.cpp
	opengl/include/GLES/glext.h
	opengl/include/GLES2/gl2ext.h
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	services/audioflinger/AudioFlinger.cpp
	services/camera/libcameraservice/CameraHardwareInterface.h
	services/camera/libcameraservice/CameraService.cpp
	services/camera/libcameraservice/CameraService.h
	services/java/com/android/server/DisplayManagerService.java
	services/java/com/android/server/usb/UsbDeviceManager.java
	services/jni/com_android_server_DisplayManagerService.cpp
	services/surfaceflinger/DisplayHardware/DisplayHardware.cpp
	services/surfaceflinger/DisplayHardware/DisplayHardware.h
	services/surfaceflinger/DisplayHardware/HWComposer.cpp
	services/surfaceflinger/DisplayHardware/HWComposer.h
	services/surfaceflinger/Layer.cpp
	services/surfaceflinger/Layer.h
	services/surfaceflinger/SurfaceFlinger.cpp
	services/surfaceflinger/SurfaceFlinger.h
	services/surfaceflinger/SurfaceTextureLayer.cpp
	services/surfaceflinger/SurfaceTextureLayer.h