HomeSort by relevance Sort by last modified time
    Searched refs:xVel (Results 1 - 2 of 2) sorted by null

  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PanelView.java 454 float vel = 0, yVel = 0, xVel = 0;
464 xVel = mVelocityTracker.getXVelocity();
465 if (xVel < 0) {
466 xVel = -xVel;
468 if (xVel > mFlingGestureMaxXVelocityPx) {
469 xVel = mFlingGestureMaxXVelocityPx; // limit how much we care about the x axis
472 vel = (float)Math.hypot(yVel, xVel);
496 xVel, yVel,
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 333 float xVel = ps.mXVelocity * (1000 / 60);
335 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint);
351 xVel = ps.mAltXVelocity * (1000 / 60);
353 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint);
    [all...]

Completed in 55 milliseconds