Searched defs:vel (Results 1 - 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeleteDropTarget.java111 public void onFlingToDelete(final DragObject d, PointF vel) { argument
117 FlingAnimation fling = new FlingAnimation(d, vel,
H A DDragController.java681 PointF vel = new PointF(mVelocityTracker.getXVelocity(),
684 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
685 (vel.length() * upVec.length()));
687 return vel;
693 private void dropOnFlingToDeleteTarget(float x, float y, PointF vel) { argument
713 mFlingToDeleteDropTarget.onFlingToDelete(mDragObject, vel);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DFlingAnimation.java34 * @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 DDeleteDropTarget.java267 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 DDragController.java631 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 185 milliseconds