Searched refs:xVel (Results 1 – 2 of 2) sorted by relevance
1478 float xVel = mVelocityTracker.getXVelocity(); in interceptTouchEvent()1479 if (xVel < 0) { in interceptTouchEvent()1480 xVel = -xVel; in interceptTouchEvent()1482 if (xVel > mFlingGestureMaxXVelocityPx) { in interceptTouchEvent()1483 xVel = mFlingGestureMaxXVelocityPx; // limit how much we care about the x axis in interceptTouchEvent()1486 float vel = (float)Math.hypot(yVel, xVel); in interceptTouchEvent()1495 xVel, yVel, in interceptTouchEvent()
303 float xVel = ps.mXVelocity * (1000 / 60); in onDraw() local305 canvas.drawLine(lastX, lastY, lastX + xVel, lastY + yVel, mPaint); in onDraw()