Home
last modified time | relevance | path

Searched refs:vel (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Launcher2/src/com/android/launcher2/
DDeleteDropTarget.java267 DragObject d, PointF vel, ViewConfiguration config) { in createFlingToTrashAnimatorListener() argument
275 float velocity = Math.abs(vel.length()); in createFlingToTrashAnimatorListener()
278 int offsetX = (int) (offsetY / (vel.y / vel.x)); in createFlingToTrashAnimatorListener()
332 public FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from,
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) {
424 updateCb = createFlingToTrashAnimatorListener(dragLayer, d, vel, config);
426 updateCb = createFlingAlongVectorAnimatorListener(dragLayer, d, vel, startTime,
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) {
664 vel);
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFlingToDeleteHelper.java95 PointF vel = isFlingingToDelete(); in getFlingAnimation() local
96 if (vel == null) { in getFlingAnimation()
99 return new FlingAnimation(dragObject, vel, mDropTarget, mLauncher); in getFlingAnimation()
114 PointF vel = new PointF(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in isFlingingToDelete() local
119 theta = getAngleBetweenVectors(vel, upVec); in isFlingingToDelete()
124 theta = getAngleBetweenVectors(vel, leftVec); in isFlingingToDelete()
127 return vel; in isFlingingToDelete()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java358 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity() local
364 boolean velIsInWrongDirection = vel * translation < 0; in flingWithCurrentVelocity()
365 snapBack |= Math.abs(vel) > minFlingVelocity && velIsInWrongDirection; in flingWithCurrentVelocity()
366 vel = snapBack ^ velIsInWrongDirection ? 0 : vel; in flingWithCurrentVelocity()
367 fling(vel, snapBack || forceSnapBack, translation < 0); in flingWithCurrentVelocity()
379 private void fling(float vel, final boolean snapBack, boolean right) { in fling() argument
385 flingAnimationUtils.apply(animator, translation, target, vel); in fling()
395 startFinishingCircleAnimation(vel * 0.375f, new AnimationEndRunnable(right), right); in fling()
396 callback.onAnimationToSideStarted(right, translation, vel); in fling()
620 void onAnimationToSideStarted(boolean rightPage, float translation, float vel); in onAnimationToSideStarted() argument
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthListView.java118 float vel = mTracker.getYVelocity (); in processEvent() local
119 if (Math.abs(vel) > MIN_VELOCITY_FOR_FLING) { in processEvent()
120 doFling(vel); in processEvent()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownTouchHandler.java298 float vel = 0f; in endMotionEvent() local
302 vel = velocityTracker.getYVelocity(); in endMotionEvent()
306 vel); in endMotionEvent()
319 fling(vel, target, falseTouch); in endMotionEvent()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlingAnimation.java40 … public FlingAnimation(DragObject d, PointF vel, ButtonDropTarget dropTarget, Launcher launcher) { in FlingAnimation() argument
44 mUX = vel.x / 1000; in FlingAnimation()
45 mUY = vel.y / 1000; in FlingAnimation()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAffordanceHolderLayout.java54 boolean rightPage, float translation, float vel) { in AffordanceHolderLayout()
56 affordanceCallback.onAnimationToSideStarted(rightPage, translation, vel); in AffordanceHolderLayout()
DAnswerFragment.java268 public void onAnimationToSideStarted(boolean rightPage, float translation, float vel) {}
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java1585 float vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity() local
1586 if (accumX == 0) accumX = vel; in computeCurrentVelocity()
1587 else accumX = (accumX + vel) * .5f; in computeCurrentVelocity()
1590 vel = (dist/dur) * units; // pixels/frame. in computeCurrentVelocity()
1591 if (accumY == 0) accumY = vel; in computeCurrentVelocity()
1592 else accumY = (accumY + vel) * .5f; in computeCurrentVelocity()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DKeyboardView.java1487 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()
/packages/inputmethods/LatinIME/dictionaries/
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz
Dlt_wordlist.combined.gz
Dcs_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dhr_wordlist.combined.gz
Des_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dro_wordlist.combined.gz
Dsv_wordlist.combined.gz
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...

12