Searched refs:rotateTo (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizerTest.java | 214 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_landscape_90() 227 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_seascape_270() 240 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_portrait_0() 253 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_portrait_180() 266 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation_seascape_270_to_portrait_0() 279 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation_seascape_270_to_portrait_180() 314 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation_portrait_180_to_portrait_180() 327 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_portrait_180_to_portrait_0() 340 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_landscape_90() 353 mDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation_landscape_90_to_seascape_270() [all …]
|
D | OneHandedControllerTest.java | 297 landscapeDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation90CanNotStartOneHanded() 310 testDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation180CanStartOneHanded() 324 testDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation270CanNotStartOneHanded()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | DisplayLayoutTest.java | 86 dl.rotateTo(res, ROTATION_90); in testRotate() 93 dl.rotateTo(res, ROTATION_270); in testRotate()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | LegacySplitDisplayLayout.java | 73 void rotateTo(int newRotation) { in rotateTo() method in LegacySplitDisplayLayout 74 mDisplayLayout.rotateTo(mContext.getResources(), newRotation); in rotateTo() 244 tmpDL.rotateTo(context.getResources(), rotation); in getSmallestWidthDpForBounds()
|
D | LegacySplitScreenController.java | 147 sdl.rotateTo(toRotation); in LegacySplitScreenController()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 195 mDisplayLayout.rotateTo(context.getResources(), toRotation); in onRotateDisplay()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipController.java | 642 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChangedNotInPip() 678 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 186 public void rotateTo(Resources res, @Surface.Rotation int targetRotation) { in rotateTo() method in DisplayLayout
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizer.java | 1327 mPipBoundsState.getDisplayLayout().rotateTo(mContext.getResources(), mNextRotation); in computeRotatedBounds()
|