Searched refs:cutoutRect (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 326 for (cutoutRect in cutoutRects) { in getStatusBarLeftRight() variable 330 if (!shareShortEdge(sbRect, cutoutRect, cWidth, cHeight)) { in getStatusBarLeftRight() 334 if (cutoutRect.touchesLeftEdge(relativeRotation, cWidth, cHeight)) { in getStatusBarLeftRight() 336 val l = max(minLeft, cutoutRect.logicalWidth(relativeRotation)) in getStatusBarLeftRight() 338 } else if (cutoutRect.touchesRightEdge(relativeRotation, cWidth, cHeight)) { in getStatusBarLeftRight() 339 val logicalWidth = cutoutRect.logicalWidth(relativeRotation) in getStatusBarLeftRight() 364 cutoutRect: Rect, in shareShortEdge() 371 return sbRect.intersects(0, cutoutRect.top, currentWidth, cutoutRect.bottom) in shareShortEdge() 374 return sbRect.intersects(cutoutRect.left, 0, cutoutRect.right, currentHeight) in shareShortEdge()
|