Home | History | Annotate | Download | only in allapps

Lines Matching defs:velocity

27      * The minimum release velocity in pixels per millisecond that triggers fling..
32 * The time constant used to calculate dampening in the low-pass filter of scroll velocity.
118 boolean onDrag(float displacement, float velocity);
120 void onDragEnd(float velocity, boolean fling);
222 Log.d(TAG, String.format("onDrag disp=%.1f, velocity=%.1f",
233 Log.d(TAG, String.format("onScrolEnd disp=%.1f, velocity=%.1f",
241 * Computes the damped velocity using the two motion events and the previous velocity.
252 float velocity = (deltaTimeMillis > 0) ? (delta / deltaTimeMillis) : 0;
254 mVelocity = velocity;
257 mVelocity = interpolate(mVelocity, velocity, alpha);