Searched refs:sourceRectHint (Results 1 – 2 of 2) sorted by relevance
117 @NonNull Rect sourceRectHint, in SwipePipToHomeAnimator() argument142 if (sourceRectHint.isEmpty()) { in SwipePipToHomeAnimator()144 } else if (sourceRectHint.width() < destinationBounds.width() in SwipePipToHomeAnimator()145 || sourceRectHint.height() < destinationBounds.height()) { in SwipePipToHomeAnimator()150 reasonForCreateOverlay = "Source rect hint is too small " + sourceRectHint; in SwipePipToHomeAnimator()151 sourceRectHint.setEmpty(); in SwipePipToHomeAnimator()152 } else if (!appBounds.contains(sourceRectHint)) { in SwipePipToHomeAnimator()155 reasonForCreateOverlay = "Source rect hint exceeds display bounds " + sourceRectHint; in SwipePipToHomeAnimator()156 sourceRectHint.setEmpty(); in SwipePipToHomeAnimator()158 aspectRatio - (sourceRectHint.width() / (float) sourceRectHint.height())) in SwipePipToHomeAnimator()[all …]
687 SurfaceControl overlay, Rect appBounds, Rect sourceRectHint) { in stopSwipePipToHome() argument691 appBounds, sourceRectHint); in stopSwipePipToHome()