Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotationCompatPolicy.java176 if (!isTreatmentEnabledForActivity(topActivity)) { in getOrientationInternal()
260 if (!isTreatmentEnabledForActivity(topActivity)) { in onScreenRotationAnimationFinished()
277 + isTreatmentEnabledForActivity(topActivity) in getSummaryForDisplayRotationHistoryRecord()
323 && isTreatmentEnabledForActivity(activity) in shouldRefreshActivity()
361 boolean isTreatmentEnabledForActivity(@Nullable ActivityRecord activity) { in isTreatmentEnabledForActivity() method in DisplayRotationCompatPolicy
362 return isTreatmentEnabledForActivity(activity, /* mustBeFullscreen */ true); in isTreatmentEnabledForActivity()
365 private boolean isTreatmentEnabledForActivity(@Nullable ActivityRecord activity, in isTreatmentEnabledForActivity() method in DisplayRotationCompatPolicy
425 && isTreatmentEnabledForActivity(topActivity, /* mustBeFullscreen */ false)) { in delayedUpdateOrientationWithWmLock()
512 if (!isTreatmentEnabledForActivity(topActivity)) { in isActivityForCameraIdRefreshing()
H A DLetterboxUiController.java797 .isTreatmentEnabledForActivity(mActivityRecord); in isCameraCompatTreatmentActive()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxUiControllerTest.java167 .isTreatmentEnabledForActivity(eq(mActivity)); in testShouldIgnoreRequestedOrientation_cameraCompatTreatment_returnsTrue()
1294 .isTreatmentEnabledForActivity(eq(mActivity)); in testgetFixedOrientationLetterboxAspectRatio_splitScreenAspectEnabled()