Home
last modified time | relevance | path

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

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DScaleGestureDetectorCompat.java38 public static float getCurrentSpanX(ScaleGestureDetector scaleGestureDetector) { in getCurrentSpanX() argument
40 return scaleGestureDetector.getCurrentSpanX(); in getCurrentSpanX()
42 return scaleGestureDetector.getCurrentSpan(); in getCurrentSpanX()
50 public static float getCurrentSpanY(ScaleGestureDetector scaleGestureDetector) { in getCurrentSpanY() argument
52 return scaleGestureDetector.getCurrentSpanY(); in getCurrentSpanY()
54 return scaleGestureDetector.getCurrentSpan(); in getCurrentSpanY()
DInteractiveLineGraphView.java661 public boolean onScaleBegin(ScaleGestureDetector scaleGestureDetector) {
662 lastSpanX = ScaleGestureDetectorCompat.getCurrentSpanX(scaleGestureDetector);
663 lastSpanY = ScaleGestureDetectorCompat.getCurrentSpanY(scaleGestureDetector);
668 public boolean onScale(ScaleGestureDetector scaleGestureDetector) {
669 float spanX = ScaleGestureDetectorCompat.getCurrentSpanX(scaleGestureDetector);
670 float spanY = ScaleGestureDetectorCompat.getCurrentSpanY(scaleGestureDetector);
675 float focusX = scaleGestureDetector.getFocusX();
676 float focusY = scaleGestureDetector.getFocusY();