Home
last modified time | relevance | path

Searched refs:displayChange (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java218 final TransitionRequestInfo.DisplayChange displayChange = in requestDisplayChangeTransition()
221 /* startTask= */ null, /* remoteTransition= */ null, displayChange); in requestDisplayChangeTransition()
258 final TransitionRequestInfo.DisplayChange displayChange = in getCurrentDisplayChange() local
260 displayChange.setStartAbsBounds(startBounds); in getCurrentDisplayChange()
261 displayChange.setEndAbsBounds(endBounds); in getCurrentDisplayChange()
262 displayChange.setStartRotation(fromRotation); in getCurrentDisplayChange()
263 displayChange.setEndRotation(toRotation); in getCurrentDisplayChange()
264 return displayChange; in getCurrentDisplayChange()
279 final TransitionRequestInfo.DisplayChange displayChange = in onDisplayUpdated() local
281 displayChange.setPhysicalDisplayChanged(true); in onDisplayUpdated()
[all …]
DPhysicalDisplaySwitchTransitionLauncher.java128 final TransitionRequestInfo.DisplayChange displayChange = in requestDisplaySwitchTransitionIfNeeded() local
132 displayChange.setStartAbsBounds(startAbsBounds); in requestDisplaySwitchTransitionIfNeeded()
134 displayChange.setEndAbsBounds(endAbsBounds); in requestDisplaySwitchTransitionIfNeeded()
135 displayChange.setPhysicalDisplayChanged(true); in requestDisplaySwitchTransitionIfNeeded()
138 0 /* flags */, mDisplayContent, null /* remoteTransition */, displayChange); in requestDisplaySwitchTransitionIfNeeded()
DTransitionController.java661 private void setDisplaySyncMethod(@NonNull TransitionRequestInfo.DisplayChange displayChange, in setDisplaySyncMethod() argument
663 final Rect startBounds = displayChange.getStartAbsBounds(); in setDisplaySyncMethod()
664 final Rect endBounds = displayChange.getEndAbsBounds(); in setDisplaySyncMethod()
726 @Nullable TransitionRequestInfo.DisplayChange displayChange) { in requestStartDisplayTransition() argument
728 requestStartTransition(newTransition, null /* trigger */, remoteTransition, displayChange); in requestStartDisplayTransition()
729 if (displayChange != null) { in requestStartDisplayTransition()
730 setDisplaySyncMethod(displayChange, trigger); in requestStartDisplayTransition()
739 @Nullable TransitionRequestInfo.DisplayChange displayChange) { in requestStartTransition() argument
773 startTaskInfo, pipTaskInfo, remoteTransition, displayChange, in requestStartTransition()
DDisplayContent.java3504 @Nullable TransitionRequestInfo.DisplayChange displayChange) { in requestChangeTransition() argument
3507 this, null /* remoteTransition */, displayChange); in requestChangeTransition()
3520 if (displayChange != null) { in requestChangeTransition()
3522 displayChange.getStartRotation(), displayChange.getEndRotation(), in requestChangeTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandler.java227 @NonNull TransitionRequestInfo.DisplayChange displayChange) { in isUnfoldDisplayChange()
228 if (!displayChange.isPhysicalDisplayChanged()) { in isUnfoldDisplayChange()
232 if (displayChange.getStartAbsBounds() == null || displayChange.getEndAbsBounds() == null) { in isUnfoldDisplayChange()
238 displayChange.getEndAbsBounds().width() * displayChange.getEndAbsBounds().height(); in isUnfoldDisplayChange()
239 final int startArea = displayChange.getStartAbsBounds().width() in isUnfoldDisplayChange()
240 * displayChange.getStartAbsBounds().height(); in isUnfoldDisplayChange()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/unfold/
DUnfoldTransitionHandlerTest.java97 TransitionRequestInfo.DisplayChange displayChange = new TransitionRequestInfo.DisplayChange( in handleRequest_physicalDisplayChangeUnfold_handlesTransition() local
103 triggerTaskInfo, /* remoteTransition= */ null, displayChange, 0 /* flags */); in handleRequest_physicalDisplayChangeUnfold_handlesTransition()
114 TransitionRequestInfo.DisplayChange displayChange = new TransitionRequestInfo.DisplayChange( in handleRequest_physicalDisplayChangeFold_doesNotHandleTransition() local
120 triggerTaskInfo, /* remoteTransition= */ null, displayChange, 0 /* flags */); in handleRequest_physicalDisplayChangeFold_doesNotHandleTransition()
131 TransitionRequestInfo.DisplayChange displayChange = new TransitionRequestInfo.DisplayChange( in handleRequest_noPhysicalDisplayChange_doesNotHandleTransition() local
134 triggerTaskInfo, /* remoteTransition= */ null, displayChange, 0 /* flags */); in handleRequest_noPhysicalDisplayChange_doesNotHandleTransition()
364 TransitionRequestInfo.DisplayChange displayChange = new TransitionRequestInfo.DisplayChange( in createUnfoldTransitionRequestInfo() local
370 triggerTaskInfo, /* remoteTransition= */ null, displayChange, 0 /* flags */); in createUnfoldTransitionRequestInfo()
/frameworks/base/core/java/android/window/
DTransitionRequestInfo.java92 @Nullable TransitionRequestInfo.DisplayChange displayChange, in TransitionRequestInfo() argument
94 this(type, triggerTask, null /* pipTask */, remoteTransition, displayChange, flags, in TransitionRequestInfo()
104 @Nullable TransitionRequestInfo.DisplayChange displayChange, in TransitionRequestInfo() argument
106 this(type, triggerTask, pipTask, remoteTransition, displayChange, flags, -1 /* debugId */); in TransitionRequestInfo()
346 @Nullable TransitionRequestInfo.DisplayChange displayChange, in TransitionRequestInfo() argument
355 this.mDisplayChange = displayChange; in TransitionRequestInfo()
516 …TransitionRequestInfo.DisplayChange displayChange = (flg & 0x10) == 0 ? null : (TransitionRequestI… in TransitionRequestInfo() local
526 this.mDisplayChange = displayChange; in TransitionRequestInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DShellTransitionTests.java837 TransitionInfo.Change displayChange = new ChangeBuilder(TRANSIT_CHANGE) in testShouldRotateSeamlessly() local
840 displayChange.getStartAbsBounds().set(0, 0, 1000, 2000); in testShouldRotateSeamlessly()
842 .addChange(displayChange) in testShouldRotateSeamlessly()
846 displayChange, normalDispRotate, displays)); in testShouldRotateSeamlessly()
850 .addChange(displayChange) in testShouldRotateSeamlessly()
855 displayChange, rotateSeamless, displays)); in testShouldRotateSeamlessly()
859 .addChange(displayChange) in testShouldRotateSeamlessly()
866 displayChange, pipDispRotate, displays)); in testShouldRotateSeamlessly()
870 .addChange(displayChange) in testShouldRotateSeamlessly()
873 displayChange, noTask, displays)); in testShouldRotateSeamlessly()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DDefaultTransitionHandler.java196 static int getRotationAnimationHint(@NonNull TransitionInfo.Change displayChange, in getRotationAnimationHint() argument
201 if (displayChange.getRotationAnimation() == ROTATION_ANIMATION_SEAMLESS) { in getRotationAnimationHint()
275 if (displayChange.getStartRotation() == upsideDownRotation in getRotationAnimationHint()
276 || displayChange.getEndRotation() == upsideDownRotation) { in getRotationAnimationHint()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageCoordinator.java2656 final TransitionRequestInfo.DisplayChange displayChange = in handleRequest() local
2658 if (request.getType() == TRANSIT_CHANGE && displayChange != null in handleRequest()
2659 && displayChange.getStartRotation() != displayChange.getEndRotation()) { in handleRequest()