Home
last modified time | relevance | path

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

/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java277 float currentScale = getScale(); in scale() local
282 if (currentScale > mMinScale) { in scale()
284 float relativeScale = targetScale / currentScale; in scale()
291 targetScale = currentScale * DOUBLE_TAP_SCALE_FACTOR; in scale()
295 float relativeScale = targetScale / currentScale; in scale()
313 mScaleRunnable.start(currentScale, targetScale, centerX, centerY); in scale()
373 float currentScale = getScale(); in onScale() local
374 float newScale = currentScale * detector.getScaleFactor(); in onScale()
921 float currentScale = getScale(); in scale() local
924 if (newScale > mMaxScale && currentScale <= mMaxScale) { in scale()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java273 float currentScale = Settings.Secure.getFloat( in isAlreadyConfiguredCriticalAccessibilitySetting() local
275 return Math.abs(currentScale - defaultScale) >= FLOAT_TOLERANCE; in isAlreadyConfiguredCriticalAccessibilitySetting()