Home
last modified time | relevance | path

Searched refs:cameraProtection (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysUICutoutProviderTest.kt71 assertThat(sysUICutout.cameraProtection).isNull() in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection()
82 assertThat(sysUICutout.cameraProtection).isNotNull() in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection()
93 assertThat(sysUICutout.cameraProtection).isNull() in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection()
104 assertThat(sysUICutout.cameraProtection).isNull() in cutoutInfoForCurrentDisplay_displayWithNullId_protectionsWithNoId_returnsNullProtection()
115 assertThat(sysUICutout.cameraProtection).isNull() in cutoutInfoForCurrentDisplay_displayWithEmptyId_protectionsWithNoId_returnsNullProtection()
131 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation0_returnsOriginalProtectionBounds()
150 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation90_returnsRotatedProtectionBounds()
186 assertThat(sysUICutout.cameraProtection!!.bounds).isEqualTo(originalProtectionBoundsCopy) in cutoutInfo_withRotation_doesNotMutateOriginalBounds()
202 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation180_returnsRotatedProtectionBounds()
219 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation270_returnsRotatedProtectionBounds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSysUICutoutProvider.kt57 val cameraProtection: CameraProtectionInfo = in getCameraProtectionForDisplay() constant
61 calculateCameraProtectionBoundsForRotation(display, cameraProtection.bounds) in getCameraProtectionForDisplay()
62 return cameraProtection.copy(bounds = adjustedBoundsForRotation) in getCameraProtectionForDisplay()
DSysUICutoutInformation.kt23 val cameraProtection: CameraProtectionInfo? constant in com.android.systemui.SysUICutoutInformation
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt531 val protectionRect = sysUICutout.cameraProtection?.bounds in getStatusBarContentBounds()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt1142 whenever(sysUICutout.cameraProtection).thenReturn(protectionInfo) in setCameraProtectionBounds()