Home
last modified time | relevance | path

Searched refs:expectedY (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DPositionTest.java38 final float expectedY = 0.7f; in fromString_correctFormat_expectedValues() local
39 final String correctStringFormat = expectedX + ", " + expectedY; in fromString_correctFormat_expectedValues()
44 assertThat(position.getPercentageY()).isEqualTo(expectedY); in fromString_correctFormat_expectedValues()
58 final float expectedY = 0.9f; in constructor() local
60 final Position position = new Position(expectedX, expectedY); in constructor()
63 assertThat(position.getPercentageY()).isEqualTo(expectedY); in constructor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationModeSwitchTest.java588 int expectedY = (int) (windowHeightFraction in onRotationChanged_buttonIsShowing_expectedYPosition() local
593 expectedY, mWindowManager.getLayoutParamsFromAttachedView().y); in onRotationChanged_buttonIsShowing_expectedYPosition()
613 final int expectedY = (int) (windowHeightFraction in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition() local
617 assertEquals(expectedY, mWindowManager.getLayoutParamsFromAttachedView().y); in onScreenSizeChanged_buttonIsShowingOnTheRightSide_expectedPosition()
684 final int expectedY = mMagnificationModeSwitch.mDraggableWindowBounds.bottom; in assertLayoutPosition() local
689 assertEquals(expectedY, layoutParams.y); in assertLayoutPosition()
DWindowMagnificationAnimationControllerTest.java593 final float expectedY = (int) (windowBounds.exactCenterY() + expectedOffset in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues() local
600 .setPosition(any(SurfaceControl.class), eq(expectedX), eq(expectedY)); in enableWindowMagnificationWithOffset_windowlessFlagOn_expectedValues()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DCoordinateTransformsTest.java239 return (expectedX, expectedY) -> { in checkPoint()
241 transformedPoint, is(new PointF(expectedX, expectedY))); in checkPoint()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java654 final float expectedY = displayHeight / scaleFactor; in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized() local
686 eq(testParams.sensorProps.sensorId), eq(pointerId), eq(expectedX), eq(expectedY), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
701 eq(testParams.sensorProps.sensorId), eq(pointerId), eq(expectedX), eq(expectedY), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
716 eq(testParams.sensorProps.sensorId), eq(pointerId), eq(expectedX), eq(expectedY), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
732 eq(testParams.sensorProps.sensorId), eq(pointerId), eq(expectedX), eq(expectedY), in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DViewHierarchyAnimatorTest.kt1028 val expectedY = ((originalTop - M_TOP) + (originalBottom + M_BOTTOM)) / 2 in animatesViewRemoval_includeMarginsTrue_center() constant
1033 t = expectedY, in animatesViewRemoval_includeMarginsTrue_center()
1035 b = expectedY in animatesViewRemoval_includeMarginsTrue_center()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java920 float expectedY = (numBackgroundsFound) * (LINE_HEIGHT + LINE_DESCENT); in highContrastTextEnabled_testDrawLightText_drawsBlackBackgroundRects() local
921 expect.that(drawCommand.rect.bottom).isAtLeast(expectedY); in highContrastTextEnabled_testDrawLightText_drawsBlackBackgroundRects()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp9359 float expectedY = points[i].y; in consumeMotionEvent() local
9364 EXPECT_EQ(expectedY, motionEvent->getY(i)) in consumeMotionEvent()
9365 << "expected " << expectedY << " for y[" << i << "] coord of " << name.c_str() in consumeMotionEvent()