Home
last modified time | relevance | path

Searched refs:fromRotation (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayChangeController.java85 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
DDisplayLayout.java226 final int fromRotation = mRotation; in rotateTo() local
227 final int rotationDelta = (toRotation - fromRotation + 4) % 4; in rotateTo()
237 mCutout = mCutout.getRotated(origWidth, origHeight, fromRotation, toRotation); in rotateTo()
DDisplayController.java197 int fromRotation, int toRotation) { in onDisplayRotateRequested() argument
210 wct, displayId, fromRotation, toRotation, null /* newDisplayAreaInfo */); in onDisplayRotateRequested()
/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java196 final int fromRotation = mDisplayContent.getRotation(); in requestDisplayChangeTransition()
216 onDisplayUpdated(transition, fromRotation, startBounds); in requestDisplayChangeTransition()
219 getCurrentDisplayChange(fromRotation, startBounds); in requestDisplayChangeTransition()
252 private TransitionRequestInfo.DisplayChange getCurrentDisplayChange(int fromRotation, in getCurrentDisplayChange() argument
262 displayChange.setStartRotation(fromRotation); in getCurrentDisplayChange()
275 private void onDisplayUpdated(@NonNull Transition transition, int fromRotation, in onDisplayUpdated() argument
280 getCurrentDisplayChange(fromRotation, startBounds); in onDisplayUpdated()
290 .performRemoteDisplayChange(fromRotation, toRotation, newDisplayAreaInfo, in onDisplayUpdated()
DRemoteDisplayChangeController.java80 int fromRotation, int toRotation, in performRemoteDisplayChange() argument
97 fromRotation, in performRemoteDisplayChange()
110 fromRotation, toRotation, newDisplayAreaInfo, remoteCallback); in performRemoteDisplayChange()
DPhysicalDisplaySwitchTransitionLauncher.java157 public void onDisplayUpdated(int fromRotation, int toRotation, in onDisplayUpdated() argument
162 .performRemoteDisplayChange(fromRotation, toRotation, newDisplayAreaInfo, in onDisplayUpdated()
DDisplayRotation.java673 private void startRemoteRotation(int fromRotation, int toRotation) { in startRemoteRotation() argument
675 fromRotation, toRotation, null /* newDisplayAreaInfo */, in startRemoteRotation()
2263 Record(DisplayRotation dr, int fromRotation, int toRotation) { in Record() argument
2264 mFromRotation = fromRotation; in Record()
2343 final int fromRotation = dr.mDisplayContent.getWindowConfiguration().getRotation(); in addRecord() local
2344 mRecords.addLast(new Record(dr, fromRotation, toRotation)); in addRecord()
/frameworks/base/core/java/android/view/
DIDisplayChangeWindowController.aidl51 void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument
DDisplayCutout.java1314 int fromRotation, int toRotation) {
1318 final int rotation = RotationUtils.deltaRotation(fromRotation, toRotation);
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java241 displayId, fromRotation, toRotation, newDisplayAreaInfo, t) -> {
242 if (mPipTransitionController.handleRotateDisplay(fromRotation, toRotation, t)) {
272 mTmpInsetBounds, displayId, fromRotation, toRotation, t);
778 final boolean fromRotation = Transitions.ENABLE_SHELL_TRANSITIONS in onDisplayChangedUncheck()
785 fromRotation ? new WindowContainerTransaction() : null; in onDisplayChangedUncheck()
787 fromRotation, false /* fromImeAdjustment */, in onDisplayChangedUncheck()
1084 private void updateMovementBounds(@Nullable Rect toBounds, boolean fromRotation, in updateMovementBounds() argument
1099 mPipTaskOrganizer.onMovementBoundsChanged(outBounds, fromRotation, fromImeAdjustment, in updateMovementBounds()
1125 int displayId, int fromRotation, int toRotation, WindowContainerTransaction t) { in onDisplayRotationChanged() argument
1127 if ((displayId != mPipDisplayLayoutState.getDisplayId()) || (fromRotation == toRotation)) { in onDisplayRotationChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java1286 public void onMovementBoundsChanged(Rect destinationBoundsOut, boolean fromRotation, in onMovementBoundsChanged() argument
1294 || waitForFixedRotationOnEnteringPip) && fromRotation) { in onMovementBoundsChanged()
1308 final boolean rotatingPip = mPipTransitionState.isInPip() && fromRotation; in onMovementBoundsChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedController.java694 public void onDisplayChange(int displayId, int fromRotation, int toRotation,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleController.java481 (displayId, fromRotation, toRotation, newDisplayAreaInfo, t) -> { in onInit() argument
488 if (fromRotation != toRotation || !newScreenBounds.equals(mScreenBounds)) { in onInit()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1996 public void onDisplayChange(int displayId, int fromRotation, int toRotation, in testRemoteRotation()
2088 public void onDisplayChange(int displayId, int fromRotation, int toRotation, in testShellTransitRotation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageCoordinator.java2562 private void onDisplayChange(int displayId, int fromRotation, int toRotation, in onDisplayChange() argument
2570 displayId, fromRotation, toRotation, in onDisplayChange()