Lines Matching refs:displayFrame
1248 final Rect displayFrame = new Rect();
1249 anchor.getWindowVisibleDisplayFrame(displayFrame);
1253 if (screenY + mPopupHeight > displayFrame.bottom
1279 onTop = (displayFrame.bottom - mScreenLocation[1] - anchorHeight - yoff) <
1280 (mScreenLocation[1] - yoff - displayFrame.top);
1290 final int displayFrameWidth = displayFrame.right - displayFrame.left;
1296 if (p.x < displayFrame.left) {
1297 p.x = displayFrame.left;
1307 p.y = Math.max(p.y, displayFrame.top);
1367 final Rect displayFrame = new Rect();
1368 anchor.getWindowVisibleDisplayFrame(displayFrame);
1373 int bottomEdge = displayFrame.bottom;
1379 final int distanceToTop = anchorPos[1] - displayFrame.top + yOffset;