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()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()
57 val cameraProtection: CameraProtectionInfo = in getCameraProtectionForDisplay() constant61 calculateCameraProtectionBoundsForRotation(display, cameraProtection.bounds) in getCameraProtectionForDisplay()62 return cameraProtection.copy(bounds = adjustedBoundsForRotation) in getCameraProtectionForDisplay()
23 val cameraProtection: CameraProtectionInfo? constant in com.android.systemui.SysUICutoutInformation
531 val protectionRect = sysUICutout.cameraProtection?.bounds in getStatusBarContentBounds()
1142 whenever(sysUICutout.cameraProtection).thenReturn(protectionInfo) in setCameraProtectionBounds()