Android Reference
CycleInterpolator
android.view.animation
Class CycleInterpolator
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
float |
getInterpolation(float input)
Maps a value representing the elapsed fraction of an animation to a value that represents
the interpolated fraction.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getInterpolation
public float getInterpolation(float input)
Maps a value representing the elapsed fraction of an animation to a value that represents
the interpolated fraction. This interpolated value is then multiplied by the change in
value of an animation to derive the animated value at the current elapsed animation time.
- Specified by:
getInterpolation
in interface TimeInterpolator
- Parameters:
input
- A value between 0 and 1.0 indicating our current point
in the animation where 0 represents the start and 1.0 represents
the end
- Returns:
- The interpolation value. This value can be more than 1.0 for
interpolators which overshoot their targets, or less than 0 for
interpolators that undershoot their targets.
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 478 / 159178297. Delta: 0.00179 с