Lines Matching refs:value
20 * <p>FloatValueHolder holds a float value. FloatValueHolder provides a setter and a getter (
21 * i.e. {@link #setValue(float)} and {@link #getValue()}) to access this float value. Animations can
23 * FloatValueHolder will have its value updated via {@link #setValue(float)}. The caller can
24 * obtain the up-to-date animation value via {@link FloatValueHolder#getValue()}.
43 * Constructs a holder for a float value that is initialized to 0.
49 * Constructs a holder for a float value that is initialized to the input value.
51 * @param value the value to initialize the value held in the FloatValueHolder
53 public FloatValueHolder(float value) {
54 setValue(value);
58 * Sets the value held in the FloatValueHolder instance.
60 * @param value float value held in the FloatValueHolder instance
62 public void setValue(float value) {
63 mValue = value;
67 * Returns the float value held in the FloatValueHolder instance.
69 * @return float value held in the FloatValueHolder instance