Adjacent Files

Project Info

. > slideactionview > src > main > java > me > jfenn > slideactionview > utils > anim > AnimatedFloat.java

[AnimatedValue](https://github.com/fennifith/SlideActionView/blob/master/slideactionview/src/main/java/me/jfenn/slideactionview/utils/anim/AnimatedFloat.java#L4)

Type: public class AnimatedFloat extends

The AnimatedFloat class animates a float, to a granularity of 0.1f. That is, if the difference between the target and current value is less than 0.1, it will be ignored and the animation will be regarded as complete.

nextVal

Type: @Override public Float

Get the next value about to be drawn, without setting the current value to it.

Parameter Name Description
start The time at which the animation started, in milliseconds.
duration The duration, in milliseconds, that the animation should take.

Returned Value: The next value.

This site may do shady things with cookies and stuff because it's evil. Please don't read my privacy policy. close