Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
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 …]
DOneHandedControllerTest.java297 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/
DDisplayLayoutTest.java86 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/
DLegacySplitDisplayLayout.java73 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()
DLegacySplitScreenController.java147 sdl.rotateTo(toRotation); in LegacySplitScreenController()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java195 mDisplayLayout.rotateTo(context.getResources(), toRotation); in onRotateDisplay()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java642 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/
DDisplayLayout.java186 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/
DPipTaskOrganizer.java1327 mPipBoundsState.getDisplayLayout().rotateTo(mContext.getResources(), mNextRotation); in computeRotatedBounds()