diff options
Diffstat (limited to 'src/com/android/gallery3d/ui/ScreenNail.java')
-rw-r--r-- | src/com/android/gallery3d/ui/ScreenNail.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/gallery3d/ui/ScreenNail.java b/src/com/android/gallery3d/ui/ScreenNail.java index a2377fe2a..58ae8c942 100644 --- a/src/com/android/gallery3d/ui/ScreenNail.java +++ b/src/com/android/gallery3d/ui/ScreenNail.java @@ -21,11 +21,9 @@ public interface ScreenNail { public int getWidth(); public int getHeight(); public int getRotation(); - public void recycle(); public void draw(GLCanvas canvas, int x, int y, int width, int height); - - // We need this method to tell ScreenNail to stop displaying. - public void disableDraw(); + public void noDraw(); // we do not need to draw this ScreenNail in this frame. + public void pauseDraw(); // we do not expect to draw this ScreenNail for some time. // This is only used by TileImageView to back up the tiles not yet loaded. public void draw(GLCanvas canvas, RectF source, RectF dest); |