Searched defs:vel (Results 1 - 5 of 5) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DeleteDropTarget.java | 80 public void onFlingToDelete(final DragObject d, PointF vel) { argument 86 FlingAnimation fling = new FlingAnimation(d, vel,
|
H A D | DragController.java | 682 PointF vel = new PointF(mVelocityTracker.getXVelocity(), 685 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) / 686 (vel.length() * upVec.length())); 688 return vel; 694 private void dropOnFlingToDeleteTarget(float x, float y, PointF vel) { argument 714 mFlingToDeleteDropTarget.onFlingToDelete(mDragObject, vel);
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
H A D | FlingAnimation.java | 34 * @param vel initial fling velocity in pixels per second. 36 public FlingAnimation(DragObject d, PointF vel, Rect iconRect, DragLayer dragLayer) { argument 38 mUX = vel.x / 1000; 39 mUY = vel.y / 1000;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | DeleteDropTarget.java | 267 DragObject d, PointF vel, ViewConfiguration config) { 275 float velocity = Math.abs(vel.length()); 278 int offsetX = (int) (offsetY / (vel.y / vel.x)); 332 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from, argument 335 mVelocity = vel; 370 DragObject d, PointF vel, final long startTime, final int duration, 375 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime, 379 public void onFlingToDelete(final DragObject d, int x, int y, PointF vel) { argument 424 updateCb = createFlingToTrashAnimatorListener(dragLayer, d, vel, confi 266 createFlingToTrashAnimatorListener(final DragLayer dragLayer, DragObject d, PointF vel, ViewConfiguration config) argument 369 createFlingAlongVectorAnimatorListener(final DragLayer dragLayer, DragObject d, PointF vel, final long startTime, final int duration, ViewConfiguration config) argument [all...] |
H A D | DragController.java | 631 PointF vel = new PointF(mVelocityTracker.getXVelocity(), 634 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) / 635 (vel.length() * upVec.length())); 637 return vel; 643 private void dropOnFlingToDeleteTarget(float x, float y, PointF vel) { argument 664 vel);
|
Completed in 239 milliseconds