Searched refs:screenLocation (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1594 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local 1595 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1598 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1599 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1627 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition() 1632 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition() 1643 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1644 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1645 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1657 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | CascadingMenuPopup.java | 312 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/ |
D | CascadingMenuPopup.java | 328 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/ |
D | NotificationStackScrollLayout.java | 3714 private int findDarkAnimationOriginIndex(@Nullable PointF screenLocation) { in findDarkAnimationOriginIndex() argument 3715 if (screenLocation == null || screenLocation.y < mTopPadding) { in findDarkAnimationOriginIndex() 3718 if (screenLocation.y > getBottomMostNotificationBottom()) { in findDarkAnimationOriginIndex() 3721 View child = getClosestChildAtRawPosition(screenLocation.x, screenLocation.y); in findDarkAnimationOriginIndex()
|