Home
last modified time | relevance | path

Searched refs:protectionPath (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DCameraAvailabilityListenerTest.kt314 expect.that(cameraTransitionCallback.protectionPath).isNotNull() in assertOuterProtectionShowing()
320 expect.that(cameraTransitionCallback.protectionPath).isNotNull() in assertInnerProtectionShowing()
327 expect.that(cameraTransitionCallback.protectionPath).isNull() in assertProtectionNotShowing()
361 var protectionPath: Path? = null variable in com.android.systemui.CameraAvailabilityListenerTest.TestCameraTransitionCallback
364 override fun onApplyCameraProtection(protectionPath: Path, bounds: Rect) { in onApplyCameraProtection()
366 this.protectionPath = protectionPath in onApplyCameraProtection()
372 protectionPath = null in onHideCameraProtection()
DDisplayCutoutBaseViewTest.kt143 assertThat(cutoutBaseView.protectionPath.isRect(pathBounds)).isTrue() in testCutoutProtection()
162 assertThat(cutoutBaseView.protectionPath.isRect(pathBounds)).isTrue() in testCutoutProtection_withDisplayRatio()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DCameraProtectionLoader.kt71 val protectionPath = pathFromString(context.getString(pathRes)) in loadCameraProtectionInfoList() constant
73 protectionPath.computeBounds(computed) in loadCameraProtectionInfoList()
85 protectionPath, in loadCameraProtectionInfoList()
DDisplayCutoutBaseView.kt69 @JvmField val protectionPath: Path = Path() in <lambda>() constant in com.android.systemui.DisplayCutoutBaseView
193 canvas.drawPath(protectionPath, paint) in <lambda>()
249 protectionPath.reset() in <lambda>()
277 protectionPath.set(protectionPathOrig) in <lambda>()
278 protectionPath.transform(m) in <lambda>()
DFaceScanningOverlay.kt202 val rimPath = Path(protectionPath) in drawFaceScanningRim()
216 val scaledProtectionPath = Path(protectionPath) in drawCameraProtection()
DCameraAvailabilityListener.kt156 fun onApplyCameraProtection(protectionPath: Path, bounds: Rect) in onApplyCameraProtection()
DScreenDecorations.java193 protected void showCameraProtection(@NonNull Path protectionPath, @NonNull Rect bounds) { in showCameraProtection() argument
199 overlay.setProtection(protectionPath, bounds); in showCameraProtection()
212 mScreenDecorHwcLayer.setProtection(protectionPath, bounds); in showCameraProtection()
226 dcv.setProtection(protectionPath, bounds); in showCameraProtection()
270 public void onApplyCameraProtection(@NonNull Path protectionPath, @NonNull Rect bounds) {
272 showCameraProtection(protectionPath, bounds);