Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DPopupWindow.java1598 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local
1599 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition()
1602 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition()
1603 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition()
1631 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition()
1636 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition()
1647 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition()
1648 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition()
1649 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition()
1661 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition()
[all …]
/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/support/v7/appcompat/src/android/support/v7/view/menu/
DCascadingMenuPopup.java328 final int[] screenLocation = new int[2]; in getNextMenuPosition() local
329 lastListView.getLocationOnScreen(screenLocation); in getNextMenuPosition()
335 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth; in getNextMenuPosition()
341 final int left = screenLocation[0] - nextMenuWidth; in getNextMenuPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DNotificationStackScrollLayout.java3786 private int findDarkAnimationOriginIndex(@Nullable PointF screenLocation) { in findDarkAnimationOriginIndex() argument
3787 if (screenLocation == null || screenLocation.y < mTopPadding) { in findDarkAnimationOriginIndex()
3790 if (screenLocation.y > getBottomMostNotificationBottom()) { in findDarkAnimationOriginIndex()
3793 View child = getClosestChildAtRawPosition(screenLocation.x, screenLocation.y); in findDarkAnimationOriginIndex()