Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DDisplayUtils.java48 private static final int BOUNDS_IN_SCREEN_TOLERANCE_PX = 1; field in DisplayUtils
65 return Math.abs((origin[0]) - bounds.left) <= BOUNDS_IN_SCREEN_TOLERANCE_PX in fuzzyBoundsInScreenSameOrigin()
66 && Math.abs((origin[1]) - bounds.top) <= BOUNDS_IN_SCREEN_TOLERANCE_PX; in fuzzyBoundsInScreenSameOrigin()
74 return Math.abs((boundsA.left) - boundsB.left) <= BOUNDS_IN_SCREEN_TOLERANCE_PX in fuzzyBoundsInScreenSameOrigin()
75 && Math.abs((boundsA.top) - boundsB.top) <= BOUNDS_IN_SCREEN_TOLERANCE_PX; in fuzzyBoundsInScreenSameOrigin()
84 largerExpanded.inset(-BOUNDS_IN_SCREEN_TOLERANCE_PX, -BOUNDS_IN_SCREEN_TOLERANCE_PX); in fuzzyBoundsInScreenContains()