Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java92 private AtomicReference<Float> mCurrentScale = new AtomicReference<>((float) 0); field in WindowMagnificationAnimationControllerTest
241 mCurrentScale.set(mController.getScale()); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
251 verifyStartValue(mScaleCaptor, mCurrentScale.get()); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
296 mCurrentScale.set(mController.getScale()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
306 verifyStartValue(mScaleCaptor, mCurrentScale.get()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
338 mCurrentScale.set(mController.getScale()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue()
348 verifyStartValue(mScaleCaptor, mCurrentScale.get()); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue()
374 mCurrentScale.set(mController.getScale()); in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback()
384 verifyStartValue(mScaleCaptor, mCurrentScale.get()); in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback()
462 mCurrentScale.set(mController.getScale()); in enableWindowMagnification_disabling_expectedValuesAndInvokeCallback()
[all …]
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java902 private final float mCurrentScale; field in MagnificationController.DisableMagnificationCallback
912 mCurrentScale = scale; in DisableMagnificationCallback()
1002 fullScreenMagnificationController.setScaleAndCenter(mDisplayId, mCurrentScale, in applyMagnificationModeLocked()
1007 mCurrentScale, mCurrentCenter.x, in applyMagnificationModeLocked()