Searched refs:sourceHintRect (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PinnedTaskController.java | 284 final Rect sourceHintRect = params != null && params.hasSourceBoundsHint() in startSeamlessRotationIfNeeded() local 287 Slog.i(TAG, "Seamless rotation PiP bounds=" + bounds + " hintRect=" + sourceHintRect); in startSeamlessRotationIfNeeded() 290 if (sourceHintRect != null && rotationDelta == Surface.ROTATION_270) { in startSeamlessRotationIfNeeded() 295 sourceHintRect.offset(displayCutoutInsets.left, displayCutoutInsets.top); in startSeamlessRotationIfNeeded() 298 final Rect contentBounds = sourceHintRect != null && areaBounds.contains(sourceHintRect) in startSeamlessRotationIfNeeded() 299 ? sourceHintRect : areaBounds; in startSeamlessRotationIfNeeded()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/ |
D | PipTaskOrganizer.java | 719 final Rect sourceHintRect = PipBoundsAlgorithm.getValidSourceHintRect( in exitPip() 722 animateResizePip(mPipBoundsState.getBounds(), destinationBounds, sourceHintRect, in exitPip() 890 final Rect sourceHintRect = PipBoundsAlgorithm.getValidSourceHintRect( in onTaskAppeared() local 893 sourceHintRect, TRANSITION_DIRECTION_TO_PIP, mEnterAnimationDuration, in onTaskAppeared() 919 final Rect sourceHintRect = PipBoundsAlgorithm.getValidSourceHintRect( in onTaskAppearedWithFixedRotation() local 922 animateResizePip(currentBounds, destinationBounds, sourceHintRect, in onTaskAppearedWithFixedRotation() 1476 Rect currentBounds, Rect destinationBounds, float startingAngle, Rect sourceHintRect, in scheduleAnimateResizePip() argument 1487 currentBounds, destinationBounds, sourceHintRect, direction, durationMs, in scheduleAnimateResizePip() 1797 Rect currentBounds, Rect destinationBounds, Rect sourceHintRect, in animateResizePip() argument 1807 .isSourceRectHintValidForEnterPip(sourceHintRect, destinationBounds)) { in animateResizePip() [all …]
|
D | PipTransition.java | 843 final Rect sourceHintRect = PipBoundsAlgorithm.getValidSourceHintRect( in startExpandAnimation() local 847 endBounds, sourceHintRect, TRANSITION_DIRECTION_LEAVE_PIP, in startExpandAnimation() 1007 Rect sourceHintRect = mPipOrganizer.takeSwipeSourceRectHint(); in startEnterAnimation() local 1008 if (sourceHintRect == null) { in startEnterAnimation() 1009 sourceHintRect = PipBoundsAlgorithm.getValidSourceHintRect( in startEnterAnimation() 1016 destinationBounds, sourceHintRect); in startEnterAnimation() 1027 sourceHintRect, destinationBounds, taskInfo); in startEnterAnimation() 1044 currentBounds, destinationBounds, sourceHintRect, TRANSITION_DIRECTION_TO_PIP, in startEnterAnimation() 1046 if (sourceHintRect == null) { in startEnterAnimation() 1068 animator.setSnapshotContentOverlay(snapshot, sourceHintRect); in startEnterAnimation() [all …]
|
D | PipAnimationController.java | 174 Rect baseBounds, Rect startBounds, Rect endBounds, Rect sourceHintRect, in getAnimator() argument 180 endBounds, sourceHintRect, direction, 0 /* startingAngle */, in getAnimator() 197 endBounds, sourceHintRect, direction, startingAngle, rotationDelta)); in getAnimator()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipBoundsAlgorithm.java | 180 final Rect sourceHintRect = params != null && params.hasSourceBoundsHint() in getValidSourceHintRect() local 183 if (sourceHintRect != null && sourceBounds.contains(sourceHintRect)) { in getValidSourceHintRect() 184 return sourceHintRect; in getValidSourceHintRect()
|