Searched refs:pipBounds (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMotionHelper.java | 383 Rect animateDismiss(Rect pipBounds, float velocityX, float velocityY, in animateDismiss() argument 388 Point p = getDismissEndPoint(pipBounds, velocityX, velocityY, isFling); in animateDismiss() 389 Rect toBounds = new Rect(pipBounds); in animateDismiss() 476 private Point getDismissEndPoint(Rect pipBounds, float velX, float velY, boolean isFling) { in getDismissEndPoint() argument 479 final float bottomBound = displaySize.y + pipBounds.height() * .1f; in getDismissEndPoint() 485 final float yIntercept = pipBounds.top - slope * pipBounds.left; in getDismissEndPoint() 492 return new Point(pipBounds.left, (int) bottomBound); in getDismissEndPoint() 500 public boolean isGestureToDismissArea(Rect pipBounds, float velX, float velY, in isGestureToDismissArea() argument 502 Point endpoint = getDismissEndPoint(pipBounds, velX, velY, isFling); in isGestureToDismissArea() 504 endpoint.x += pipBounds.width() / 2; in isGestureToDismissArea() [all …]
|
D | PipAccessibilityInteractionConnection.java | 97 Rect pipBounds = new Rect(); in performAccessibilityAction() local 98 pipBounds.set(mMotionHelper.getBounds()); in performAccessibilityAction()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PipSnapAlgorithm.java | 207 final Rect pipBounds = new Rect(movementBounds.left, movementBounds.top, in findClosestSnapBounds() local 217 pipBounds, 0, 0, tmpBounds); in findClosestSnapBounds() local 238 pipBounds, 0, 0, tmpBounds); in findClosestSnapBounds() local
|