Lines Matching refs:velocity

104      * @param velocity the current velocity of the motion
106 public void apply(Animator animator, float currValue, float endValue, float velocity) {
107 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
117 * @param velocity the current velocity of the motion
120 float velocity) {
121 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
131 * @param velocity the current velocity of the motion
135 public void apply(Animator animator, float currValue, float endValue, float velocity,
137 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
150 * @param velocity the current velocity of the motion
155 float velocity, float maxDistance) {
156 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
163 float endValue, float velocity, float maxDistance) {
167 float velAbs = Math.abs(velocity);
178 // Cross fade between fast-out-slow-in and linear interpolator with current velocity.
187 // Just use a normal interpolator which doesn't take the velocity into account.
216 * @param velocity the current velocity of the motion
221 float velocity, float maxDistance) {
222 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
236 * @param velocity the current velocity of the motion
241 float velocity, float maxDistance) {
242 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
249 float velocity, float maxDistance) {
253 float velAbs = Math.abs(velocity);
264 // velocity.
273 // Just use a normal interpolator which doesn't take the velocity into account.
283 * velocity. The faster the velocity, the more "linear" the interpolator gets.
285 * @param velocity the velocity of the gesture.
288 private float calculateLinearOutFasterInY2(float velocity) {
289 float t = (velocity - mMinVelocityPxPerSecond)
296 * @return the minimum velocity a gesture needs to have to be considered a fling
327 * An interpolator which interpolates with a fixed velocity.
335 private VelocityInterpolator(float durationSeconds, float velocity, float diff) {
337 mVelocity = velocity;