/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayWindowSettingsTests.java | 265 final DisplayRotation rotation = mSecondaryDisplay.getDisplayRotation(); in testDefaultToFreeUserRotation() 274 assertEquals(Surface.ROTATION_0, mSecondaryDisplay.getDisplayRotation().getUserRotation()); in testDefaultTo0DegRotation() 347 final DisplayRotation rotation = mSecondaryDisplay.getDisplayRotation(); in testSetUserRotationMode() 359 assertEquals(Surface.ROTATION_90, mSecondaryDisplay.getDisplayRotation().getUserRotation()); in testSetUserRotation() 369 doReturn(displayRotation).when(mPrimaryDisplay).getDisplayRotation(); in testFixedToUserRotationDefault() 384 doReturn(displayRotation).when(mPrimaryDisplay).getDisplayRotation(); in testSetFixedToUserRotationDisabled() 399 doReturn(displayRotation).when(mPrimaryDisplay).getDisplayRotation(); in testSetFixedToUserRotationEnabled()
|
D | TestDisplayContent.java | 52 final DisplayRotation displayRotation = getDisplayRotation(); in TestDisplayContent() 166 final DisplayRotation displayRotation = newDisplay.getDisplayRotation(); in build()
|
D | DisplayContentTests.java | 724 dc.getDisplayRotation().setRotation(Surface.ROTATION_0); in testDisplayCutout_rot0() 764 dc.getDisplayRotation().setRotation(Surface.ROTATION_90); in testDisplayCutout_rot90() 892 portraitDisplay.getDisplayRotation().setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 894 portraitDisplay.getDisplayRotation().setRotation(ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 901 landscapeDisplay.getDisplayRotation().setRotation(Surface.ROTATION_0); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 903 landscapeDisplay.getDisplayRotation().setRotation(ROTATION_90); in testGetPreferredOptionsPanelGravityFromDifferentDisplays() 955 dc.getDisplayRotation().setFixedToUserRotation( in testAllowsTopmostFullscreenOrientation() 986 dc.getDisplayRotation().setFixedToUserRotation( in testOnDescendantOrientationRequestChanged() 1003 dc.getDisplayRotation().setFixedToUserRotation( in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() 1005 dc.getDisplayRotation().setUserRotation( in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() [all …]
|
D | DisplayPolicyTestsBase.java | 95 mDisplayContent.getDisplayRotation().configure( in setUpDisplayPolicy()
|
D | WallpaperControllerTests.java | 148 dc.getDisplayRotation().updateOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, true); in testWallpaperSizeWithFixedTransform()
|
D | TaskTests.java | 496 final DisplayRotation dr = display.mDisplayContent.getDisplayRotation(); in testFullscreenBoundsForcedOrientation() 566 final DisplayRotation dr = display.mDisplayContent.getDisplayRotation(); in testReportsOrientationRequestInLetterboxForOrientation()
|
D | SizeCompatTests.java | 304 final DisplayRotation displayRotation = display.getDisplayRotation(); in testFixedScreenBoundsWhenDisplaySizeChanged() 2116 display.getDisplayRotation().setRotation(rotation); in rotateDisplay()
|
D | ActivityRecordTests.java | 1730 final DisplayRotation displayRotation = activity.mDisplayContent.getDisplayRotation(); in testActivityOnCancelFixedRotationTransform() 2295 final DisplayRotation displayRotation = mDisplayContent.getDisplayRotation(); in testLandscapeSeascapeRotationByPolicy() 2443 mDisplayContent.getDisplayRotation().setFixedToUserRotation( in testReportOrientationChange()
|
D | RootWindowContainerTests.java | 382 display.computeScreenConfiguration(rotatedConfig, display.getDisplayRotation() in testAwakeFromSleepingWithAppConfiguration()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | Utils.java | 76 switch (device.getDisplayRotation()) { in getDeviceRotation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskPositioner.java | 261 mDisplayContent.getDisplayRotation().pause(); in register() 312 mDisplayContent.getDisplayRotation().resume(); in unregister()
|
D | DragState.java | 381 dc.getDisplayRotation().pause(); in InputInterceptor() 398 dc.getDisplayRotation().resume(); in tearDown()
|
D | WindowManagerService.java | 2049 dc.getDisplayRotation().markForSeamlessRotation(win, false /* seamlesslyRotated */); in postWindowRemoveCleanupLocked() 3844 display.getDisplayRotation().setFixedToUserRotation(fixedToUserRotation); in setFixedToUserRotation() 3858 return display.getDisplayRotation().getFixedToUserRotationMode(); in getFixedToUserRotation() 3926 display.getDisplayRotation().freezeRotation(rotation); in freezeDisplayRotation() 3961 display.getDisplayRotation().thawRotation(); in thawDisplayRotation() 3983 return display.getDisplayRotation().isRotationFrozen(); in isDisplayRotationFrozen() 3994 return display.getDisplayRotation().getUserRotation(); in getDisplayUserRotation() 4035 && (displayContent.getDisplayRotation().isWaitingForRemoteRotation() in updateRotationUnchecked() 5713 if (mDisplayFrozen || displayContent.getDisplayRotation().isRotatingSeamlessly()) { in startFreezingDisplay() 5775 displayContent.getDisplayRotation().isWaitingForRemoteRotation(); in stopFreezingDisplayLocked() [all …]
|
D | DisplayWindowSettings.java | 260 dc.getDisplayRotation().restoreSettings(userRotationMode, userRotation, in applySettingsToDisplayLocked()
|
D | ScreenRotationAnimation.java | 156 if (displayContent.getDisplayRotation().isFixedToUserRotation()) { in ScreenRotationAnimation()
|
D | DisplayPolicy.java | 522 final DisplayRotation rotation = mDisplayContent.getDisplayRotation(); in DisplayPolicy() 1980 final DisplayRotation displayRotation = mDisplayContent.getDisplayRotation(); 2071 mDisplayContent.getDisplayRotation().updateUserDependentConfiguration(res);
|
D | AppTransitionController.java | 856 && mDisplayContent.getDisplayRotation().needsUpdate()) { in transitionGoodToGo()
|
D | WindowState.java | 952 getDisplayContent().getDisplayRotation().markForSeamlessRotation(this, in seamlesslyRotateIfAllowed() 971 getDisplayContent().getDisplayRotation().markForSeamlessRotation(this, in finishSeamlessRotation()
|
D | DisplayContent.java | 1294 public DisplayRotation getDisplayRotation() { in getDisplayRotation() method in DisplayContent 1425 return !mIgnoreOrientationRequest && !getDisplayRotation().isFixedToUserRotation(); in handlesOrientationChangeFromDescendant()
|
D | ActivityRecord.java | 5722 mDisplayContent.getDisplayRotation().cancelSeamlessRotation(); in startFreezingScreen() 7480 || mDisplayContent.getDisplayRotation().isFixedToUserRotation(); in resolveSizeCompatModeConfiguration()
|
D | RootWindowContainer.java | 1163 if (mChildren.get(i).getDisplayRotation().updateRotationAndSendNewConfigIfChanged()) { in updateRotationUnchecked()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiDevice.java | 641 public int getDisplayRotation() { in getDisplayRotation() method in UiDevice
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowManagerPolicy.java | 376 DisplayRotation getDisplayRotation(); in getDisplayRotation() method
|
/frameworks/base/cmds/uiautomator/api/ |
D | 17.txt | 19 method public int getDisplayRotation();
|
D | current.txt | 35 method @Deprecated public int getDisplayRotation();
|