Home
last modified time | relevance | path

Searched refs:boundingRect (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/utils/
DWmDisplayCutout.java139 Rect boundingRect = boundingRects.get(i); in findInsetForSide() local
142 if (boundingRect.top == 0) { in findInsetForSide()
143 inset = Math.max(inset, boundingRect.bottom); in findInsetForSide()
147 if (boundingRect.bottom == display.getHeight()) { in findInsetForSide()
148 inset = Math.max(inset, display.getHeight() - boundingRect.top); in findInsetForSide()
152 if (boundingRect.left == 0) { in findInsetForSide()
153 inset = Math.max(inset, boundingRect.right); in findInsetForSide()
157 if (boundingRect.right == display.getWidth()) { in findInsetForSide()
158 inset = Math.max(inset, display.getWidth() - boundingRect.left); in findInsetForSide()
/frameworks/base/core/java/android/view/
DViewGroup.java5941 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local
5942 boundingRect.set(dirty); in invalidateChild()
5959 transformMatrix.mapRect(boundingRect); in invalidateChild()
5960 dirty.set((int) Math.floor(boundingRect.left), in invalidateChild()
5961 (int) Math.floor(boundingRect.top), in invalidateChild()
5962 (int) Math.ceil(boundingRect.right), in invalidateChild()
5963 (int) Math.ceil(boundingRect.bottom)); in invalidateChild()
5993 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local
5994 boundingRect.set(dirty); in invalidateChild()
5995 m.mapRect(boundingRect); in invalidateChild()
[all …]