Home
last modified time | relevance | path

Searched refs:rotateTo (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
H A DOneHandedDisplayAreaOrganizerTest.java214 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 …]
H A DOneHandedControllerTest.java298 landscapeDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_90); in testRotation90CanNotStartOneHanded()
311 testDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_180); in testRotation180CanStartOneHanded()
325 testDisplayLayout.rotateTo(mContext.getResources(), Surface.ROTATION_270); in testRotation270CanNotStartOneHanded()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
H A DLegacySplitDisplayLayout.java74 void rotateTo(int newRotation) { in rotateTo() method in LegacySplitDisplayLayout
75 mDisplayLayout.rotateTo(mContext.getResources(), newRotation); in rotateTo()
255 tmpDL.rotateTo(context.getResources(), rotation); in getSmallestWidthDpForBounds()
H A DLegacySplitScreenController.java147 sdl.rotateTo(toRotation); in LegacySplitScreenController()
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
H A DDisplayLayoutTest.java117 dl.rotateTo(res, ROTATION_90); in testRotate()
125 dl.rotateTo(res, ROTATION_270); in testRotate()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedDisplayAreaOrganizer.java187 mDisplayLayout.rotateTo(context.getResources(), toRotation); in onRotateDisplay()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipController.java703 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChangedNotInPip()
739 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChanged()
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java232 public void rotateTo(Resources res, @Surface.Rotation int targetRotation) { in rotateTo() method in DisplayLayout
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipTaskOrganizer.java1359 mPipBoundsState.getDisplayLayout().rotateTo(mContext.getResources(), mNextRotation); in computeRotatedBounds()