Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java147 private PointF mZoomFocalPoint = new PointF(); field in InteractiveLineGraphView
730 if (hitTest(e.getX(), e.getY(), mZoomFocalPoint)) {
903 float pointWithinViewportX = (mZoomFocalPoint.x - mScrollerStartViewport.left) in computeScroll()
905 float pointWithinViewportY = (mZoomFocalPoint.y - mScrollerStartViewport.top) in computeScroll()
908 mZoomFocalPoint.x - newWidth * pointWithinViewportX, in computeScroll()
909 mZoomFocalPoint.y - newHeight * pointWithinViewportY, in computeScroll()
910 mZoomFocalPoint.x + newWidth * (1 - pointWithinViewportX), in computeScroll()
911 mZoomFocalPoint.y + newHeight * (1 - pointWithinViewportY)); in computeScroll()
974 mZoomFocalPoint.set( in zoomIn()
987 mZoomFocalPoint.set( in zoomOut()