Searched refs:boundingRect (Results 1 – 4 of 4) sorted by relevance
/aosp12/frameworks/base/services/core/java/com/android/server/wm/utils/ |
H A D | WmDisplayCutout.java | 88 private static int findCutoutInsetForSide(Size display, Rect boundingRect, int gravity) { in findCutoutInsetForSide() argument 89 if (boundingRect.isEmpty()) { in findCutoutInsetForSide() 96 return Math.max(inset, boundingRect.bottom); in findCutoutInsetForSide() 98 return Math.max(inset, display.getHeight() - boundingRect.top); in findCutoutInsetForSide() 100 return Math.max(inset, boundingRect.right); in findCutoutInsetForSide() 102 return Math.max(inset, display.getWidth() - boundingRect.left); in findCutoutInsetForSide()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayLayout.java | 465 private static int findCutoutInsetForSide(Size display, Rect boundingRect, int gravity) { in findCutoutInsetForSide() argument 466 if (boundingRect.isEmpty()) { in findCutoutInsetForSide() 473 return Math.max(inset, boundingRect.bottom); in findCutoutInsetForSide() 475 return Math.max(inset, display.getHeight() - boundingRect.top); in findCutoutInsetForSide() 477 return Math.max(inset, boundingRect.right); in findCutoutInsetForSide() 479 return Math.max(inset, display.getWidth() - boundingRect.left); in findCutoutInsetForSide()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | CellLayout.java | 1458 final Rect boundingRect = new Rect(); field in CellLayout.ViewCluster 1600 return boundingRect; in getBoundingRect() 1729 Rect boundingRect = new Rect(); in addViewsToTempLocation() local 1739 … GridOccupancy blockOccupied = new GridOccupancy(boundingRect.width(), boundingRect.height()); in addViewsToTempLocation() 1740 int top = boundingRect.top; in addViewsToTempLocation() 1741 int left = boundingRect.left; in addViewsToTempLocation() 1751 findNearestArea(boundingRect.left, boundingRect.top, boundingRect.width(), in addViewsToTempLocation() 1752 boundingRect.height(), direction, in addViewsToTempLocation() 2347 if (boundingRect != null) { in getViewsIntersectingRegion() 2361 if (boundingRect != null) { in getViewsIntersectingRegion() [all …]
|
/aosp12/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 6093 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local 6094 boundingRect.set(dirty); in invalidateChild() 6111 transformMatrix.mapRect(boundingRect); in invalidateChild() 6112 dirty.set((int) Math.floor(boundingRect.left), in invalidateChild() 6113 (int) Math.floor(boundingRect.top), in invalidateChild() 6114 (int) Math.ceil(boundingRect.right), in invalidateChild() 6115 (int) Math.ceil(boundingRect.bottom)); in invalidateChild() 6146 boundingRect.set(dirty); in invalidateChild() 6147 m.mapRect(boundingRect); in invalidateChild() 6149 (int) Math.floor(boundingRect.top), in invalidateChild() [all …]
|