Home | History | Annotate | Download | only in statusbar

Lines Matching refs:velocity

73      * @param velocity the current velocity of the motion
75 public void apply(Animator animator, float currValue, float endValue, float velocity) {
76 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
86 * @param velocity the current velocity of the motion
89 float velocity) {
90 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
100 * @param velocity the current velocity of the motion
104 public void apply(Animator animator, float currValue, float endValue, float velocity,
106 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
119 * @param velocity the current velocity of the motion
124 float velocity, float maxDistance) {
125 AnimatorProperties properties = getProperties(currValue, endValue, velocity,
132 float endValue, float velocity, float maxDistance) {
136 float velAbs = Math.abs(velocity);
142 // Cross fade between fast-out-slow-in and linear interpolator with current velocity.
151 // Just use a normal interpolator which doesn't take the velocity into account.
167 * @param velocity the current velocity of the motion
172 float velocity, float maxDistance) {
173 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
187 * @param velocity the current velocity of the motion
192 float velocity, float maxDistance) {
193 AnimatorProperties properties = getDismissingProperties(currValue, endValue, velocity,
200 float velocity, float maxDistance) {
204 float velAbs = Math.abs(velocity);
215 // velocity.
224 // Just use a normal interpolator which doesn't take the velocity into account.
234 * velocity. The faster the velocity, the more "linear" the interpolator gets.
236 * @param velocity the velocity of the gesture.
239 private float calculateLinearOutFasterInY2(float velocity) {
240 float t = (velocity - mMinVelocityPxPerSecond)
247 * @return the minimum velocity a gesture needs to have to be considered a fling
278 * An interpolator which interpolates with a fixed velocity.
286 private VelocityInterpolator(float durationSeconds, float velocity, float diff) {
288 mVelocity = velocity;