Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java672 float newWidth = lastSpanX / spanX * mCurrentViewport.width();
681 - newWidth * (focusX - mContentRect.left)
688 mCurrentViewport.right = mCurrentViewport.left + newWidth;
901 float newWidth = (1f - mZoomer.getCurrZoom()) * mScrollerStartViewport.width(); in computeScroll() local
908 mZoomFocalPoint.x - newWidth * pointWithinViewportX, in computeScroll()
910 mZoomFocalPoint.x + newWidth * (1 - pointWithinViewportX), in computeScroll()