/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleTouchHandler.java | 159 final float velY = mVelocityTracker.getYVelocity(); in onTouch() local 164 mTouchedView, mInDismissTarget, viewX, viewY, velX, velY); in onTouch() 177 final float velY = mVelocityTracker.getYVelocity(); in onTouch() local 182 || isFastFlingTowardsDismissTarget(rawX, rawY, velX, velY) in onTouch() 184 || velY > INDIVIDUAL_BUBBLE_DISMISS_MIN_VELOCITY; in onTouch() 191 mStack.magnetToStackIfNeededThenAnimateDismissal(mTouchedView, velX, velY, in onTouch() 207 mStack.onDragFinish(viewX, viewY, velX, velY); in onTouch() 209 mStack.onBubbleDragFinish(mTouchedView, viewX, viewY, velX, velY); in onTouch() 233 float rawX, float rawY, float velX, float velY) { in isFastFlingTowardsDismissTarget() argument 235 if (velY <= 0) { in isFastFlingTowardsDismissTarget() [all …]
|
D | BubbleStackView.java | 1062 View bubble, float x, float y, float velX, float velY) { in onBubbleDragFinish() argument 1071 mExpandedAnimationController.snapBubbleBack(bubble, velX, velY); in onBubbleDragFinish() 1099 void onDragFinish(float x, float y, float velX, float velY) { in onDragFinish() argument 1108 final float newStackX = mStackAnimationController.flingStackThenSpringToEdge(x, velX, velY); in onDragFinish() 1241 View magnetView, boolean toTarget, float x, float y, float velX, float velY) { 1258 mStackAnimationController.magnetToDismiss(velX, velY, destY, afterMagnet); 1262 magnetView, velX, velY, destY, afterMagnet); 1270 mStackAnimationController.demagnetizeFromDismissToPoint(x, y, velX, velY); in mStackAnimationController.demagnetizeFromDismissToPoint() argument 1273 mExpandedAnimationController.demagnetizeBubbleTo(x, y, velX, velY); in mExpandedAnimationController.demagnetizeBubbleTo() argument 1288 View touchedView, float velX, float velY, Runnable after) { in magnetToStackIfNeededThenAnimateDismissal() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | ExpandedAnimationController.java | 297 View bubbleView, float velX, float velY, float destY, Runnable after) { 303 .withPositionStartVelocities(velX, velY) 313 public void demagnetizeBubbleTo(float x, float y, float velX, float velY) { 320 .withPositionStartVelocities(velX, velY) 329 public void snapBubbleBack(View bubbleView, float velX, float velY) { 334 .withPositionStartVelocities(velX, velY)
|
D | StackAnimationController.java | 229 public float flingStackThenSpringToEdge(float x, float velX, float velY) { in flingStackThenSpringToEdge() argument 273 velY, in flingStackThenSpringToEdge() 513 public void demagnetizeFromDismissToPoint(float x, float y, float velX, float velY) { 529 velY, y); 536 public void magnetToDismiss(float velX, float velY, float destY, Runnable after) { 552 velY, destY, after);
|
D | PhysicsAnimationLayout.java | 838 public PhysicsPropertyAnimator withPositionStartVelocities(float velX, float velY) { 840 mPositionStartVelocities.put(DynamicAnimation.TRANSLATION_Y, velY);
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PipSnapAlgorithm.java | 122 public Point getEdgeIntersect(Rect stackBounds, Rect movementBounds, float velX, float velY, in getEdgeIntersect() argument 129 final float slope = velY / velX; // slope = rise / run in getEdgeIntersect() 143 horizPoint.y = velY > 0 ? movementBounds.bottom : movementBounds.top; in getEdgeIntersect() 155 maxDistance = velY > 0 in getEdgeIntersect() 168 int distance = (int) (0 - Math.pow(isLandscape ? velX : velY, 2)) in getEdgeIntersect() 175 horizPoint.y = stackBounds.top + (velY > 0 ? distance : -distance); in getEdgeIntersect()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/ |
D | PipMotionHelper.java | 476 private Point getDismissEndPoint(Rect pipBounds, float velX, float velY, boolean isFling) { in getDismissEndPoint() argument 480 if (isFling && velX != 0 && velY != 0) { in getDismissEndPoint() 483 final float slope = velY / velX; 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()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackViewScroller.java | 159 public void fling(float downScrollP, int downY, int y, int velY, int minY, int maxY, in fling() argument 163 ", velY: " + velY + ", minY: " + minY + ", maxY: " + maxY); in fling() 167 mScroller.fling(0, y, 0, velY, 0, 0, minY, maxY, 0, overscroll); in fling()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | RecyclerView.java | 4710 int velY = 0; in run() local 4712 velY = overscrollY < 0 ? -vel : overscrollY > 0 ? vel : 0; in run() 4716 absorbGlows(velX, velY); in run() 4719 && (velY != 0 || overscrollY == y || scroller.getFinalY() == 0)) { in run()
|