/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayChangeController.java | 76 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/ |
D | Rotation.h | 31 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);
|
D | Transform.h | 115 static constexpr Rotation toRotation(RotationFlags); 155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 31 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);
|
D | Transform.h | 115 static constexpr Rotation toRotation(RotationFlags); 155 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 31 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);
|
D | Transform.h | 115 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/ |
D | PipController.java | 119 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/ |
D | IDisplayWindowRotationController.aidl | 50 void onRotateDisplay(int displayId, int fromRotation, int toRotation, in onRotateDisplay() argument
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 185 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
|
D | OneHandedController.java | 113 (display, fromRotation, toRotation, wct) -> { 117 mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | LegacySplitScreenController.java | 138 (display, fromRotation, toRotation, wct) -> { in LegacySplitScreenController() 147 sdl.rotateTo(toRotation); in LegacySplitScreenController()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 62 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/ |
D | BubbleController.java | 377 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/ |
D | DisplayRotation.java | 566 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/ |
D | DisplayContentTests.java | 1631 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/ |
D | Replayer.cpp | 583 t.setDisplayProjection(mDisplays[id], ui::toRotation(pc.orientation()), viewport, frame); in setDisplayProjection()
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 349 orientation = ui::toRotation(tmpUint); in read()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 1801 return toRotationInt(ui::Transform::toRotation((transformHintRotationFlags))); in nativeGetTransformHint()
|