Home
last modified time | relevance | path

Searched refs:sourceRectHint (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSwipePipToHomeAnimator.java117 @NonNull Rect sourceRectHint, in SwipePipToHomeAnimator() argument
142 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 …]
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSystemUiProxy.java687 SurfaceControl overlay, Rect appBounds, Rect sourceRectHint) { in stopSwipePipToHome() argument
691 appBounds, sourceRectHint); in stopSwipePipToHome()