Home | History | Annotate | Download | only in notification

Lines Matching refs:velocity

107      * @param velocity the current velocity of the motion
109 public void apply(Animator animator, float currValue, float endValue, float velocity) {
110 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
120 * @param velocity the current velocity of the motion
123 float velocity) {
124 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
134 * @param velocity the current velocity of the motion
138 public void apply(Animator animator, float currValue, float endValue, float velocity,
140 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
153 * @param velocity the current velocity of the motion
158 float velocity, float maxDistance) {
159 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
166 float endValue, float velocity, float maxDistance) {
170 float velAbs = Math.abs(velocity);
181 // Cross fade between fast-out-slow-in and linear interpolator with current velocity.
190 // Just use a normal interpolator which doesn't take the velocity into account.
219 * @param velocity the current velocity of the motion
224 float velocity, float maxDistance) {
225 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
239 * @param velocity the current velocity of the motion
244 float velocity, float maxDistance) {
245 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
252 float velocity, float maxDistance) {
256 float velAbs = Math.abs(velocity);
267 // velocity.
276 // Just use a normal interpolator which doesn't take the velocity into account.
286 * velocity. The faster the velocity, the more "linear" the interpolator gets.
288 * @param velocity the velocity of the gesture.
291 private float calculateLinearOutFasterInY2(float velocity) {
292 float t = (velocity - mMinVelocityPxPerSecond)
299 * @return the minimum velocity a gesture needs to have to be considered a fling
330 * An interpolator which interpolates with a fixed velocity.
338 private VelocityInterpolator(float durationSeconds, float velocity, float diff) {
340 mVelocity = velocity;