Home
last modified time | relevance | path

Searched refs:sysUICutout (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DSysUICutoutProviderTest.kt47 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation() in cutoutInfoForCurrentDisplay_noCutout_returnsNull() constant
49 assertThat(sysUICutout).isNull() in cutoutInfoForCurrentDisplay_noCutout_returnsNull()
58 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_returnsCutout() constant
60 assertThat(sysUICutout.cutout).isEqualTo(cutoutDisplay.cutout) in cutoutInfoForCurrentDisplay_returnsCutout()
69 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection() constant
71 assertThat(sysUICutout.cameraProtection).isNull() in cutoutInfoForCurrentDisplay_noAssociatedProtection_returnsNoProtection()
80 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection() constant
82 assertThat(sysUICutout.cameraProtection).isNotNull() in cutoutInfoForCurrentDisplay_outerDisplay_protectionAssociated_returnsProtection()
91 val sysUICutout = provider.cutoutInfoForCurrentDisplayAndRotation()!! in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection() constant
93 assertThat(sysUICutout.cameraProtection).isNull() in cutoutInfoForCurrentDisplay_outerDisplay_protectionNotAvailable_returnsNullProtection()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt52 private val sysUICutout = mock<SysUICutoutInformation>() constant
62 whenever(sysUICutout.cutout).thenReturn(dc) in setup()
130 sysUICutout, in testGetBoundingRectForPrivacyChipForRotation_noCutout()
202 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection()
223 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection()
246 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection()
273 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_noCameraProtection()
315 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_withCameraProtection()
341 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_withCameraProtection()
364 sysUICutout, in testCalculateInsetsForRotationWithRotatedResources_topLeftCutout_withCameraProtection()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt188 val sysUICutout = sysUICutoutProvider.cutoutInfoForCurrentDisplayAndRotation() in <lambda>() constant
189 val displayCutout = sysUICutout?.cutout in <lambda>()
203 sysUICutout, in <lambda>()
230 val sysUICutout = sysUICutoutProvider.cutoutInfoForCurrentDisplayAndRotation() in <lambda>() constant
231 val displayCutout = sysUICutout?.cutout in <lambda>()
236 sysUICutout, in <lambda>()
250 sysUICutout: SysUICutoutInformation?, in <lambda>()
254 return getCalculatedAreaForRotation(sysUICutout, targetRotation, rotatedResources).also { in <lambda>()
260 sysUICutout: SysUICutoutInformation?, in <lambda>()
294 sysUICutout, in <lambda>()
[all …]