summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2012-05-10 11:03:35 +0800
committerChih-Chung Chang <chihchung@google.com>2012-05-10 16:31:03 +0800
commit34e6b587229c4863bb805859d9515abecd8abc5d (patch)
tree414a5d96b56fd8336d86aa1e478a3a150271b7a8 /tests
parent82f7ac999aae05b251cfe2c886020780832cd4a3 (diff)
downloadandroid_packages_apps_Snap-34e6b587229c4863bb805859d9515abecd8abc5d.tar.gz
android_packages_apps_Snap-34e6b587229c4863bb805859d9515abecd8abc5d.tar.bz2
android_packages_apps_Snap-34e6b587229c4863bb805859d9515abecd8abc5d.zip
Add freeze/unfreeze for GLRootView.
Change-Id: Ieb78041fea22b064d176ea1318cf5883d5d4c94f
Diffstat (limited to 'tests')
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootMock.java2
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootStub.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/src/com/android/gallery3d/ui/GLRootMock.java b/tests/src/com/android/gallery3d/ui/GLRootMock.java
index 4af7a1f59..1253e50ae 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootMock.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootMock.java
@@ -39,4 +39,6 @@ public class GLRootMock implements GLRoot {
public int getDisplayRotation() { return 0; }
public int getCompensation() { return 0; }
public Matrix getCompensationMatrix() { return null; }
+ public void freeze() {}
+ public void unfreeze() {}
}
diff --git a/tests/src/com/android/gallery3d/ui/GLRootStub.java b/tests/src/com/android/gallery3d/ui/GLRootStub.java
index 878eeddb4..5c88c47ec 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootStub.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootStub.java
@@ -32,4 +32,6 @@ public class GLRootStub implements GLRoot {
public int getDisplayRotation() { return 0; }
public int getCompensation() { return 0; }
public Matrix getCompensationMatrix() { return null; }
+ public void freeze() {}
+ public void unfreeze() {}
}