HomeSort by relevance Sort by last modified time
    Searched refs:viewPosition (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/widget/src/android/widget/cts/
MagnifierTest.java 677 final int[] viewPosition = new int[2];
678 view.getLocationInWindow(viewPosition);
685 assertEquals(viewPosition[0] - mMagnifier.getSourceWidth() / 2, sourcePosition.x,
687 assertEquals(viewPosition[1] - mMagnifier.getSourceHeight() / 2, sourcePosition.y,
695 assertEquals(viewPosition[0] + view.getWidth() - mMagnifier.getSourceWidth() / 2,
697 assertEquals(viewPosition[1] + view.getHeight() - mMagnifier.getSourceHeight() / 2,
707 assertEquals(0, sourcePosition.x - viewPosition[0] + viewPositionInSurface[0],
709 assertEquals(0, sourcePosition.y - viewPosition[1] + viewPositionInSurface[1],
    [all...]
  /cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityTextActionTest.java 288 int[] viewPosition = new int[2];
289 editText.getLocationOnScreen(viewPosition);
290 final int oneLineDownY = (int) locationsBeforeScroll[0].bottom - viewPosition[1];

Completed in 65 milliseconds