/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRefresher.java | 80 && !activity.mLetterboxUiController in onActivityConfigurationChanging() 83 activity.mLetterboxUiController.setIsRefreshRequested(true); in onActivityConfigurationChanging() 100 activity.mLetterboxUiController.setIsRefreshRequested(false); in onActivityConfigurationChanging() 105 return activity.mLetterboxUiController.isRefreshRequested(); in isActivityRefreshing() 111 activity.mLetterboxUiController.setIsRefreshRequested(false); in onActivityRefreshed() 117 && activity.mLetterboxUiController.shouldRefreshActivityForCameraCompat() in shouldRefreshActivity()
|
D | DisplayRotationCompatPolicy.java | 231 && activity.mLetterboxUiController.shouldRefreshActivityForCameraCompat() in shouldRefreshActivity() 233 || activity.mLetterboxUiController.isCameraCompatSplitScreenAspectRatioAllowed()); in shouldRefreshActivity() 257 && activity.mLetterboxUiController.shouldForceRotateForCameraCompat(); in isActivityEligibleForOrientationOverride() 289 && activity.mLetterboxUiController.shouldForceRotateForCameraCompat(); in isTreatmentEnabledForActivity() 298 cameraActivity.mLetterboxUiController.recomputeConfigurationForCameraCompatIfNeeded(); in onCameraOpened() 365 topActivity.mLetterboxUiController.recomputeConfigurationForCameraCompatIfNeeded(); in onCameraClosed()
|
D | CameraCompatFreeformPolicy.java | 114 cameraActivity.mLetterboxUiController.getFreeformCameraCompatMode(); in onCameraOpened() 118 cameraActivity.mLetterboxUiController.setFreeformCameraCompatMode(newCameraCompatMode); in onCameraOpened() 137 cameraActivity.mLetterboxUiController.setFreeformCameraCompatMode( in onCameraClosed() 194 return topActivity.mLetterboxUiController.isRefreshRequested(); in isActivityForCameraIdRefreshing()
|
D | ActivityRecord.java | 804 final LetterboxUiController mLetterboxUiController; field in ActivityRecord 1373 mLetterboxUiController.dump(pw, prefix); in dump() 1896 mLetterboxUiController.onMovedToDisplay(mDisplayContent.getDisplayId()); in onDisplayChanged() 1900 mLetterboxUiController.layoutLetterboxIfNeeded(winHint); in layoutLetterboxIfNeeded() 1904 return mLetterboxUiController.hasWallpaperBackgroundForLetterbox(); in hasWallpaperBackgroundForLetterbox() 1908 mLetterboxUiController.updateLetterboxSurfaceIfNeeded(winHint, t, getPendingTransaction()); in updateLetterboxSurfaceIfNeeded() 1912 mLetterboxUiController.updateLetterboxSurfaceIfNeeded(winHint); in updateLetterboxSurfaceIfNeeded() 1917 return mLetterboxUiController.getLetterboxInsets(); in getLetterboxInsets() 1922 mLetterboxUiController.getLetterboxInnerBounds(outBounds); in getLetterboxInnerBounds() 2024 return mLetterboxUiController.isFullyTransparentBarAllowed(rect); in isFullyTransparentBarAllowed() [all …]
|
D | Task.java | 3460 && top.mLetterboxUiController.isLetterboxEducationEnabled(); 3480 && top.mLetterboxUiController.shouldApplyUserFullscreenOverride(); 3482 && top.mLetterboxUiController.isSystemOverrideToFullscreenEnabled(); 3484 && top.mLetterboxUiController.isFromDoubleTap(); 3492 && top.mLetterboxUiController.isLetterboxDoubleTapEducationEnabled(); 3495 if (top.mLetterboxUiController.allowHorizontalReachabilityForThinLetterbox()) { 3498 top.mLetterboxUiController 3504 if (top.mLetterboxUiController.allowVerticalReachabilityForThinLetterbox()) { 3507 top.mLetterboxUiController 3516 && top.mLetterboxUiController.shouldEnableUserAspectRatioSettings() [all …]
|
D | DisplayArea.java | 270 && activity.mLetterboxUiController.isOverrideRespectRequestedOrientationEnabled(); in shouldRespectOrientationRequestDueToPerAppOverride()
|
D | TaskOrganizerController.java | 688 topActivity.mLetterboxUiController.getRoundedCornersRadius(mainWindow); in removeStartingWindow()
|
D | BackNavigationController.java | 277 infoBuilder.setLetterboxColor(currentActivity.mLetterboxUiController in startBackNavigation()
|
D | ActivityMetricsLogger.java | 1625 positionToLog = activity.mLetterboxUiController.getLetterboxPositionForLogging(); in logAppCompatStateInternal()
|
D | DisplayPolicy.java | 1600 .mLetterboxUiController.getLetterboxDetails();
|
D | WindowState.java | 5349 && activityRecord.mLetterboxUiController in updateSurfacePosition()
|
D | DisplayContent.java | 2904 if (topActivity != null && topActivity.mLetterboxUiController in getOrientation()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityRefresherTests.java | 106 when(mActivity.mLetterboxUiController.shouldRefreshActivityForCameraCompat()) in testShouldRefreshActivity_refreshDisabledForActivity() 163 doReturn(true).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_cycleThroughPauseEnabledForApp() 175 doReturn(true).when(mActivity.mLetterboxUiController) in testOnActivityRefreshed_setIsRefreshRequestedToFalse() 189 verify(mActivity.mLetterboxUiController, times(refreshRequested ? 1 : 0)) in assertActivityRefreshRequested() 213 spyOn(mActivity.mLetterboxUiController); in configureActivityAndDisplay() 215 mActivity.mLetterboxUiController).shouldRefreshActivityForCameraCompat(); in configureActivityAndDisplay()
|
D | CameraCompatFreeformPolicyTests.java | 249 mActivity.mLetterboxUiController).shouldRefreshActivityForCameraCompat(); in testOnActivityConfigurationChanging_refreshDisabledViaFlag_noRefresh() 274 doReturn(true).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_cycleThroughStopDisabledForApp() 307 spyOn(mActivity.mLetterboxUiController); in configureActivityAndDisplay() 318 mActivity.mLetterboxUiController.getFreeformCameraCompatMode()); in assertInCameraCompatMode() 323 mActivity.mLetterboxUiController.getFreeformCameraCompatMode()); in assertNotInCameraCompatMode() 332 verify(mActivity.mLetterboxUiController, times(refreshRequested ? 1 : 0)) in assertActivityRefreshRequested()
|
D | DisplayRotationCompatPolicyTests.java | 269 doReturn(false).when(mActivity.mLetterboxUiController) in testTreatmentDisabledPerApp_noForceRotationOrRefresh() 472 mActivity.mLetterboxUiController).shouldRefreshActivityForCameraCompat(); in testOnActivityConfigurationChanging_refreshDisabledViaFlag_noRefresh() 497 doReturn(false).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_displayRotationNotChanging_noRefresh() 510 doReturn(true).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_splitScreenAspectRatioAllowed_refresh() 536 doReturn(true).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_cycleThroughStopDisabledForApp() 599 spyOn(mActivity.mLetterboxUiController); in configureActivityAndDisplay() 611 verify(mActivity.mLetterboxUiController, times(refreshRequested ? 1 : 0)) in assertActivityRefreshRequested()
|
D | SizeCompatTests.java | 249 spyOn(translucentActivity.mLetterboxUiController); in testReachabilityEnabledForTranslucentActivity() 250 doReturn(true).when(translucentActivity.mLetterboxUiController) in testReachabilityEnabledForTranslucentActivity() 259 a.mLetterboxUiController.getLetterboxInnerBounds(bounds); in testReachabilityEnabledForTranslucentActivity() 283 mActivity.mLetterboxUiController.handleHorizontalDoubleTap(x); in testReachabilityEnabledForTranslucentActivity() 312 mActivity.mLetterboxUiController.handleVerticalDoubleTap(y); in testReachabilityEnabledForTranslucentActivity() 369 a.mLetterboxUiController.getLetterboxInnerBounds(bounds); in testRepositionLandscapeImmersiveAppWithDisplayCutout() 375 activity.mLetterboxUiController.handleVerticalDoubleTap(y); in testRepositionLandscapeImmersiveAppWithDisplayCutout() 631 spyOn(mActivity.mLetterboxUiController); in testIsLetterboxed_activityShowsWallpaper_returnsFalse() 634 assertTrue(mActivity.mLetterboxUiController.shouldShowLetterboxUi( in testIsLetterboxed_activityShowsWallpaper_returnsFalse() 639 assertFalse(mActivity.mLetterboxUiController.shouldShowLetterboxUi( in testIsLetterboxed_activityShowsWallpaper_returnsFalse() [all …]
|
D | CameraStateMonitorTests.java | 224 spyOn(mActivity.mLetterboxUiController); in configureActivity()
|
D | TaskTests.java | 616 spyOn(root.mLetterboxUiController); in testTopActivityEligibleForUserAspectRatioButton() 619 doReturn(true).when(root.mLetterboxUiController) in testTopActivityEligibleForUserAspectRatioButton() 629 doReturn(false).when(root.mLetterboxUiController) in testTopActivityEligibleForUserAspectRatioButton() 633 doReturn(true).when(root.mLetterboxUiController) in testTopActivityEligibleForUserAspectRatioButton() 2016 activity.mLetterboxUiController in getTaskInfoPropagatesCameraCompatMode()
|
D | LetterboxUiControllerTest.java | 531 assertNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds() 536 assertNotNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
|