Searched refs:cameraProtection (Results 1 – 5 of 5) sorted by relevance
71 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()148 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation90_returnsRotatedProtectionBounds()184 assertThat(sysUICutout.cameraProtection!!.bounds).isEqualTo(originalProtectionBoundsCopy) in cutoutInfo_withRotation_doesNotMutateOriginalBounds()200 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation180_returnsRotatedProtectionBounds()217 assertThat(sysUICutout.cameraProtection!!.bounds) in cutoutInfo_rotation270_returnsRotatedProtectionBounds()
62 val cameraProtection: CameraProtectionInfo = in cutoutInfoForCurrentDisplayAndRotation() constant66 calculateCameraProtectionBoundsForRotation(display, cameraProtection.bounds) in cutoutInfoForCurrentDisplayAndRotation()67 return cameraProtection.copy(bounds = adjustedBoundsForRotation) in cutoutInfoForCurrentDisplayAndRotation()
23 val cameraProtection: CameraProtectionInfo? constant in com.android.systemui.SysUICutoutInformation
599 val protectionRect = sysUICutout.cameraProtection?.bounds in getStatusBarContentBounds()
1327 whenever(sysUICutout.cameraProtection).thenReturn(protectionInfo) in setCameraProtectionBounds()