Lines Matching refs:values

55      * a setter function that will be called to set animated values.
62 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
90 // New property/values/target should cause re-initialization prior to starting
115 // New property/values/target should cause re-initialization prior to starting
121 * a setter function that will be called to set animated values.
193 * Constructs and returns an ObjectAnimator that animates between int values. A single
194 * value implies that that value is the one being animated to. Two values imply a starting
195 * and ending values. More than two values imply a starting value, values to animate through
196 * along the way, and an ending value (these values will be distributed evenly across
203 * @param values A set of values that the animation will animate between over time.
204 * @return An ObjectAnimator object that is set up to animate between the given values.
206 public static ObjectAnimator ofInt(Object target, String propertyName, int... values) {
208 anim.setIntValues(values);
213 * Constructs and returns an ObjectAnimator that animates between int values. A single
214 * value implies that that value is the one being animated to. Two values imply a starting
215 * and ending values. More than two values imply a starting value, values to animate through
216 * along the way, and an ending value (these values will be distributed evenly across
221 * @param values A set of values that the animation will animate between over time.
222 * @return An ObjectAnimator object that is set up to animate between the given values.
224 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) {
226 anim.setIntValues(values);
231 * Constructs and returns an ObjectAnimator that animates between float values. A single
232 * value implies that that value is the one being animated to. Two values imply a starting
233 * and ending values. More than two values imply a starting value, values to animate through
234 * along the way, and an ending value (these values will be distributed evenly across
241 * @param values A set of values that the animation will animate between over time.
242 * @return An ObjectAnimator object that is set up to animate between the given values.
244 public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) {
246 anim.setFloatValues(values);
251 * Constructs and returns an ObjectAnimator that animates between float values. A single
252 * value implies that that value is the one being animated to. Two values imply a starting
253 * and ending values. More than two values imply a starting value, values to animate through
254 * along the way, and an ending value (these values will be distributed evenly across
259 * @param values A set of values that the animation will animate between over time.
260 * @return An ObjectAnimator object that is set up to animate between the given values.
263 float... values) {
265 anim.setFloatValues(values);
270 * Constructs and returns an ObjectAnimator that animates between Object values. A single
271 * value implies that that value is the one being animated to. Two values imply a starting
272 * and ending values. More than two values imply a starting value, values to animate through
273 * along the way, and an ending value (these values will be distributed evenly across
281 * provide the necessary interpolation between the Object values to derive the animated
283 * @param values A set of values that the animation will animate between over time.
284 * @return An ObjectAnimator object that is set up to animate between the given values.
287 TypeEvaluator evaluator, Object... values) {
289 anim.setObjectValues(values);
295 * Constructs and returns an ObjectAnimator that animates between Object values. A single
296 * value implies that that value is the one being animated to. Two values imply a starting
297 * and ending values. More than two values imply a starting value, values to animate through
298 * along the way, and an ending value (these values will be distributed evenly across
304 * provide the necessary interpolation between the Object values to derive the animated
306 * @param values A set of values that the animation will animate between over time.
307 * @return An ObjectAnimator object that is set up to animate between the given values.
310 TypeEvaluator<V> evaluator, V... values) {
312 anim.setObjectValues(values);
318 * Constructs and returns an ObjectAnimator that animates between the sets of values specified
321 * you to associate a set of animation values with a property name.
330 * @param values A set of PropertyValuesHolder objects whose values will be animated between
332 * @return An ObjectAnimator object that is set up to animate between the given values.
335 PropertyValuesHolder... values) {
338 anim.setValues(values);
343 public void setIntValues(int... values) {
345 // No values yet - this animator is being constructed piecemeal. Init the values with
348 setValues(PropertyValuesHolder.ofInt(mProperty, values));
350 setValues(PropertyValuesHolder.ofInt(mPropertyName, values));
353 super.setIntValues(values);
358 public void setFloatValues(float... values) {
360 // No values yet - this animator is being constructed piecemeal. Init the values with
363 setValues(PropertyValuesHolder.ofFloat(mProperty, values));
365 setValues(PropertyValuesHolder.ofFloat(mPropertyName, values));
368 super.setFloatValues(values);
373 public void setObjectValues(Object... values) {
375 // No values yet - this animator is being constructed piecemeal. Init the values with
378 setValues(PropertyValuesHolder.ofObject(mProperty, (TypeEvaluator) null, values));
381 (TypeEvaluator) null, values));
384 super.setObjectValues(values);