Searched refs:isFling (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMotionHelper.java | 387 final boolean isFling = velocity > mFlingAnimationUtils.getMinVelocityPxPerSecond(); in animateDismiss() 388 Point p = getDismissEndPoint(pipBounds, velocityX, velocityY, isFling); in animateDismiss() 399 if (isFling) { in animateDismiss() 476 private Point getDismissEndPoint(Rect pipBounds, float velX, float velY, boolean isFling) { in getDismissEndPoint() argument 480 if (isFling && velX != 0 && velY != 0) { in getDismissEndPoint() 501 boolean isFling) { in isGestureToDismissArea() argument 502 Point endpoint = getDismissEndPoint(pipBounds, velX, velY, isFling); in isGestureToDismissArea()
|
D | PipTouchHandler.java | 690 final boolean isFling = velocity > mFlingAnimationUtils.getMinVelocityPxPerSecond(); 694 vel.y, isFling); 695 final boolean isFlingToBot = isFling && vel.y > 0 && !isHorizontal 709 final boolean isFlingToEdge = isFling && isHorizontal && mMovementWithinMinimize 749 if (isFling) {
|