Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java709 final int[] viewPositionInSurface = new int[2]; in testSourcePosition_respectsMaxInSurfaceBounds() local
710 view.getLocationInSurface(viewPositionInSurface); in testSourcePosition_respectsMaxInSurfaceBounds()
713 showMagnifier(-viewPositionInSurface[0], -viewPositionInSurface[1]); in testSourcePosition_respectsMaxInSurfaceBounds()
716 assertEquals(0, sourcePosition.x - viewPosition[0] + viewPositionInSurface[0], in testSourcePosition_respectsMaxInSurfaceBounds()
718 assertEquals(0, sourcePosition.y - viewPosition[1] + viewPositionInSurface[1], in testSourcePosition_respectsMaxInSurfaceBounds()