summaryrefslogtreecommitdiffstats
path: root/tests/src/com/android
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2012-10-26 03:21:23 +0800
committerAngus Kong <shkong@google.com>2012-10-26 03:21:23 +0800
commit6a06e72a32ed4197a9804e78b7eef084aa7d08f0 (patch)
treed8e7959e7002f18484378c6f62008b0406118428 /tests/src/com/android
parent30e7406db27fc4f0dbd3dd0ee3a0b04f40439231 (diff)
downloadandroid_packages_apps_Snap-6a06e72a32ed4197a9804e78b7eef084aa7d08f0.zip
android_packages_apps_Snap-6a06e72a32ed4197a9804e78b7eef084aa7d08f0.tar.gz
android_packages_apps_Snap-6a06e72a32ed4197a9804e78b7eef084aa7d08f0.tar.bz2
Fix build.
Change-Id: Ia7b581eba32f98d695117526d25876e7a8a398c0
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; }