Home
last modified time | relevance | path

Searched refs:targetCenterX (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObjectTest.kt59 private val targetCenterX = 500 in <lambda>() constant
106 location[0] = targetCenterX - targetSize / 2 // x = 400 in <lambda>()
156 x = targetCenterX - magneticFieldRadius + 5, in <lambda>()
162 x = targetCenterX - 100, in <lambda>()
176 x = targetCenterX, in <lambda>()
192 x = targetCenterX, y = targetCenterY, action = MotionEvent.ACTION_DOWN))) in <lambda>()
213 getMotionEvent(x = targetCenterX - 100, y = targetCenterY - 100), in <lambda>()
214 getMotionEvent(x = targetCenterX, y = targetCenterY), in <lambda>()
215 getMotionEvent(x = targetCenterX + 100, y = targetCenterY + 100)) in <lambda>()
243 x = targetCenterX - magneticFieldRadius, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java208 final float targetCenterX = DEFAULT_CENTER_X + 100; in enableWindowMagnificationWithoutCallback_enabled_expectedValues() local
211 enableWindowMagnificationWithoutAnimation(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationWithoutCallback_enabled_expectedValues()
213 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationWithoutCallback_enabled_expectedValues()
234 final float targetCenterX = DEFAULT_CENTER_X + 100; in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() local
240 targetCenterX, targetCenterY, mAnimationCallback2); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
256 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
289 final float targetCenterX = mirrorView.getWidth() / 2.0f; in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() local
295 targetCenterX, targetCenterY, mAnimationCallback); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
312 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
331 final float targetCenterX = mirrorView.getWidth() / 2.0f; in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() local
[all …]
DWindowMagnificationControllerWindowlessMagnifierTest.java460 final float targetCenterX = sourceBoundsCaptor.getValue().exactCenterX() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local
466 targetCenterX, targetCenterY, mAnimationCallback); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
478 assertEquals(mWindowMagnificationController.getCenterX(), targetCenterX, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local
DWindowMagnificationControllerTest.java445 final float targetCenterX = sourceBoundsCaptor.getValue().exactCenterX() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local
450 targetCenterX, targetCenterY, mAnimationCallback); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
462 assertEquals(mWindowMagnificationController.getCenterX(), targetCenterX, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local