summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-04-26 10:10:49 +0800
committerChih-Chung Chang <chihchung@google.com>2012-04-30 16:16:26 +0800
commitbd141b5a51c96f6fcaddfa547f0928ce69cf0755 (patch)
tree61bfe751ed08445400977f7c2a2ec3092b43888c /tests/src
parent23a5e6f233f688f2e1ca2b10b5d1c615a263e83d (diff)
downloadandroid_packages_apps_Gallery2-bd141b5a51c96f6fcaddfa547f0928ce69cf0755.tar.gz
android_packages_apps_Gallery2-bd141b5a51c96f6fcaddfa547f0928ce69cf0755.tar.bz2
android_packages_apps_Gallery2-bd141b5a51c96f6fcaddfa547f0928ce69cf0755.zip
Support drawing in different orientation in Gallery.
Bug 6312994: Swipe UX: do not directly show the camera roll when camera starts Bug 6313191: Swipe UX: Change swipe direction after the user rotated the device Bug 6313192: Swiping UX: make Gallery display in rotated mode Bug 6399447: Filmstrip: in Gallery, pressing Back from filmstrip doesn't perform the right animation Bug 6399974: Filmstrip: when swiping from full-screen photo to filmstrip mode, camera view and the photo-roll don't align correctly Bug 6400014: Swiping UX: in Camera portrait mode, tapping on the Thumbnail doesn't align camera view and the photo-roll correctly Bug 6401075: Able to scroll through the gallery pics while capturing video. Bug 6405087: Filmstrip does not change with orientation Change-Id: I8c479d87800c63b7a95c199c0c1c3bc512d66d42
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootMock.java1
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootStub.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/com/android/gallery3d/ui/GLRootMock.java b/tests/src/com/android/gallery3d/ui/GLRootMock.java
index c83e94342..55f1c9a12 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootMock.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootMock.java
@@ -34,4 +34,5 @@ public class GLRootMock implements GLRoot {
public void lockRenderThread() {}
public void unlockRenderThread() {}
public void setContentPane(GLView content) {}
+ public void setOrientationCompensation(int degrees) {}
}
diff --git a/tests/src/com/android/gallery3d/ui/GLRootStub.java b/tests/src/com/android/gallery3d/ui/GLRootStub.java
index d6bc678d4..bf9b63f6b 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootStub.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootStub.java
@@ -27,4 +27,5 @@ public class GLRootStub implements GLRoot {
public void lockRenderThread() {}
public void unlockRenderThread() {}
public void setContentPane(GLView content) {}
+ public void setOrientationCompensation(int degrees) {}
}