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
commitad08811a71e246d45ecdf97402f08cf7bd68e83b (patch)
tree5f4eb9ad54e4c3d1aef67c4047624977d1f287e2 /tests/src
parentac9c2f6f230660a657f9d3b64c7a3bbf8b3bd598 (diff)
downloadandroid_packages_apps_Snap-ad08811a71e246d45ecdf97402f08cf7bd68e83b.tar.gz
android_packages_apps_Snap-ad08811a71e246d45ecdf97402f08cf7bd68e83b.tar.bz2
android_packages_apps_Snap-ad08811a71e246d45ecdf97402f08cf7bd68e83b.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) {}
}