Home
last modified time | relevance | path

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

/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationConnectionManager.java1101 final float normScale = MagnificationScaleProvider.constrainScale(scale); in enableWindowMagnificationInternal() local
1104 normScale, centerX, centerY, mMagnificationFrameOffsetRatio.x, in enableWindowMagnificationInternal()
1106 mScale = normScale; in enableWindowMagnificationInternal()
1155 final float normScale = MagnificationScaleProvider.constrainScale(scale); in setScale() local
1156 if (Float.compare(mScale, normScale) != 0 in setScale()
1159 mScale = normScale; in setScale()
DFullScreenMagnificationController.java792 final float normScale = MagnificationScaleProvider.constrainScale(scale); in updateMagnificationSpecLocked() local
793 if (Float.compare(mCurrentMagnificationSpec.scale, normScale) != 0) { in updateMagnificationSpecLocked()
794 mCurrentMagnificationSpec.scale = normScale; in updateMagnificationSpecLocked()
799 + mMagnificationBounds.left - centerX * normScale; in updateMagnificationSpecLocked()
801 + mMagnificationBounds.top - centerY * normScale; in updateMagnificationSpecLocked()