/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayChangeController.java | 85 int fromRotation, int toRotation, DisplayAreaInfo newDisplayAreaInfo) { in dispatchOnDisplayChange() argument 90 c.onDisplayChange(displayId, fromRotation, toRotation, newDisplayAreaInfo, outWct); in dispatchOnDisplayChange() 97 private void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument 100 dispatchOnDisplayChange(t, displayId, fromRotation, toRotation, newDisplayAreaInfo); in onDisplayChange() 116 public void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument 122 .onDisplayChange(displayId, fromRotation, toRotation, in onDisplayChange() 142 void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument
|
D | DisplayLayout.java | 223 public void rotateTo(Resources res, @Surface.Rotation int toRotation) { in rotateTo() argument 227 final int rotationDelta = (toRotation - fromRotation + 4) % 4; in rotateTo() 230 mRotation = toRotation; in rotateTo() 237 mCutout = mCutout.getRotated(origWidth, origHeight, fromRotation, toRotation); in rotateTo()
|
D | DisplayController.java | 197 int fromRotation, int toRotation) { in onDisplayRotateRequested() argument 206 dr.mDisplayLayout.rotateTo(dr.mContext.getResources(), toRotation); in onDisplayRotateRequested() local 210 wct, displayId, fromRotation, toRotation, null /* newDisplayAreaInfo */); in onDisplayRotateRequested()
|
/frameworks/native/include/ui/ |
D | Rotation.h | 38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() function 48 return toRotation((toRotationInt(lhs) + toRotationInt(rhs)) % N); 53 return toRotation((N + toRotationInt(lhs) - toRotationInt(rhs)) % N);
|
D | Transform.h | 116 static constexpr Rotation toRotation(RotationFlags); 156 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
|
/frameworks/native/libs/ui/include/ui/ |
D | Rotation.h | 38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() function 48 return toRotation((toRotationInt(lhs) + toRotationInt(rhs)) % N); 53 return toRotation((N + toRotationInt(lhs) - toRotationInt(rhs)) % N);
|
D | Transform.h | 116 static constexpr Rotation toRotation(RotationFlags); 156 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | Rotation.h | 38 constexpr auto toRotation(std::underlying_type_t<Rotation> rotation) { in toRotation() function 48 return toRotation((toRotationInt(lhs) + toRotationInt(rhs)) % N); 53 return toRotation((N + toRotationInt(lhs) - toRotationInt(rhs)) % N);
|
D | Transform.h | 116 static constexpr Rotation toRotation(RotationFlags); 156 inline constexpr Rotation Transform::toRotation(Transform::RotationFlags rotationFlags) { in toRotation() function
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RemoteDisplayChangeController.java | 80 int fromRotation, int toRotation, in performRemoteDisplayChange() argument 102 toRotation); in performRemoteDisplayChange() 110 fromRotation, toRotation, newDisplayAreaInfo, remoteCallback); in performRemoteDisplayChange()
|
D | PhysicalDisplaySwitchTransitionLauncher.java | 157 public void onDisplayUpdated(int fromRotation, int toRotation, in onDisplayUpdated() argument 162 .performRemoteDisplayChange(fromRotation, toRotation, newDisplayAreaInfo, in onDisplayUpdated()
|
D | DeferredDisplayUpdater.java | 256 final int toRotation = mDisplayContent.getRotation(); in getCurrentDisplayChange() local 263 displayChange.setEndRotation(toRotation); in getCurrentDisplayChange() 277 final int toRotation = mDisplayContent.getRotation(); in onDisplayUpdated() local 290 .performRemoteDisplayChange(fromRotation, toRotation, newDisplayAreaInfo, in onDisplayUpdated()
|
D | DisplayRotation.java | 673 private void startRemoteRotation(int fromRotation, int toRotation) { in startRemoteRotation() argument 675 fromRotation, toRotation, null /* newDisplayAreaInfo */, in startRemoteRotation() 676 (transaction) -> continueRotation(toRotation, transaction) in startRemoteRotation() 2263 Record(DisplayRotation dr, int fromRotation, int toRotation) { in Record() argument 2265 mToRotation = toRotation; in Record() 2339 void addRecord(DisplayRotation dr, int toRotation) { in addRecord() argument 2344 mRecords.addLast(new Record(dr, fromRotation, toRotation)); in addRecord()
|
/frameworks/base/core/java/android/view/ |
D | IDisplayChangeWindowController.aidl | 51 void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument
|
D | DisplayCutout.java | 1314 int fromRotation, int toRotation) { 1318 final int rotation = RotationUtils.deltaRotation(fromRotation, toRotation); 1331 final int override = getSideOverride(mSideOverrides, toRotation); 1338 toRotation, info.getScale(), info.getPhysicalPixelDisplaySizeRatio());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/shared/model/ |
D | DisplayRotation.kt | 27 fun DisplayRotation.toRotation(): Int = in DisplayRotation() method
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipController.java | 241 displayId, fromRotation, toRotation, newDisplayAreaInfo, t) -> { 242 if (mPipTransitionController.handleRotateDisplay(fromRotation, toRotation, t)) { 245 if (mPipBoundsState.getDisplayLayout().rotation() == toRotation) { 259 onDisplayRotationChangedNotInPip(mContext, toRotation); 272 mTmpInsetBounds, displayId, fromRotation, toRotation, t); 1111 private void onDisplayRotationChangedNotInPip(Context context, int toRotation) { in onDisplayRotationChangedNotInPip() argument 1114 mPipDisplayLayoutState.rotateTo(toRotation); in onDisplayRotationChangedNotInPip() 1125 int displayId, int fromRotation, int toRotation, WindowContainerTransaction t) { in onDisplayRotationChanged() argument 1127 if ((displayId != mPipDisplayLayoutState.getDisplayId()) || (fromRotation == toRotation)) { in onDisplayRotationChanged() 1151 mPipDisplayLayoutState.rotateTo(toRotation); in onDisplayRotationChanged()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedDisplayAreaOrganizer.java | 204 public void onRotateDisplay(Context context, int toRotation, WindowContainerTransaction wct) { in onRotateDisplay() argument 205 if (mDisplayLayout.rotation() == toRotation) { in onRotateDisplay() 208 mDisplayLayout.rotateTo(context.getResources(), toRotation); in onRotateDisplay() local
|
D | OneHandedController.java | 694 public void onDisplayChange(int displayId, int fromRotation, int toRotation, 711 mDisplayAreaOrganizer.onRotateDisplay(mContext, toRotation, wct);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
D | FacePropertyRepository.kt | 33 import com.android.systemui.biometrics.shared.model.toRotation in <lambda>() 266 rotation.toRotation(), in rotateToCurrentOrientation()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputLayerTest.cpp | 69 ui::Rotation toRotation(uint32_t rotationFlag) { in toRotation() function 240 mOutputState.displaySpace.setOrientation(toRotation(entry.display)); in TEST_F() 410 mOutputState.displaySpace.setOrientation(toRotation(entry.display)); in TEST_F() 522 mOutputState.displaySpace.setOrientation(toRotation(entry.display)); in TEST_F()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/ |
D | BubbleController.java | 481 (displayId, fromRotation, toRotation, newDisplayAreaInfo, t) -> { in onInit() argument 488 if (fromRotation != toRotation || !newScreenBounds.equals(mScreenBounds)) { in onInit()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | StageCoordinator.java | 2562 private void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument 2570 displayId, fromRotation, toRotation, in onDisplayChange() 2572 mSplitLayout.rotateTo(toRotation); in onDisplayChange()
|
/frameworks/native/libs/gui/ |
D | LayerState.cpp | 378 orientation = ui::toRotation(tmpUint); in read()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayContentTests.java | 1996 public void onDisplayChange(int displayId, int fromRotation, int toRotation, in testRemoteRotation() 2088 public void onDisplayChange(int displayId, int fromRotation, int toRotation, in testShellTransitRotation()
|