Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java81 private static final float PIXEL_COMPARISON_DELTA = 1f; field in MagnifierTest
314 sourcePosition.x + mMagnifier.getSourceWidth() / 2f, PIXEL_COMPARISON_DELTA); in testShow()
316 sourcePosition.y + mMagnifier.getSourceHeight() / 2f, PIXEL_COMPARISON_DELTA); in testShow()
323 magnifierPosition.x, PIXEL_COMPARISON_DELTA); in testShow()
326 magnifierPosition.y, PIXEL_COMPARISON_DELTA); in testShow()
352 magnifierPosition.x, PIXEL_COMPARISON_DELTA); in testShow_withDecoupledMagnifierPosition()
355 magnifierPosition.y, PIXEL_COMPARISON_DELTA); in testShow_withDecoupledMagnifierPosition()
451 assertEquals(systemInsets.left, magnifierCoords.x, PIXEL_COMPARISON_DELTA); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft()
452 assertEquals(systemInsets.top, magnifierCoords.y, PIXEL_COMPARISON_DELTA); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft()
471 magnifierCoords.x, PIXEL_COMPARISON_DELTA); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight() local
[all …]