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

  /frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
ListPopupWindowTest.java 140 final int[] anchorOnScreenXY = new int[2];
146 mButton.getLocationOnScreen(anchorOnScreenXY);
150 assertEquals("Anchoring X", anchorOnScreenXY[0] + popupInWindowXY[0], popupOnScreenXY[0]);
151 assertEquals("Anchoring Y", anchorOnScreenXY[1] + popupInWindowXY[1] + mButton.getHeight(),
380 final int[] anchorOnScreenXY = new int[2];
381 anchor.getLocationOnScreen(anchorOnScreenXY);
386 int emulatedX = anchorOnScreenXY[0] + anchor.getWidth() / 2;
387 int emulatedStartY = anchorOnScreenXY[1] + anchor.getHeight() / 2;
PopupMenuTest.java 313 final int[] anchorOnScreenXY = new int[2];
318 mButton.getLocationOnScreen(anchorOnScreenXY);
321 assertEquals("Anchoring X", anchorOnScreenXY[0] + popupInWindowXY[0],
324 anchorOnScreenXY[1] + popupInWindowXY[1] + mButton.getHeight() - popupPadding.top,
  /cts/tests/tests/widget/src/android/widget/cts/
ListPopupWindowTest.java     [all...]
PopupWindowTest.java 576 final int[] anchorOnScreenXY = new int[2];
577 anchor.getLocationOnScreen(anchorOnScreenXY);
578 int anchorY = anchorOnScreenXY[1];
595 final int[] anchorOnScreenXY = new int[2];
596 anchor.getLocationOnScreen(anchorOnScreenXY);
597 int anchorX = anchorOnScreenXY[0];
    [all...]

Completed in 467 milliseconds