Home
last modified time | relevance | path

Searched refs:protectionRect (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDisplayCutoutBaseView.kt67 @JvmField val protectionRect: RectF = RectF() in <lambda>() constant in com.android.systemui.DisplayCutoutBaseView
187 !protectionRect.isEmpty in <lambda>()
190 cameraProtectionProgress, cameraProtectionProgress, protectionRect.centerX(), in <lambda>()
191 protectionRect.centerY() in <lambda>()
252 protectionRect.setEmpty() in <lambda>()
279 m.mapRect(protectionRect, protectionRectOrig) in <lambda>()
338 ipw.println("protectionRect=$protectionRect") in <lambda>()
DScreenDecorHwcLayer.kt231 if (protectionRect.isEmpty) { in <lambda>()
235 val centerX = protectionRect.centerX() in <lambda>()
236 val centerY = protectionRect.centerY() in <lambda>()
237 val scaledDistanceX = (centerX - protectionRect.left) * cameraProtectionProgress in <lambda>()
238 val scaledDistanceY = (centerY - protectionRect.top) * cameraProtectionProgress in <lambda>()
DFaceScanningOverlay.kt78 if (protectionRect.isEmpty) { in drawCutoutProtection()
167 rimRect.set(protectionRect) in updateProtectionBoundingPath()
DScreenDecorations.java1474 mTotalBounds.union((int) protectionRect.left, (int) protectionRect.top, in onMeasure()
1475 (int) protectionRect.right, (int) protectionRect.bottom); in onMeasure()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorHwcLayerTest.kt176 protectionRect: RectF, in setupConfigs()
187 decorHwcLayer.protectionRect.set(protectionRect) in setupConfigs()
DDisplayCutoutBaseViewTest.kt144 assertThat(cutoutBaseView.protectionRect).isEqualTo(pathBounds) in testCutoutProtection()
163 assertThat(cutoutBaseView.protectionRect).isEqualTo(RectF(0f, 0f, 5f, 5f)) in testCutoutProtection_withDisplayRatio()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt531 val protectionRect = sysUICutout.cameraProtection?.bounds in getStatusBarContentBounds() constant
533 if (protectionRect?.intersects(cutoutRect) == true) { in getStatusBarContentBounds()
534 rectUnion(cutoutRect, protectionRect) in getStatusBarContentBounds()