Home | History | Annotate | Download | only in phone

Lines Matching defs:vel

526         flingSettings(0 /* vel */, false);
544 public void fling(float vel, boolean expand) {
547 gr.tag("fling " + ((vel > 0) ? "open" : "closed"), "notifications,v=" + vel);
549 super.fling(vel, expand);
553 protected void flingToHeight(float vel, boolean expand, float target,
559 super.flingToHeight(vel, expand, target, collapseSpeedUpFactor, expandBecauseOfFalsing);
687 float vel = getCurrentVelocity();
688 final boolean expandsQs = flingExpandsQs(vel);
692 flingSettings(vel, expandsQs && !isCancelMotionEvent);
696 float vel = getCurrentVelocity();
703 (int) (vel / mStatusBar.getDisplayDensity()));
706 private boolean flingExpandsQs(float vel) {
710 if (Math.abs(vel) < mFlingAnimationUtils.getMinVelocityPxPerSecond()) {
713 return vel > 0;
847 protected boolean flingExpands(float vel, float vectorVel, float x, float y) {
848 boolean expands = super.flingExpands(vel, vectorVel, x, y);
1303 public void flingSettings(float vel, boolean expand) {
1304 flingSettings(vel, expand, null, false /* isClick */);
1307 private void flingSettings(float vel, boolean expand, final Runnable onFinishRunnable,
1318 vel = 0;
1325 mFlingAnimationUtils.apply(animator, mQsExpansionHeight, target, vel);
1790 flingSettings(0 /* vel */, false /* expand */, null, true /* isClick */);
1795 flingSettings(0 /* vel */, true /* expand */, null, true /* isClick */);
1801 public void onAnimationToSideStarted(boolean rightPage, float translation, float vel) {
1807 int velocityDp = Math.abs((int) (vel / displayDensity));