Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java278 float targetScale; in scale() local
283 targetScale = mMinScale; in scale()
284 float relativeScale = targetScale / currentScale; in scale()
291 targetScale = currentScale * DOUBLE_TAP_SCALE_FACTOR; in scale()
293 targetScale = Math.max(mMinScale, targetScale); in scale()
294 targetScale = Math.min(mMaxScale, targetScale); in scale()
295 float relativeScale = targetScale / currentScale; in scale()
313 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); in scale()
1184 public boolean start(float startScale, float targetScale, float centerX, float centerY) { in start() argument
1193 mTargetScale = targetScale; in start()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java446 final float targetScale = initialScale * detector.getScaleFactor(); in onScale() local
451 if (targetScale > MAX_SCALE && targetScale > initialScale) { in onScale()
454 } else if (targetScale < MIN_SCALE && targetScale < initialScale) { in onScale()
461 scale = targetScale; in onScale()