summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/ui/GLListView.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/ui/GLListView.java')
-rw-r--r--src/com/android/camera/ui/GLListView.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/camera/ui/GLListView.java b/src/com/android/camera/ui/GLListView.java
index c5161ea..bbee042 100644
--- a/src/com/android/camera/ui/GLListView.java
+++ b/src/com/android/camera/ui/GLListView.java
@@ -66,8 +66,8 @@ public class GLListView extends GLView {
int height = bounds.height();
mHighLight.setSize(width, height);
if (mHighLight.bind(root, gl)) {
- root.draw2D(bounds.left - mScrollX,
- bounds.top - mScrollY, width, height);
+ mHighLight.draw(root,
+ bounds.left - mScrollX, bounds.top - mScrollY);
}
}
}
@@ -80,7 +80,7 @@ public class GLListView extends GLView {
mScrollbar.setSize(width, height);
if (mScrollbar.bind(root, gl)) {
int yoffset = mScrollY * getHeight() / mScrollHeight;
- root.draw2D(getWidth() - width, yoffset, width, height);
+ mScrollbar.draw(root, getWidth() - width, yoffset);
}
}
}