Home
last modified time | relevance | path

Searched refs:updateOrientation (Results 1 – 20 of 20) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/audio/
H A DRotationHelper.java91 updateOrientation(); in enable()
108 static void updateOrientation() { in updateOrientation() method in RotationHelper
168 updateOrientation(); // We will get at least one orientation update now. in forceUpdate()
194 updateOrientation(); in onDisplayChanged()
H A DAudioService.java1673 RotationHelper.updateOrientation(); in onAudioServerDied()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DDisplayAreaGroupTest.java118 mDisplayContent.updateOrientation(); in testResolveOverrideConfiguration_reverseOrientationWhenDifferentFromParentRoot()
H A DWallpaperControllerTests.java165 dc.getDisplayRotation().updateOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, true); in testWallpaperSizeWithFixedTransform()
445 dc.updateOrientation(); in resizeDisplayAndWallpaper()
H A DDisplayRotationTests.java642 mTarget.updateOrientation(SCREEN_ORIENTATION_UNSPECIFIED, true); in testAllowAllRotations_allowsUpsideDownSuggestion()
660 mTarget.updateOrientation(SCREEN_ORIENTATION_UNSPECIFIED, true); in testDoNotAllowAllRotations_doesNotAllowUpsideDownSuggestion()
678 mTarget.updateOrientation(SCREEN_ORIENTATION_UNSPECIFIED, true); in testAllowAllRotations_allowAllRotationsBecomesDisabled_forbidsUpsideDownSuggestion()
H A DRecentsAnimationControllerTest.java476 assertFalse(displayRotation.updateOrientation(topOrientation, false /* forceUpdate */)); in testCheckRotationAfterCleanup()
484 assertTrue(displayRotation.updateOrientation(topOrientation, false /* forceUpdate */)); in testCheckRotationAfterCleanup()
H A DDisplayContentTests.java1077 dc.updateOrientation(); in updateAllDisplayContentAndRotation()
1170 mDisplayContent.updateOrientation(); in testOrientationBehind()
1817 verify(mDisplayContent).updateOrientation(eq(app), anyBoolean()); in testNoFixedRotationOnResumedScheduledApp()
1900 defaultDisplayRotation.updateOrientation(SCREEN_ORIENTATION_PORTRAIT, false); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()
1912 defaultDisplayRotation.updateOrientation(SCREEN_ORIENTATION_LANDSCAPE, false); in testSecondaryInternalDisplayRotationFollowsDefaultDisplay()
H A DActivityRecordTests.java1960 display.updateOrientation(); in testActivityOnCancelFixedRotationTransform()
2578 mDisplayContent.updateOrientation(null /* freezeThisOneIfNeeded */, in testLandscapeSeascapeRotationByApp()
2585 mDisplayContent.updateOrientation(null /* freezeThisOneIfNeeded */, in testLandscapeSeascapeRotationByApp()
H A DSizeCompatTests.java822 displayRotation.updateOrientation(display.getOrientation(), true /* forceUpdate */); in testFixedScreenBoundsWhenDisplaySizeChanged()
4837 if (activity.mDisplayContent.updateOrientation()) {
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDisplayRotationCompatPolicy.java419 mDisplayContent.updateOrientation(); in delayedUpdateOrientationWithWmLock()
505 mDisplayContent.updateOrientation(); in removeCameraId()
H A DDisplayArea.java202 return mDisplayContent.updateOrientation(); in setIgnoreOrientationRequest()
214 return mDisplayContent.updateOrientation(); in setIgnoreOrientationRequest()
H A DDisplayContent.java1591 boolean configChanged = updateOrientation(); in reconfigureDisplayLocked()
1650 final Configuration config = updateOrientation( in onDescendantOrientationChanged()
1693 boolean updateOrientation() { in updateOrientation() method in DisplayContent
1694 return updateOrientation(false /* forceUpdate */); in updateOrientation()
1707 Configuration updateOrientation(WindowContainer<?> freezeDisplayWindow, boolean forceUpdate) { in updateOrientation() method in DisplayContent
1713 if (updateOrientation(forceUpdate)) { in updateOrientation()
1742 private boolean updateOrientation(boolean forceUpdate) { in updateOrientation() method in DisplayContent
1768 return mDisplayRotation.updateOrientation(orientation, forceUpdate); in updateOrientation()
2010 if (mDisplayRotation.updateOrientation(getOrientation(), false /* forceUpdate */)) { in continueUpdateOrientationForDiffOrienLaunchingApp()
4979 if (updateOrientation()) { in applySurfaceChangesTransaction()
[all …]
H A DDisplayRotation.java467 boolean updateOrientation(@ScreenOrientation int newOrientation, boolean forceUpdate) { in updateOrientation() method in DisplayRotation
921 mDisplayContent.updateOrientation(); in setFixedToUserRotation()
H A DWindowManagerService.java1811 win.isVisibleRequestedOrAdding() && displayContent.updateOrientation(); in addWindow()
2464 configChanged |= displayContent.updateOrientation(); in relayoutWindow()
6294 configChanged = displayContent != null && displayContent.updateOrientation(); in doStopFreezingDisplayLocked()
H A DRootWindowContainer.java1741 config = displayContent.updateOrientation(starting, true /* forceUpdate */); in ensureVisibilityAndConfig()
H A DWindowState.java2528 boolean needToSendNewConfiguration = wasVisible && displayContent.updateOrientation(); in removeIfPossible()
H A DActivityRecord.java6789 mDisplayContent.updateOrientation(); in onStartingWindowDrawn()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotController.java524 mScreenshotView.updateOrientation( in prepareViewForNewScreenshot()
H A DScreenshotView.java490 void updateOrientation(WindowInsets insets) { in updateOrientation() method in ScreenshotView
/aosp14/frameworks/base/services/
H A Dart-profile10961 HSPLcom/android/server/wm/DisplayContent;->updateOrientation()Z
10962 HSPLcom/android/server/wm/DisplayContent;->updateOrientation(Z)Z
11035 HSPLcom/android/server/wm/DisplayRotation;->updateOrientation(IZ)Z