Searched refs:screenLocation (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/regionsampling/ |
D | RegionSampler.kt | 205 val screenLocation = tmpScreenLocation in calculateScreenLocation() constant 211 sampledView.getLocationOnScreen(screenLocation) in calculateScreenLocation() 212 val left = screenLocation[0] in calculateScreenLocation() 213 val top = screenLocation[1] in calculateScreenLocation()
|
/frameworks/base/core/java/android/widget/ |
D | PopupWindow.java | 1746 final int[] screenLocation = mTmpScreenLocation; in findDropDownPosition() local 1747 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1750 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1751 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1779 anchorHeight, drawingLocation[1], screenLocation[1], displayFrame.top, in findDropDownPosition() 1784 anchorWidth, drawingLocation[0], screenLocation[0], displayFrame.left, in findDropDownPosition() 1795 anchor.getLocationOnScreen(screenLocation); in findDropDownPosition() 1796 drawingLocation[0] = screenLocation[0] - appScreenLocation[0]; in findDropDownPosition() 1797 drawingLocation[1] = screenLocation[1] - appScreenLocation[1]; in findDropDownPosition() 1809 screenLocation[1], displayFrame.top, displayFrame.bottom, mClipToScreen); in findDropDownPosition() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | CascadingMenuPopup.java | 319 final int[] screenLocation = new int[2]; in getNextMenuPosition() local 320 lastListView.getLocationOnScreen(screenLocation); in getNextMenuPosition() 326 final int right = screenLocation[0] + lastListView.getWidth() + nextMenuWidth; in getNextMenuPosition() 332 final int left = screenLocation[0] - nextMenuWidth; in getNextMenuPosition()
|