Home | History | Annotate | Download | only in animation

Lines Matching refs:property

20 import android.util.Property;
28 * as well as the name of the property that will be animated. Appropriate set/get functions
30 * animate the property.
35 * <a href="{@docRoot}guide/topics/graphics/prop-animation.html#object-animator">Property
45 // The target object on which the property exists, set in the constructor
50 private Property mProperty;
53 * Sets the name of the property that will be animated. This name is used to derive
55 * For example, a property name of <code>foo</code> will result
61 * name of the property being animated, use <code>float</code> or <code>int</code> typed values,
64 * property types and return types will work, but will have more overhead in processing
67 * <p>Note that the setter function derived from this property name
76 * @param propertyName The name of the property being animated. Should not be null.
89 // New property/values/target should cause re-initialization prior to starting
94 * Sets the property that will be animated. Property objects will take precedence over
98 * @param property The property being animated. Should not be null.
100 public void setProperty(Property property) {
106 valuesHolder.setProperty(property);
111 mPropertyName = property.getName();
113 mProperty = property;
114 // New property/values/target should cause re-initialization prior to starting
119 * Gets the name of the property that will be animated. This name will be used to derive
121 * For example, a property name of <code>foo</code> will result
140 * property being animated.
142 * @param target The object whose property is to be animated. This object should
145 * @param propertyName The name of the property being animated.
153 * Private utility constructor that initializes the target object and property being animated.
155 * @param target The object whose property is to be animated.
156 * @param property The property being animated.
158 private <T> ObjectAnimator(T target, Property<T, ?> property) {
160 setProperty(property);
170 * @param target The object whose property is to be animated. This object should
173 * @param propertyName The name of the property being animated.
190 * @param target The object whose property is to be animated.
191 * @param property The property being animated.
195 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) {
196 ObjectAnimator anim = new ObjectAnimator(target, property);
208 * @param target The object whose property is to be animated. This object should
211 * @param propertyName The name of the property being animated.
228 * @param target The object whose property is to be animated.
229 * @param property The property being animated.
233 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property,
235 ObjectAnimator anim = new ObjectAnimator(target, property);
247 * @param target The object whose property is to be animated. This object should
250 * @param propertyName The name of the property being animated.
272 * @param target The object whose property is to be animated.
273 * @param property The property being animated.
280 public static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property,
282 ObjectAnimator anim = new ObjectAnimator(target, property);
292 * you to associate a set of animation values with a property name.
294 * @param target The object whose property is to be animated. Depending on how the
296 * android.util.Property} objects used to construct the PropertyValuesHolder objects or (if the
297 * PropertyValuesHOlder objects were created with property names) the target object should have
299 * the property passed in as the <code>propertyName</code> parameter for each of the
415 * The target object whose property will be animated by this animation
424 * Sets the target object whose property will be animated by this animation
464 * function is called, to set the final value on the property.