Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DActivityRefresher.java80 && !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()
DDisplayRotationCompatPolicy.java231 && 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()
DCameraCompatFreeformPolicy.java114 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()
DActivityRecord.java804 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 …]
DTask.java3460 && 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 …]
DDisplayArea.java270 && activity.mLetterboxUiController.isOverrideRespectRequestedOrientationEnabled(); in shouldRespectOrientationRequestDueToPerAppOverride()
DTaskOrganizerController.java688 topActivity.mLetterboxUiController.getRoundedCornersRadius(mainWindow); in removeStartingWindow()
DBackNavigationController.java277 infoBuilder.setLetterboxColor(currentActivity.mLetterboxUiController in startBackNavigation()
DActivityMetricsLogger.java1625 positionToLog = activity.mLetterboxUiController.getLetterboxPositionForLogging(); in logAppCompatStateInternal()
DDisplayPolicy.java1600 .mLetterboxUiController.getLetterboxDetails();
DWindowState.java5349 && activityRecord.mLetterboxUiController in updateSurfacePosition()
DDisplayContent.java2904 if (topActivity != null && topActivity.mLetterboxUiController in getOrientation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRefresherTests.java106 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()
DCameraCompatFreeformPolicyTests.java249 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()
DDisplayRotationCompatPolicyTests.java269 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()
DSizeCompatTests.java249 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 …]
DCameraStateMonitorTests.java224 spyOn(mActivity.mLetterboxUiController); in configureActivity()
DTaskTests.java616 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()
DLetterboxUiControllerTest.java531 assertNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
536 assertNotNull(mActivity.mLetterboxUiController.getCropBoundsIfNeeded(mainWindow)); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()