Searched refs:overlayLeash (Results 1 – 3 of 3) sorted by relevance
255 void setSwipePipToHomeState(@Nullable SurfaceControl overlayLeash, in setSwipePipToHomeState() argument258 if (overlayLeash != null && !appBounds.isEmpty()) { in setSwipePipToHomeState()259 mSwipePipToHomeOverlay = overlayLeash; in setSwipePipToHomeState()
296 SurfaceControl overlayLeash = mPipTransitionState.getSwipePipToHomeOverlay(); in handleSwipePipToHomeTransition() local306 Rect animationSrcRectHint = overlayLeash == null ? params.getSourceRectHint() in handleSwipePipToHomeTransition()319 if (overlayLeash != null) { in handleSwipePipToHomeTransition()324 tx.setScale(overlayLeash, 1f, 1f); in handleSwipePipToHomeTransition()325 tx.setPosition(overlayLeash, (destinationBounds.width() - overlaySize) / 2f, in handleSwipePipToHomeTransition()
554 final SurfaceControl overlayLeash = overlayRef.get(); in mayRemoveContentOverlay() local555 if (overlayLeash != null && overlayLeash.isValid() && overlayLeash == mPipOverlay) { in mayRemoveContentOverlay()557 "Cleanup the overlay(%s) as a last resort.", overlayLeash); in mayRemoveContentOverlay()558 removeContentOverlay(overlayLeash, null /* callback */); in mayRemoveContentOverlay()