diff options
Diffstat (limited to 'tests/src/com/android/gallery3d/ui/GLRootMock.java')
-rw-r--r-- | tests/src/com/android/gallery3d/ui/GLRootMock.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/src/com/android/gallery3d/ui/GLRootMock.java b/tests/src/com/android/gallery3d/ui/GLRootMock.java index 55f1c9a12..4af7a1f59 100644 --- a/tests/src/com/android/gallery3d/ui/GLRootMock.java +++ b/tests/src/com/android/gallery3d/ui/GLRootMock.java @@ -16,6 +16,7 @@ package com.android.gallery3d.ui; +import android.graphics.Matrix; import com.android.gallery3d.anim.CanvasAnimation; public class GLRootMock implements GLRoot { @@ -34,5 +35,8 @@ public class GLRootMock implements GLRoot { public void lockRenderThread() {} public void unlockRenderThread() {} public void setContentPane(GLView content) {} - public void setOrientationCompensation(int degrees) {} + public void setOrientationSource(OrientationSource source) {} + public int getDisplayRotation() { return 0; } + public int getCompensation() { return 0; } + public Matrix getCompensationMatrix() { return null; } } |