summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2012-10-25 12:30:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-10-25 12:30:05 -0700
commit665a3a652befb40268b2b644004a0deac750f34e (patch)
tree99990811f3e83478662f32c2a5807126853378de /tests/src/com/android
parent79be54c7f80dc373eaf5392629e8d3e74ac316de (diff)
parent78266e0e11cd939fb813565e8736282cad83771b (diff)
downloadandroid_packages_apps_Snap-665a3a652befb40268b2b644004a0deac750f34e.zip
android_packages_apps_Snap-665a3a652befb40268b2b644004a0deac750f34e.tar.gz
android_packages_apps_Snap-665a3a652befb40268b2b644004a0deac750f34e.tar.bz2
am 0c7e8aac: Merge "Fix build." into gb-ub-photos-arches
* commit '0c7e8aac441c18117b8daf3255d2658b83a37bde': Fix build.
Diffstat (limited to 'tests/src/com/android')
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootMock.java3
-rw-r--r--tests/src/com/android/gallery3d/ui/GLRootStub.java1
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 b1c4355..da78e14 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootMock.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootMock.java
@@ -26,6 +26,9 @@ public class GLRootMock implements GLRoot {
public void addOnGLIdleListener(OnGLIdleListener listener) {}
public void registerLaunchedAnimation(CanvasAnimation animation) {}
+ public void requestRenderForced() {
+ mRequestRenderCalled++;
+ }
public void requestRender() {
mRequestRenderCalled++;
}
diff --git a/tests/src/com/android/gallery3d/ui/GLRootStub.java b/tests/src/com/android/gallery3d/ui/GLRootStub.java
index 7f134db..25e7bca 100644
--- a/tests/src/com/android/gallery3d/ui/GLRootStub.java
+++ b/tests/src/com/android/gallery3d/ui/GLRootStub.java
@@ -23,6 +23,7 @@ import com.android.gallery3d.anim.CanvasAnimation;
public class GLRootStub implements GLRoot {
public void addOnGLIdleListener(OnGLIdleListener listener) {}
public void registerLaunchedAnimation(CanvasAnimation animation) {}
+ public void requestRenderForced() {}
public void requestRender() {}
public void requestLayoutContentPane() {}
public boolean hasStencil() { return true; }