Searched refs:vel (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelView.java372 float vel = 0f;
376 vel = mVelocityTracker.getYVelocity();
380 boolean expand = flingExpands(vel, vectorVel, x, y)
390 int velocityDp = (int) Math.abs(vel / displayDensity);
395 fling(vel, expand, isFalseTouch(x, y));
399 mUpdateFlingVelocity = vel;
575 * @param vel the current vertical velocity of the motion
579 protected boolean flingExpands(float vel, float vectorVel, float x, float y) { argument
586 return vel > 0;
608 protected void fling(float vel, boolea argument
612 fling(float vel, boolean expand, boolean expandBecauseOfFalsing) argument
616 fling(float vel, boolean expand, float collapseSpeedUpFactor, boolean expandBecauseOfFalsing) argument
626 flingToHeight(float vel, boolean expand, float target, float collapseSpeedUpFactor, boolean expandBecauseOfFalsing) argument
[all...]
H A DKeyguardAffordanceHelper.java322 float vel = getCurrentVelocity(lastX, lastY);
328 boolean velIsInWrongDirection = vel * mTranslation < 0;
329 snapBack |= Math.abs(vel) > mMinFlingVelocity && velIsInWrongDirection;
330 vel = snapBack ^ velIsInWrongDirection ? 0 : vel;
331 fling(vel, snapBack || forceSnapBack, mTranslation < 0);
343 private void fling(float vel, final boolean snapBack, boolean right) { argument
349 mFlingAnimationUtils.apply(animator, mTranslation, target, vel);
358 startFinishingCircleAnimation(vel * 0.375f, mAnimationEndRunnable, right);
359 mCallback.onAnimationToSideStarted(right, mTranslation, vel);
555 onAnimationToSideStarted(boolean rightPage, float translation, float vel) argument
[all...]
H A DNotificationPanelView.java505 flingSettings(0 /* vel */, false);
523 public void fling(float vel, boolean expand) { argument
526 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel);
528 super.fling(vel, expand);
532 protected void flingToHeight(float vel, boolean expand, float target, argument
536 super.flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
675 float vel = getCurrentVelocity();
676 final boolean expandsQs = flingExpandsQs(vel);
680 flingSettings(vel, expandsQ
694 flingExpandsQs(float vel) argument
827 flingExpands(float vel, float vectorVel, float x, float y) argument
1411 flingSettings(float vel, boolean expand) argument
1415 flingSettings(float vel, boolean expand, final Runnable onFinishRunnable, boolean isClick) argument
1936 onAnimationToSideStarted(boolean rightPage, float translation, float vel) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1543 float vel = (dist/dur) * units; // pixels/frame.
1544 if (accumX == 0) accumX = vel;
1545 else accumX = (accumX + vel) * .5f;
1548 vel = (dist/dur) * units; // pixels/frame.
1549 if (accumY == 0) accumY = vel;
1550 else accumY = (accumY + vel) * .5f;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java3959 final int vel = (int) scroller.getCurrVelocity();
3963 velX = overscrollX < 0 ? -vel : overscrollX > 0 ? vel : 0;
3968 velY = overscrollY < 0 ? -vel : overscrollY > 0 ? vel : 0;
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4497 final int vel = (int) mScroller.getCurrVelocity();
4499 mEdgeGlowTop.onAbsorb(vel);
4501 mEdgeGlowBottom.onAbsorb(vel);

Completed in 237 milliseconds