Searched refs:vel (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | DeleteDropTarget.java | 259 DragObject d, PointF vel, ViewConfiguration config) { in createFlingToTrashAnimatorListener() argument 267 float velocity = Math.abs(vel.length()); in createFlingToTrashAnimatorListener() 270 int offsetX = (int) (offsetY / (vel.y / vel.x)); in createFlingToTrashAnimatorListener() 324 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from, 327 mVelocity = vel; 362 DragObject d, PointF vel, final long startTime, final int duration, 367 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime, 371 public void onFlingToDelete(final DragObject d, int x, int y, PointF vel) { 416 updateCb = createFlingToTrashAnimatorListener(dragLayer, d, vel, config); 418 updateCb = createFlingAlongVectorAnimatorListener(dragLayer, d, vel, startTime,
|
D | DragController.java | 619 PointF vel = new PointF(mVelocityTracker.getXVelocity(), 622 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) / 623 (vel.length() * upVec.length())); 625 return vel; 631 private void dropOnFlingToDeleteTarget(float x, float y, PointF vel) { 652 vel);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthListView.java | 118 float vel = mTracker.getYVelocity (); in processEvent() local 119 if (Math.abs(vel) > MIN_VELOCITY_FOR_FLING) { in processEvent() 120 doFling(vel); in processEvent()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | KeyboardView.java | 1487 float vel = (dist/dur) * units; in computeCurrentVelocity() local 1488 if (accumX == 0) accumX = vel; in computeCurrentVelocity() 1489 else accumX = (accumX + vel) * .5f; in computeCurrentVelocity() 1492 vel = (dist/dur) * units; in computeCurrentVelocity() 1493 if (accumY == 0) accumY = vel; in computeCurrentVelocity() 1494 else accumY = (accumY + vel) * .5f; in computeCurrentVelocity()
|