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

  /cts/tests/tests/widget/src/android/widget/cts/
PopupWindowTest.java 653 final View upperAnchor = mActivity.findViewById(R.id.anchor_upper);
654 final WindowInsets windowInsets = upperAnchor.getRootWindowInsets();
663 () -> mPopupWindow.showAtLocation(upperAnchor, Gravity.NO_GRAVITY, xOff, yOff));
669 upperAnchor.getWindowDisplayFrame(containingRect);
686 final View upperAnchor = mActivity.findViewById(R.id.anchor_upper);
687 upperAnchor.getLocationOnScreen(anchorXY);
688 int height = upperAnchor.getHeight();
693 mActivityRule.runOnUiThread(() -> mPopupWindow.showAsDropDown(upperAnchor, xOff, yOff));
711 final View upperAnchor = mActivity.findViewById(R.id.anchor_upper);
712 upperAnchor.getLocationOnScreen(anchorXY)
    [all...]
ListPopupWindowTest.java 257 final View upperAnchor = mActivity.findViewById(R.id.anchor_upper);
264 assertEquals(upperAnchor, mPopupWindow.getAnchorView());
269 upperAnchor.getLocationOnScreen(anchorXY);
275 Gravity.getAbsoluteGravity(gravity, upperAnchor.getLayoutDirection());
277 expectedListViewOnScreenX -= (listView.getWidth() - upperAnchor.getWidth());
288 + upperAnchor.getHeight() + verticalOffset;
    [all...]

Completed in 151 milliseconds