Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java275 float currentScale = getScale(); in scale() local
280 if (currentScale > mMinScale) { in scale()
282 float relativeScale = targetScale / currentScale; in scale()
289 targetScale = currentScale * DOUBLE_TAP_SCALE_FACTOR; in scale()
293 float relativeScale = targetScale / currentScale; in scale()
311 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); in scale()
371 float currentScale = getScale(); in onScale() local
372 float newScale = currentScale * detector.getScaleFactor(); in onScale()
390 float currentScale = getScale(); in onScaleEnd() local
391 if (currentScale > mMaxScale) { in onScaleEnd()
[all …]