OSDN Git Service

Better orientation change handling.
authorChih-Chung Chang <chihchung@google.com>
Tue, 8 May 2012 09:57:33 +0000 (17:57 +0800)
committerChih-Chung Chang <chihchung@google.com>
Tue, 8 May 2012 13:28:32 +0000 (21:28 +0800)
commit2ef46ed28b28b355d7f3f1432c7b1196b832a859
treebd1f568824d1f434dc78d8b840515a10ceed1c80
parentec9a033559f34e5407387cb7d095aee27ddc337b
Better orientation change handling.

Bug 6451117: Preview location is wrong after rotating the device quickly
Bug 6444303: The preview location is wrong when camera is started upside down on tablet
Bug 6451710: Tap to focus broken in landscape

Change-Id: I12fd57d6618ec5521ccc6efcbf65de57ff2ea3d2
src/com/android/gallery3d/app/AppBridge.java
src/com/android/gallery3d/app/OrientationManager.java
src/com/android/gallery3d/app/PhotoPage.java
src/com/android/gallery3d/ui/GLRoot.java
src/com/android/gallery3d/ui/GLRootView.java
src/com/android/gallery3d/ui/GLView.java
src/com/android/gallery3d/ui/OrientationSource.java [new file with mode: 0644]
src/com/android/gallery3d/ui/PhotoView.java
tests/src/com/android/gallery3d/ui/GLRootMock.java
tests/src/com/android/gallery3d/ui/GLRootStub.java