Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/
DMagnetizedObjectTest.kt60 private val targetCenterY = 900 in <lambda>() constant
107 location[1] = targetCenterY - targetSize / 2 // y = 800 in <lambda>()
157 y = targetCenterY - magneticFieldRadius + 5))) in <lambda>()
163 y = targetCenterY - 100))) in <lambda>()
177 y = targetCenterY))) 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>()
244 y = targetCenterY - magneticFieldRadius, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java209 final float targetCenterY = DEFAULT_CENTER_Y + 100; in enableWindowMagnificationWithoutCallback_enabled_expectedValues() local
211 enableWindowMagnificationWithoutAnimation(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationWithoutCallback_enabled_expectedValues()
213 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationWithoutCallback_enabled_expectedValues()
235 final float targetCenterY = DEFAULT_CENTER_Y + 100; in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback() local
240 targetCenterX, targetCenterY, mAnimationCallback2); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
256 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnification_enabling_expectedValuesAndInvokeCallback()
290 final float targetCenterY = mirrorView.getHeight() / 2.0f; in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue() local
295 targetCenterX, targetCenterY, mAnimationCallback); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
312 verifyFinalSpec(targetScale, targetCenterX, targetCenterY); in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOn_AnimationAndCallbackTrue()
332 final float targetCenterY = mirrorView.getHeight() / 2.0f; in enableWindowMagnificationScaleOne_enabledAndWindowlessFlagOff_AnimationAndCallbackTrue() local
[all …]
DWindowMagnificationControllerWindowlessMagnifierTest.java461 final float targetCenterY = sourceBoundsCaptor.getValue().exactCenterY() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local
466 targetCenterX, targetCenterY, mAnimationCallback); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
479 assertEquals(mWindowMagnificationController.getCenterY(), targetCenterY, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local
DWindowMagnificationControllerTest.java446 final float targetCenterY = sourceBoundsCaptor.getValue().exactCenterY() + 10; in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local
450 targetCenterX, targetCenterY, mAnimationCallback); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback()
463 assertEquals(mWindowMagnificationController.getCenterY(), targetCenterY, 0); in moveWindowMagnifierToPositionWithAnimation_expectedValuesAndInvokeCallback() local