Home
last modified time | relevance | path

Searched refs:getDisplayRotation (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java265 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()
DTestDisplayContent.java52 final DisplayRotation displayRotation = getDisplayRotation(); in TestDisplayContent()
166 final DisplayRotation displayRotation = newDisplay.getDisplayRotation(); in build()
DDisplayContentTests.java724 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 …]
DDisplayPolicyTestsBase.java95 mDisplayContent.getDisplayRotation().configure( in setUpDisplayPolicy()
DWallpaperControllerTests.java148 dc.getDisplayRotation().updateOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE, true); in testWallpaperSizeWithFixedTransform()
DTaskTests.java496 final DisplayRotation dr = display.mDisplayContent.getDisplayRotation(); in testFullscreenBoundsForcedOrientation()
566 final DisplayRotation dr = display.mDisplayContent.getDisplayRotation(); in testReportsOrientationRequestInLetterboxForOrientation()
DSizeCompatTests.java304 final DisplayRotation displayRotation = display.getDisplayRotation(); in testFixedScreenBoundsWhenDisplaySizeChanged()
2116 display.getDisplayRotation().setRotation(rotation); in rotateDisplay()
DActivityRecordTests.java1730 final DisplayRotation displayRotation = activity.mDisplayContent.getDisplayRotation(); in testActivityOnCancelFixedRotationTransform()
2295 final DisplayRotation displayRotation = mDisplayContent.getDisplayRotation(); in testLandscapeSeascapeRotationByPolicy()
2443 mDisplayContent.getDisplayRotation().setFixedToUserRotation( in testReportOrientationChange()
DRootWindowContainerTests.java382 display.computeScreenConfiguration(rotatedConfig, display.getDisplayRotation() in testAwakeFromSleepingWithAppConfiguration()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java76 switch (device.getDisplayRotation()) { in getDeviceRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPositioner.java261 mDisplayContent.getDisplayRotation().pause(); in register()
312 mDisplayContent.getDisplayRotation().resume(); in unregister()
DDragState.java381 dc.getDisplayRotation().pause(); in InputInterceptor()
398 dc.getDisplayRotation().resume(); in tearDown()
DWindowManagerService.java2049 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 …]
DDisplayWindowSettings.java260 dc.getDisplayRotation().restoreSettings(userRotationMode, userRotation, in applySettingsToDisplayLocked()
DScreenRotationAnimation.java156 if (displayContent.getDisplayRotation().isFixedToUserRotation()) { in ScreenRotationAnimation()
DDisplayPolicy.java522 final DisplayRotation rotation = mDisplayContent.getDisplayRotation(); in DisplayPolicy()
1980 final DisplayRotation displayRotation = mDisplayContent.getDisplayRotation();
2071 mDisplayContent.getDisplayRotation().updateUserDependentConfiguration(res);
DAppTransitionController.java856 && mDisplayContent.getDisplayRotation().needsUpdate()) { in transitionGoodToGo()
DWindowState.java952 getDisplayContent().getDisplayRotation().markForSeamlessRotation(this, in seamlesslyRotateIfAllowed()
971 getDisplayContent().getDisplayRotation().markForSeamlessRotation(this, in finishSeamlessRotation()
DDisplayContent.java1294 public DisplayRotation getDisplayRotation() { in getDisplayRotation() method in DisplayContent
1425 return !mIgnoreOrientationRequest && !getDisplayRotation().isFixedToUserRotation(); in handlesOrientationChangeFromDescendant()
DActivityRecord.java5722 mDisplayContent.getDisplayRotation().cancelSeamlessRotation(); in startFreezingScreen()
7480 || mDisplayContent.getDisplayRotation().isFixedToUserRotation(); in resolveSizeCompatModeConfiguration()
DRootWindowContainer.java1163 if (mChildren.get(i).getDisplayRotation().updateRotationAndSendNewConfigIfChanged()) { in updateRotationUnchecked()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiDevice.java641 public int getDisplayRotation() { in getDisplayRotation() method in UiDevice
/frameworks/base/services/core/java/com/android/server/policy/
DWindowManagerPolicy.java376 DisplayRotation getDisplayRotation(); in getDisplayRotation() method
/frameworks/base/cmds/uiautomator/api/
D17.txt19 method public int getDisplayRotation();
Dcurrent.txt35 method @Deprecated public int getDisplayRotation();

12