Home
last modified time | relevance | path

Searched refs:displayRotation (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsTests.java448 final DisplayRotation displayRotation = mock(DisplayRotation.class); in testFixedToUserRotationDefault() local
450 doReturn(displayRotation).when(mPrimaryDisplay).getDisplayRotation(); in testFixedToUserRotationDefault()
454 verify(displayRotation).restoreSettings(anyInt(), anyInt(), in testFixedToUserRotationDefault()
465 final DisplayRotation displayRotation = mock(DisplayRotation.class); in testSetFixedToUserRotationDisabled() local
467 doReturn(displayRotation).when(mPrimaryDisplay).getDisplayRotation(); in testSetFixedToUserRotationDisabled()
471 verify(displayRotation).restoreSettings(anyInt(), anyInt(), in testSetFixedToUserRotationDisabled()
482 final DisplayRotation displayRotation = mock(DisplayRotation.class); in testSetFixedToUserRotationEnabled() local
484 doReturn(displayRotation).when(mPrimaryDisplay).getDisplayRotation(); in testSetFixedToUserRotationEnabled()
488 verify(displayRotation).restoreSettings(anyInt(), anyInt(), in testSetFixedToUserRotationEnabled()
DDisplayPolicyTests.java219 final DisplayRotation displayRotation = mock(DisplayRotation.class); in testShouldRotateSeamlessly() local
220 doReturn(Surface.ROTATION_180).when(displayRotation).getUpsideDownRotation(); in testShouldRotateSeamlessly()
231 displayRotation, Surface.ROTATION_0, Surface.ROTATION_90)); in testShouldRotateSeamlessly()
237 displayRotation, Surface.ROTATION_0, Surface.ROTATION_90)); in testShouldRotateSeamlessly()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPinnedStackListenerForwarder.java56 boolean fromImeAdjustment, boolean fromShelfAdjustment, int displayRotation) in onMovementBoundsChanged() argument
61 fromImeAdjustment, fromShelfAdjustment, displayRotation); in onMovementBoundsChanged()
/frameworks/base/core/java/android/view/
DIPinnedStackListener.aidl50 boolean fromImeAdjustment, boolean fromShelfAdjustment, int displayRotation); in onMovementBoundsChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java267 boolean fromImeAdjustment, boolean fromShelfAdjustment, int displayRotation) { in onMovementBoundsChanged() argument
320 mDisplayRotation = displayRotation; in onMovementBoundsChanged()
326 if (mDeferResizeToNormalBoundsUntilRotation == displayRotation) { in onMovementBoundsChanged()
544 int displayRotation = mPinnedStackController.getDisplayRotation();
545 if (mDisplayRotation != displayRotation) {
546 mDeferResizeToNormalBoundsUntilRotation = displayRotation;
DPipManager.java155 int displayRotation) { in onMovementBoundsChanged() argument
158 fromImeAdjustment, fromShelfAdjustment, displayRotation); in onMovementBoundsChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java1265 final int displayRotation = displayFrames.mRotation; in getLayoutHintLw() local
1271 if (displayRotation == Surface.ROTATION_0) { in getLayoutHintLw()
1273 } else if (displayRotation == Surface.ROTATION_90) { in getLayoutHintLw()
1275 } else if (displayRotation == Surface.ROTATION_180) { in getLayoutHintLw()
1277 } else if (displayRotation == Surface.ROTATION_270) { in getLayoutHintLw()
2669 final DisplayRotation displayRotation = mDisplayContent.getDisplayRotation();
2672 final int portraitRotation = displayRotation.getPortraitRotation();
2673 final int upsideDownRotation = displayRotation.getUpsideDownRotation();
2674 final int landscapeRotation = displayRotation.getLandscapeRotation();
2675 final int seascapeRotation = displayRotation.getSeascapeRotation();
[all …]
DDisplayContent.java1143 void setDisplayRotation(DisplayRotation displayRotation) { in setDisplayRotation() argument
1144 mDisplayRotation = displayRotation; in setDisplayRotation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DScreenDecorations.java1277 final int displayRotation = RotationUtils.getExactRotation(mContext); in onPreDraw() local
1278 if (displayRotation != mRotation && !mPendingRotationChange) { in onPreDraw()
1281 + displayRotation + ". Restarting draw"); in onPreDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DEdgeBackGestureHandler.java99 int displayRotation) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java216 int displayRotation) { in onMovementBoundsChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java1008 int displayRotation) throws RemoteException {} in onMovementBoundsChanged() argument