Home | History | Annotate | Download | only in statusbar

Lines Matching refs:velocity

74      * @param velocity the current velocity of the motion
76 public void apply(Animator animator, float currValue, float endValue, float velocity) {
77 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
87 * @param velocity the current velocity of the motion
90 float velocity) {
91 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
101 * @param velocity the current velocity of the motion
105 public void apply(Animator animator, float currValue, float endValue, float velocity,
107 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
120 * @param velocity the current velocity of the motion
125 float velocity, float maxDistance) {
126 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
133 float endValue, float velocity, float maxDistance) {
137 float velAbs = Math.abs(velocity);
143 // Cross fade between fast-out-slow-in and linear interpolator with current velocity.
152 // Just use a normal interpolator which doesn't take the velocity into account.
168 * @param velocity the current velocity of the motion
173 float velocity, float maxDistance) {
174 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
188 * @param velocity the current velocity of the motion
193 float velocity, float maxDistance) {
194 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
201 float velocity, float maxDistance) {
205 float velAbs = Math.abs(velocity);
216 // velocity.
225 // Just use a normal interpolator which doesn't take the velocity into account.
235 * velocity. The faster the velocity, the more "linear" the interpolator gets.
237 * @param velocity the velocity of the gesture.
240 private float calculateLinearOutFasterInY2(float velocity) {
241 float t = (velocity - mMinVelocityPxPerSecond)
248 * @return the minimum velocity a gesture needs to have to be considered a fling
279 * An interpolator which interpolates with a fixed velocity.
287 private VelocityInterpolator(float durationSeconds, float velocity, float diff) {
289 mVelocity = velocity;