Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DPopupWindow.java1744 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local
1745 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition()
1748 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition()
1749 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition()
1777 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition()
1782 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition()
1793 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition()
1794 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition()
1795 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition()
1807 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition()
[all …]
/frameworks/base/core/java/com/android/internal/view/menu/
DCascadingMenuPopup.java313 final int[] screenLocation = new int[2]; in getNextMenuPosition() local
314 lastListView.getLocationOnScreen(screenLocation); in getNextMenuPosition()
320 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth; in getNextMenuPosition()
326 final int left = screenLocation[0] - nextMenuWidth; in getNextMenuPosition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackScrollLayout.java4823 private int findDarkAnimationOriginIndex(@Nullable PointF screenLocation) {
4824 if (screenLocation == null || screenLocation.y < mTopPadding) {
4827 if (screenLocation.y > getBottomMostNotificationBottom()) {
4830 View child = getClosestChildAtRawPosition(screenLocation.x, screenLocation.y);