Searched refs:screenLocation (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1743 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local 1744 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1747 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1748 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1776 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition() 1781 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition() 1792 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1793 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1794 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1806 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()
|