Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFlingToDeleteHelper.java95 PointF vel = isFlingingToDelete(); in getFlingAnimation() local
96 options.isFlingToDelete = vel != null; in getFlingAnimation()
100 return new FlingAnimation(dragObject, vel, mDropTarget, mLauncher, options); in getFlingAnimation()
115 PointF vel = new PointF(mVelocityTracker.getXVelocity(), mVelocityTracker.getYVelocity()); in isFlingingToDelete() local
120 theta = getAngleBetweenVectors(vel, upVec); in isFlingingToDelete()
125 theta = getAngleBetweenVectors(vel, leftVec); in isFlingingToDelete()
128 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/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.java44 public FlingAnimation(DragObject d, PointF vel, ButtonDropTarget dropTarget, Launcher launcher, in FlingAnimation() argument
49 mUX = vel.x / 1000; in FlingAnimation()
50 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.java284 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/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.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...
Dlv_wordlist.combined.gz
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1393228136 ...
Dhr_wordlist.combined.gz1dictionary=main:hr,locale=hr,description=Hrvatski,date=1393228135, ...
Des_wordlist.combined.gz1dictionary=main:es,locale=es,description=Español,date=1414726268, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...
Dro_wordlist.combined.gz
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
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, ...
Dtr_wordlist.combined.gz
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...
Dnl_wordlist.combined.gz
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...