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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java62 public void fling(float vel, boolean always) { argument
66 "fling " + ((vel > 0) ? "open" : "closed"),
67 "notifications,v=" + vel);
69 super.fling(vel, always);
H A DSettingsPanelView.java103 public void fling(float vel, boolean always) { argument
107 "fling " + ((vel > 0) ? "open" : "closed"),
108 "settings,v=" + vel);
110 super.fling(vel, always);
H A DPanelView.java454 float vel = 0, yVel = 0, xVel = 0;
472 vel = (float)Math.hypot(yVel, xVel);
473 if (vel > mFlingGestureMaxOutputVelocityPx) {
474 vel = mFlingGestureMaxOutputVelocityPx;
485 || vel < mFlingExpandMinVelocityPx
487 vel = 0;
491 vel = -vel;
494 if (DEBUG) logf("gesture: dy=%f vel=(%f,%f) vlinear=%f",
497 vel);
508 fling(float vel, boolean always) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNotificationRowLayout.java254 public void dismissRowAnimated(View child, int vel) { argument
255 mSwipeHelper.dismissChild(child, vel);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPagedView.java2395 PointF vel = new PointF(mVelocityTracker.getXVelocity(),
2398 float theta = (float) Math.acos(((vel.x * upVec.x) + (vel.y * upVec.y)) /
2399 (vel.length() * upVec.length()));
2401 return vel;
2421 public FlingAlongVectorAnimatorUpdateListener(View dragView, PointF vel, Rect from, argument
2424 mVelocity = vel;
2540 public void onFlingToDelete(PointF vel) { argument
2573 AnimatorUpdateListener updateCb = new FlingAlongVectorAnimatorUpdateListener(dragView, vel,
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1538 float vel = (dist/dur) * units; // pixels/frame.
1539 if (accumX == 0) accumX = vel;
1540 else accumX = (accumX + vel) * .5f;
1543 vel = (dist/dur) * units; // pixels/frame.
1544 if (accumY == 0) accumY = vel;
1545 else accumY = (accumY + vel) * .5f;
/frameworks/base/core/java/android/widget/
H A DAbsListView.java4150 final int vel = (int) mScroller.getCurrVelocity();
4152 mEdgeGlowTop.onAbsorb(vel);
4154 mEdgeGlowBottom.onAbsorb(vel);

Completed in 145 milliseconds