Home
last modified time | relevance | path

Searched refs:pipLeash (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipTransition.java256 SurfaceControl pipLeash = pipChange.getLeash(); in startResizeAnimation() local
264 startTransaction.setWindowCrop(pipLeash, pipChange.getEndAbsBounds().width(), in startResizeAnimation()
290 SurfaceControl pipLeash = pipChange.getLeash(); in handleSwipePipToHomeTransition() local
292 if (pipTaskToken == null || pipLeash == null) { in handleSwipePipToHomeTransition()
313 startTransaction.setWindowCrop(pipLeash, animationSrcRectHint); in handleSwipePipToHomeTransition()
314 startTransaction.setPosition(pipLeash, in handleSwipePipToHomeTransition()
317 startTransaction.setScale(pipLeash, scale, scale); in handleSwipePipToHomeTransition()
390 SurfaceControl pipLeash = mPipTransitionState.mPinnedTaskLeash; in startAlphaTypeEnterAnimation() local
391 Preconditions.checkNotNull(pipLeash, "Leash is null for alpha transition."); in startAlphaTypeEnterAnimation()
394 startTransaction.setPosition(pipLeash, destinationBounds.left, destinationBounds.top) in startAlphaTypeEnterAnimation()
[all …]
DPhonePipMenuController.java317 public void movePipMenu(@Nullable SurfaceControl pipLeash, in movePipMenu() argument
329 if (pipLeash != null && t != null) { in movePipMenu()
338 public void resizePipMenu(@Nullable SurfaceControl pipLeash, in resizePipMenu() argument
350 if (pipLeash != null && t != null) { in resizePipMenu()
DPipResizeGestureHandler.java545 SurfaceControl pipLeash = mPipTransitionState.mPinnedTaskLeash; in onPipTransitionStateChanged() local
546 Preconditions.checkState(pipLeash != null, in onPipTransitionStateChanged()
553 startTx.setWindowCrop(pipLeash, mPipBoundsState.getBounds().width(), in onPipTransitionStateChanged()
556 PipResizeAnimator animator = new PipResizeAnimator(mContext, pipLeash, in onPipTransitionStateChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipTransition.java225 final SurfaceControl pipLeash; in startAnimation() local
231 pipLeash = new SurfaceControl.Builder() in startAnimation()
238 startTransaction.reparent(activitySurface, pipLeash); in startAnimation()
244 pipLeash = pipChange.getLeash(); in startAnimation()
245 startTransaction.reparent(pipLeash, root.getLeash()); in startAnimation()
247 startTransaction.setLayer(pipLeash, Integer.MAX_VALUE); in startAnimation()
251 startExitAnimation(pipTaskInfo, pipLeash, currentBounds, destinationBounds, in startAnimation()
329 final SurfaceControl pipLeash = pipTaskChange.getLeash(); in startCloseAnimation() local
340 .resetScale(startTransaction, pipLeash, pipBounds) in startCloseAnimation()
341 .crop(startTransaction, pipLeash, pipBounds) in startCloseAnimation()
[all …]
DTvPipMenuController.java309 public void resizePipMenu(@Nullable SurfaceControl pipLeash, in resizePipMenu() argument
346 public void movePipMenu(SurfaceControl pipLeash, SurfaceControl.Transaction pipTx, in movePipMenu() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipMenuController.java87 default void resizePipMenu(@Nullable SurfaceControl pipLeash, in resizePipMenu() argument
95 default void movePipMenu(@Nullable SurfaceControl pipLeash, in movePipMenu() argument
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPhonePipMenuController.java319 public void movePipMenu(@Nullable SurfaceControl pipLeash, in movePipMenu() argument
331 if (pipLeash != null && t != null) { in movePipMenu()
340 public void resizePipMenu(@Nullable SurfaceControl pipLeash, in resizePipMenu() argument
352 if (pipLeash != null && t != null) { in resizePipMenu()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTransition.java675 final SurfaceControl pipLeash; in startExitAnimation() local
681 pipLeash = new SurfaceControl.Builder() in startExitAnimation()
688 startTransaction.reparent(activitySurface, pipLeash); in startExitAnimation()
693 pipLeash = pipChange.getLeash(); in startExitAnimation()
694 startTransaction.reparent(pipLeash, root.getLeash()); in startExitAnimation()
696 startTransaction.setLayer(pipLeash, Integer.MAX_VALUE); in startExitAnimation()
701 startTransaction.setPosition(pipLeash, currentBounds.left, currentBounds.top); in startExitAnimation()
729 finishTransaction.remove(pipLeash); in startExitAnimation()
780 pipLeash, endBounds, endBounds, new Rect(), degree, x, y, in startExitAnimation()
785 startExpandAnimation(taskInfo, pipLeash, currentBounds, currentBounds, destinationBounds, in startExitAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentsTransitionHandler.java1120 SurfaceControl pipLeash = null; in finishInner() local
1124 pipLeash = pipChange.getLeash(); in finishInner()
1131 pipLeash = change.getLeash(); in finishInner()
1138 if (pipLeash == null) { in finishInner()
1144 t.show(pipLeash); in finishInner()
1145 PictureInPictureSurfaceTransaction.apply(mPipTransaction, pipLeash, t); in finishInner()