Home
last modified time | relevance | path

Searched refs:mSurfaceSizeBuffer (Results 1 – 1 of 1) sorted by relevance

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java173 private Point mSurfaceSizeBuffer = new Point(); field in InteractiveLineGraphView
749 computeScrollSurfaceSize(mSurfaceSizeBuffer);
750 int scrolledX = (int) (mSurfaceSizeBuffer.x
753 int scrolledY = (int) (mSurfaceSizeBuffer.y
772 if (canScrollX && scrolledX > mSurfaceSizeBuffer.x - mContentRect.width()) {
773 mEdgeEffectRight.onPull((scrolledX - mSurfaceSizeBuffer.x + mContentRect.width())
777 if (canScrollY && scrolledY > mSurfaceSizeBuffer.y - mContentRect.height()) {
778 mEdgeEffectBottom.onPull((scrolledY - mSurfaceSizeBuffer.y + mContentRect.height())
807 computeScrollSurfaceSize(mSurfaceSizeBuffer); in fling()
809 int startX = (int) (mSurfaceSizeBuffer.x * (mScrollerStartViewport.left - AXIS_X_MIN) / ( in fling()
[all …]