Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java306 final int[] screenLocation = new int[2]; in getNextMenuPosition() local
307 lastListView.getLocationOnScreen(screenLocation); in getNextMenuPosition()
313 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth; in getNextMenuPosition()
319 final int left = screenLocation[0] - nextMenuWidth; in getNextMenuPosition()
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java312 final int[] screenLocation = new int[2]; in getNextMenuPosition() local
313 lastListView.getLocationOnScreen(screenLocation); in getNextMenuPosition()
319 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth; in getNextMenuPosition()
325 final int left = screenLocation[0] - nextMenuWidth; in getNextMenuPosition()
/frameworks/base/core/java/android/widget/
DPopupWindow.java1562 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local
1563 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition()
1567 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition()
1572 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition()
1595 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition()
1597 screenLocation[0], displayFrame.left, displayFrame.right, mClipToScreen); in findDropDownPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java3428 private int findDarkAnimationOriginIndex(@Nullable PointF screenLocation) { in findDarkAnimationOriginIndex() argument
3429 if (screenLocation == null || screenLocation.y < mTopPadding) { in findDarkAnimationOriginIndex()
3432 if (screenLocation.y > getBottomMostNotificationBottom()) { in findDarkAnimationOriginIndex()
3435 View child = getClosestChildAtRawPosition(screenLocation.x, screenLocation.y); in findDarkAnimationOriginIndex()