Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java207 final float targetScale = DEFAULT_SCALE + 1.0f; in enableWindowMagnificationWithoutCallback_enabled_expectedValues() local
211 enableWindowMagnificationWithoutAnimation(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationWithoutCallback_enabled_expectedValues()
213 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationWithoutCallback_enabled_expectedValues()
233 final float targetScale = DEFAULT_SCALE + 1.0f; in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() local
239 mWindowMagnificationAnimationController.enableWindowMagnification(targetScale, in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
256 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
287 final float targetScale = 1.0f; in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() local
294 mWindowMagnificationAnimationController.enableWindowMagnification(targetScale, in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
312 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
329 final float targetScale = 1.0f; in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() local
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DPanningScalingHandler.java131 final float targetScale = initialScale * detector.getScaleFactor(); in onScale() local
133 if (targetScale > mMaxScale && targetScale > initialScale) { in onScale()
136 } else if (targetScale < mMinScale && targetScale < initialScale) { in onScale()
143 scale = targetScale; in onScale()
DFullScreenMagnificationGestureHandler.java637 final float targetScale = initialScale * detector.getScaleFactor(); in onScale() local
642 if (targetScale > MAX_SCALE && targetScale > initialScale) { in onScale()
645 } else if (targetScale < MIN_SCALE && targetScale < initialScale) { in onScale()
652 scale = targetScale; in onScale()
DMagnificationController.java347 final float targetScale = Float.isNaN(config.getScale()) in transitionMagnificationConfigMode() local
360 targetScale, magnificationCenter.x, magnificationCenter.y, in transitionMagnificationConfigMode()
372 screenMagnificationController.setScaleAndCenter(displayId, targetScale, in transitionMagnificationConfigMode()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBadgedImageView.java227 final float targetScale = shouldDrawDot() ? 1f : 0f; in updateDotVisibility() local
230 animateDotScale(targetScale, null /* after */); in updateDotVisibility()
232 mDotScale = targetScale; in updateDotVisibility()
233 mAnimatingToDotScale = targetScale; in updateDotVisibility()
/frameworks/base/tools/fonts/
Dfont-scaling-array-generator.js101 const targetScale = parseFloat(targetScaleKey, 10);
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DColumnVolumeSliders.kt215 targetScale = SCALE_FRACTION, in exitTransition()
256 targetScale = EXPAND_BUTTON_SCALE, in expandButtonExitTransition()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/mediaoutput/ui/composable/
DMediaOutputComponent.kt156 targetScale = 0.9f, in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationControllerTest.java480 final float targetScale = 2.0f;
482 targetScale, center.x, center.y, false, SERVICE_ID_1));
486 targetScale, center.x, center.y, mAnimationCallback, SERVICE_ID_1));