Searched refs:isCameraActive (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayRotationCompatPolicy.java | 256 && isCameraActive(activity, /* mustBeFullscreen */ true) in isActivityEligibleForOrientationOverride() 274 boolean isCameraActive(@NonNull ActivityRecord activity, boolean mustBeFullscreen) { in isCameraActive() method in DisplayRotationCompatPolicy 283 return activity != null && isCameraActive(activity, mustBeFullscreen) in isTreatmentEnabledForActivity()
|
D | LetterboxUiController.java | 479 return mActivityRecord.isCameraActive() in shouldOverrideMinAspectRatioForCamera() 570 && !mActivityRecord.isCameraActive()) { in overrideOrientationIfNeeded() 611 && !mActivityRecord.isCameraActive()) { in overrideOrientationIfNeeded()
|
D | ActivityRecord.java | 9924 boolean isCameraActive() { 9928 .isCameraActive(this, /* mustBeFullscreen */ true);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/ |
D | ScreenDecorationsLogger.kt | 141 isCameraActive: Boolean, in cameraProtectionShownOrHidden() 152 bool3 = isCameraActive in cameraProtectionShownOrHidden()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DisplayCutoutBaseView.kt | 212 open fun enableShowProtection(isCameraActive: Boolean) { in <lambda>() 213 if (showProtection == isCameraActive) { in <lambda>() 216 showProtection = isCameraActive in <lambda>()
|
D | FaceScanningOverlay.kt | 89 override fun enableShowProtection(isCameraActive: Boolean) { in enableShowProtection() 93 val showScanningAnimationNow = scanningAnimationRequiredWhenCameraActive && isCameraActive in enableShowProtection() 102 isCameraActive, in enableShowProtection()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationCompatPolicyTests.java | 551 mDisplayRotationCompatPolicy.isCameraActive(mActivity, /* mustBeFullscreen*/ true)); in testIsCameraActiveWhenCallbackInvokedNoMultiWindow_returnTrue() 559 mDisplayRotationCompatPolicy.isCameraActive(mActivity, /* mustBeFullscreen*/ true)); in testIsCameraActiveWhenCallbackNotInvokedNoMultiWindow_returnFalse() 568 mDisplayRotationCompatPolicy.isCameraActive(mActivity, /* mustBeFullscreen*/ true)); in testIsCameraActiveWhenCallbackNotInvokedMultiWindow_returnFalse() 578 mDisplayRotationCompatPolicy.isCameraActive(mActivity, /* mustBeFullscreen*/ true)); in testIsCameraActiveWhenCallbackInvokedMultiWindow_returnFalse()
|
D | LetterboxUiControllerTest.java | 925 .isCameraActive(mActivity, /* mustBeFullscreen= */ true); in testOverrideOrientationIfNeeded_userFullscreenOverride_cameraActivity_noChange() 945 .isCameraActive(mActivity, /* mustBeFullscreen= */ true); in testOverrideOrientationIfNeeded_systemFullscreenOverride_cameraActivity_noChange() 1365 doReturn(true).when(mActivity).isCameraActive(); in shouldOverrideMinAspectRatioForCamera_overrideEnabled_returnsTrue() 1375 doReturn(true).when(mActivity).isCameraActive(); in shouldOverrideMinAspectRatioForCamera_propertyTrue_overrideEnabled_returnsTrue() 1386 doReturn(false).when(mActivity).isCameraActive(); in shouldOverrideMinAspectRatioForCamera_propertyTrue_overrideEnabled_returnsFalse() 1397 doReturn(true).when(mActivity).isCameraActive(); in shouldOverrideMinAspectRatioForCamera_propertyTrue_overrideDisabled_returnsFalse() 1407 doReturn(true).when(mActivity).isCameraActive(); in shouldOverrideMinAspectRatioForCamera_overrideDisabled_returnsFalse() 1428 doReturn(true).when(mActivity).isCameraActive(); in shouldOverrideMinAspectRatioForCamera_propertyFalse_noOverride_returnsFalse()
|
D | ActivityRecordTests.java | 3497 when(displayRotationCompatPolicy.isCameraActive(any(ActivityRecord.class), in testIsCameraActive() 3499 assertFalse(app.mActivityRecord.isCameraActive()); in testIsCameraActive() 3501 when(displayRotationCompatPolicy.isCameraActive(any(ActivityRecord.class), in testIsCameraActive() 3503 assertTrue(app.mActivityRecord.isCameraActive()); in testIsCameraActive()
|