Searched refs:screenLocation (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1599 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local 1600 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1603 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1604 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1632 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition() 1637 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition() 1648 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1649 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1650 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1662 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | CascadingMenuPopup.java | 313 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/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
D | CascadingMenuPopup.java | 329 final int[] screenLocation = new int[2]; in getNextMenuPosition() local 330 lastListView.getLocationOnScreen(screenLocation); in getNextMenuPosition() 336 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth; in getNextMenuPosition() 342 final int left = screenLocation[0] - nextMenuWidth; in getNextMenuPosition()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | NotificationStackScrollLayout.java | 4049 private int findDarkAnimationOriginIndex(@Nullable PointF screenLocation) { 4050 if (screenLocation == null || screenLocation.y < mTopPadding) { 4053 if (screenLocation.y > getBottomMostNotificationBottom()) { 4056 View child = getClosestChildAtRawPosition(screenLocation.x, screenLocation.y);
|