Searched refs:protectionRect (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DisplayCutoutBaseView.kt | 67 @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>()
|
D | ScreenDecorHwcLayer.kt | 231 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>()
|
D | FaceScanningOverlay.kt | 78 if (protectionRect.isEmpty) { in drawCutoutProtection() 167 rimRect.set(protectionRect) in updateProtectionBoundingPath()
|
D | ScreenDecorations.java | 1474 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/ |
D | ScreenDecorHwcLayerTest.kt | 176 protectionRect: RectF, in setupConfigs() 187 decorHwcLayer.protectionRect.set(protectionRect) in setupConfigs()
|
D | DisplayCutoutBaseViewTest.kt | 144 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/ |
D | StatusBarContentInsetsProvider.kt | 531 val protectionRect = sysUICutout.cameraProtection?.bounds in getStatusBarContentBounds() constant 533 if (protectionRect?.intersects(cutoutRect) == true) { in getStatusBarContentBounds() 534 rectUnion(cutoutRect, protectionRect) in getStatusBarContentBounds()
|