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.java5985 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local
5986 boundingRect.set(dirty); in invalidateChild()
6003 transformMatrix.mapRect(boundingRect); in invalidateChild()
6004 dirty.set((int) Math.floor(boundingRect.left), in invalidateChild()
6005 (int) Math.floor(boundingRect.top), in invalidateChild()
6006 (int) Math.ceil(boundingRect.right), in invalidateChild()
6007 (int) Math.ceil(boundingRect.bottom)); in invalidateChild()
6037 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local
6038 boundingRect.set(dirty); in invalidateChild()
6039 m.mapRect(boundingRect); in invalidateChild()
[all …]