Home
last modified time | relevance | path

Searched refs:mLetterboxUiController (Results 1 – 14 of 14) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotationCompatPolicy.java222 && !activity.mLetterboxUiController in onActivityConfigurationChanging()
225 activity.mLetterboxUiController.setIsRefreshAfterRotationRequested(true); in onActivityConfigurationChanging()
240 activity.mLetterboxUiController.setIsRefreshAfterRotationRequested(false); in onActivityConfigurationChanging()
245 activity.mLetterboxUiController.setIsRefreshAfterRotationRequested(false); in onActivityRefreshed()
322 || activity.mLetterboxUiController.isCameraCompatSplitScreenAspectRatioAllowed()) in shouldRefreshActivity()
324 && activity.mLetterboxUiController.shouldRefreshActivityForCameraCompat(); in shouldRefreshActivity()
380 && activity.mLetterboxUiController.shouldForceRotateForCameraCompat(); in isCameraActive()
418 topActivity.mLetterboxUiController.recomputeConfigurationForCameraCompatIfNeeded(); in delayedUpdateOrientationWithWmLock()
504 topActivity.mLetterboxUiController.recomputeConfigurationForCameraCompatIfNeeded(); in removeCameraId()
519 return topActivity.mLetterboxUiController.isRefreshAfterRotationRequested(); in isActivityForCameraIdRefreshing()
H A DActivityRecord.java774 final LetterboxUiController mLetterboxUiController; field in ActivityRecord
1321 mLetterboxUiController.dump(pw, prefix); in dump()
1646 mLetterboxUiController.updateInheritedLetterbox(); in onParentChanged()
1820 mLetterboxUiController.layoutLetterbox(winHint); in layoutLetterbox()
1828 mLetterboxUiController.updateLetterboxSurface(winHint, t); in updateLetterboxSurface()
1832 mLetterboxUiController.updateLetterboxSurface(winHint); in updateLetterboxSurface()
1837 return mLetterboxUiController.getLetterboxInsets(); in getLetterboxInsets()
4296 mLetterboxUiController.destroy(); in onRemovedFromDisplay()
7603 final int cornerRadius = mLetterboxUiController in onLeashAnimationStarting()
7873 if (mLetterboxUiController.hasInheritedOrientation()) { in getRequestedConfigurationOrientation()
[all …]
H A DLetterboxUiController.java1836 mFirstOpaqueActivityBeneath.mLetterboxUiController.mDestroyListeners.add(this); in updateInheritedLetterbox()
1959 mFirstOpaqueActivityBeneath.mLetterboxUiController.mDestroyListeners.remove(this); in clearInheritedConfig()
H A DDisplayArea.java264 && activity.mLetterboxUiController.isOverrideRespectRequestedOrientationEnabled(); in shouldRespectOrientationRequestDueToPerAppOverride()
H A DTask.java3457 && top.mLetterboxUiController.isLetterboxDoubleTapEducationEnabled();
3463 && top.mLetterboxUiController.shouldApplyUserFullscreenOverride();
3465 info.isFromLetterboxDoubleTap = top != null && top.mLetterboxUiController.isFromDoubleTap();
3472 top.mLetterboxUiController.getLetterboxPositionForHorizontalReachability();
3476 top.mLetterboxUiController.getLetterboxPositionForVerticalReachability();
3482 && top.mLetterboxUiController.shouldEnableUserAspectRatioSettings();
H A DTaskOrganizerController.java714 topActivity.mLetterboxUiController.getRoundedCornersRadius(mainWindow); in removeStartingWindow()
H A DActivityMetricsLogger.java1558 positionToLog = activity.mLetterboxUiController.getLetterboxPositionForLogging(); in logAppCompatStateInternal()
H A DDisplayPolicy.java1538 .mLetterboxUiController.getLetterboxDetails();
H A DWindowState.java5279 && activityRecord.mLetterboxUiController in updateSurfacePosition()
H A DDisplayContent.java2828 if (topActivity != null && topActivity.mLetterboxUiController in getOrientation()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayRotationCompatPolicyTests.java266 when(mActivity.mLetterboxUiController.shouldForceRotateForCameraCompat()) in testTreatmentDisabledPerApp_noForceRotationOrRefresh()
467 when(mActivity.mLetterboxUiController.shouldRefreshActivityForCameraCompat()) in testOnActivityConfigurationChanging_refreshDisabledViaFlag_noRefresh()
493 doReturn(false).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_displayRotationNotChanging_noRefresh()
506 doReturn(true).when(mActivity.mLetterboxUiController) in testOnActivityConfigurationChanging_splitScreenAspectRatioAllowed_refresh()
532 when(mActivity.mLetterboxUiController.shouldRefreshActivityViaPauseForCameraCompat()) in testOnActivityConfigurationChanging_cycleThroughStopDisabledForApp()
559 spyOn(mActivity.mLetterboxUiController); in configureActivityAndDisplay()
571 verify(mActivity.mLetterboxUiController, times(refreshRequested ? 1 : 0)) in assertActivityRefreshRequested()
H A DSizeCompatTests.java232 spyOn(translucentActivity.mLetterboxUiController); in testHorizontalReachabilityEnabledForTranslucentActivities()
307 spyOn(translucentActivity.mLetterboxUiController); in testVerticalReachabilityEnabledForTranslucentActivities()
385 spyOn(translucentActivity.mLetterboxUiController); in testApplyStrategyAgainWhenOpaqueIsDestroyed()
414 spyOn(translucentActivity.mLetterboxUiController); in testResetOpaqueReferenceWhenOpaqueIsDestroyed()
450 spyOn(translucentActivity.mLetterboxUiController); in testNotApplyStrategyAgainWhenOpaqueIsNotDestroyed()
881 spyOn(mActivity.mLetterboxUiController); in testIsLetterboxed_activityShowsWallpaper_returnsFalse()
882 doReturn(true).when(mActivity.mLetterboxUiController) in testIsLetterboxed_activityShowsWallpaper_returnsFalse()
884 doReturn(true).when(mActivity.mLetterboxUiController) in testIsLetterboxed_activityShowsWallpaper_returnsFalse()
4210 float actual = mActivity.mLetterboxUiController
4652 spyOn(activity.mLetterboxUiController);
[all …]
H A DLetterboxUiControllerTest.java477 spyOn(mActivity.mLetterboxUiController); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
478 doReturn(true).when(mActivity.mLetterboxUiController).hasInheritedLetterboxBehavior(); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
483 assertNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
488 assertNotNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
H A DTaskTests.java575 spyOn(root.mLetterboxUiController); in testTopActivityEligibleForUserAspectRatioButton()
577 doReturn(true).when(root.mLetterboxUiController) in testTopActivityEligibleForUserAspectRatioButton()
586 doReturn(false).when(root.mLetterboxUiController) in testTopActivityEligibleForUserAspectRatioButton()
589 doReturn(true).when(root.mLetterboxUiController) in testTopActivityEligibleForUserAspectRatioButton()