Searched refs:expectedRatio (Results 1 – 5 of 5) sorted by relevance
/frameworks/native/libs/input/tests/ |
D | VelocityControl_test.cpp | 43 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/ |
D | TvPipBasicTest.kt | 45 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/ |
D | WindowMagnificationControllerWindowlessMagnifierTest.java | 599 final float expectedRatio = 0.5f; in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() local 620 assertEquals(expectedRatio, in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio() 623 assertEquals(expectedRatio, in onScreenSizeAndDensityChanged_enabledAtTheCenterOfScreen_keepSameWindowSizeRatio()
|
D | WindowMagnificationControllerTest.java | 582 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/ |
D | LocalDisplayAdapterTest.java | 1086 final float expectedRatio = DISPLAY_RANGE_NITS[1] / DISPLAY_RANGE_NITS[0]; in testHdrSdrRatio_notifiesOnChange() local 1087 assertEquals(expectedRatio, displayDevice.getDisplayDeviceInfoLocked().hdrSdrRatio, in testHdrSdrRatio_notifiesOnChange()
|