Home
last modified time | relevance | path

Searched refs:toRotation (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayChangeController.java76 private void onRotateDisplay(int displayId, final int fromRotation, final int toRotation, in onRotateDisplay() argument
85 c.onRotateDisplay(displayId, fromRotation, toRotation, t); in onRotateDisplay()
88 callback.continueRotateDisplay(toRotation, t); in onRotateDisplay()
98 final int toRotation, IDisplayWindowRotationCallback callback) { in onRotateDisplay() argument
100 DisplayChangeController.this.onRotateDisplay(displayId, fromRotation, toRotation, in onRotateDisplay()
119 void onRotateDisplay(int displayId, int fromRotation, int toRotation, in onRotateDisplay() argument
/frameworks/native/include/ui/
DRotation.h31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() function
41 return toRotation((toRotationInt(lhs) + toRotationInt(rhs)) % N);
46 return toRotation((N + toRotationInt(lhs) - toRotationInt(rhs)) % N);
DTransform.h115 static constexpr Rotation toRotation(RotationFlags);
155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
/frameworks/native/libs/ui/include_vndk/ui/
DRotation.h31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() function
41 return toRotation((toRotationInt(lhs) + toRotationInt(rhs)) % N);
46 return toRotation((N + toRotationInt(lhs) - toRotationInt(rhs)) % N);
DTransform.h115 static constexpr Rotation toRotation(RotationFlags);
155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
/frameworks/native/libs/ui/include/ui/
DRotation.h31 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() function
41 return toRotation((toRotationInt(lhs) + toRotationInt(rhs)) % N);
46 return toRotation((N + toRotationInt(lhs) - toRotationInt(rhs)) % N);
DTransform.h115 static constexpr Rotation toRotation(RotationFlags);
155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java119 int displayId, int fromRotation, int toRotation, WindowContainerTransaction t) -> {
120 if (mPipBoundsState.getDisplayLayout().rotation() == toRotation) {
131 onDisplayRotationChangedNotInPip(mContext, toRotation);
144 mTmpInsetBounds, displayId, fromRotation, toRotation, t);
639 private void onDisplayRotationChangedNotInPip(Context context, int toRotation) { in onDisplayRotationChangedNotInPip() argument
642 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChangedNotInPip() local
653 int displayId, int fromRotation, int toRotation, WindowContainerTransaction t) { in onDisplayRotationChanged() argument
655 if ((displayId != mPipBoundsState.getDisplayId()) || (fromRotation == toRotation)) { in onDisplayRotationChanged()
678 mPipBoundsState.getDisplayLayout().rotateTo(context.getResources(), toRotation); in onDisplayRotationChanged() local
/frameworks/base/core/java/android/view/
DIDisplayWindowRotationController.aidl50 void onRotateDisplay(int displayId, int fromRotation, int toRotation, in onRotateDisplay() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedDisplayAreaOrganizer.java185 public void onRotateDisplay(Context context, int toRotation, WindowContainerTransaction wct) { in onRotateDisplay() argument
186 if (mDisplayLayout.rotation() == toRotation) { in onRotateDisplay()
195 mDisplayLayout.rotateTo(context.getResources(), toRotation); in onRotateDisplay() local
DOneHandedController.java113 (display, fromRotation, toRotation, wct) -> {
117 mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitScreenController.java138 (display, fromRotation, toRotation, wct) -> { in LegacySplitScreenController()
147 sdl.rotateTo(toRotation); in LegacySplitScreenController()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp62 ui::Rotation toRotation(uint32_t rotationFlag) { in toRotation() function
232 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F()
402 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F()
514 mOutputState.displaySpace.orientation = toRotation(entry.display); in TEST_F()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java377 public void onRotateDisplay(int displayId, int fromRotation, int toRotation, in initialize()
380 if (fromRotation != toRotation) { in initialize()
381 mBubblePositioner.setRotation(toRotation); in initialize()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java566 private void startRemoteRotation(int fromRotation, int toRotation) { in startRemoteRotation() argument
573 fromRotation, toRotation, mRemoteRotationCallback); in startRemoteRotation() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1631 public void onRotateDisplay(int displayId, int fromRotation, int toRotation, in testRemoteRotation()
1636 callback.continueRotateDisplay(toRotation, null); in testRemoteRotation()
1676 public void onRotateDisplay(int displayId, int fromRotation, int toRotation, in testShellTransitRotation()
1679 callback.continueRotateDisplay(toRotation, null); in testShellTransitRotation()
/frameworks/native/cmds/surfacereplayer/replayer/
DReplayer.cpp583 t.setDisplayProjection(mDisplays[id], ui::toRotation(pc.orientation()), viewport, frame); in setDisplayProjection()
/frameworks/native/libs/gui/
DLayerState.cpp349 orientation = ui::toRotation(tmpUint); in read()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp1801 return toRotationInt(ui::Transform::toRotation((transformHintRotationFlags))); in nativeGetTransformHint()