Home
last modified time | relevance | path

Searched refs:expectedRatio (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/input/tests/
DVelocityControl_test.cpp43 float expectedRatio) { in moveAndCheckRatio() argument
46 ASSERT_NEAR(expectedRatio * deltaX, newDeltaX, EPSILON) in moveAndCheckRatio()
47 << "Expected ratio of " << expectedRatio << " in X, but actual ratio was " in moveAndCheckRatio()
49 ASSERT_NEAR(expectedRatio * deltaY, newDeltaY, EPSILON) in moveAndCheckRatio()
50 << "Expected ratio of " << expectedRatio << " in Y, but actual ratio was " in moveAndCheckRatio()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/pip/src/com/android/wm/shell/flicker/pip/tv/
DTvPipBasicTest.kt45 pipWindowRatio?.let { expectedRatio -> in <lambda>() method
46 assertEquals("Wrong Pip window ratio", expectedRatio.toFloat(), actualRatio) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationControllerWindowlessMagnifierTest.java599 final float expectedRatio = 0.5f; in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() local
620 assertEquals(expectedRatio, in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
623 assertEquals(expectedRatio, in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
DWindowMagnificationControllerTest.java582 final float expectedRatio = 0.5f; in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() local
603 assertEquals(expectedRatio, in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
606 assertEquals(expectedRatio, in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java1086 final float expectedRatio = DISPLAY_RANGE_NITS[1] / DISPLAY_RANGE_NITS[0]; in testHdrSdrRatio_notifiesOnChange() local
1087 assertEquals(expectedRatio, displayDevice.getDisplayDeviceInfoLocked().hdrSdrRatio, in testHdrSdrRatio_notifiesOnChange()