Home | History | Annotate | Download | only in animation

Lines Matching refs:target

26  * This subclass of {@link ValueAnimator} provides support for animating properties on target objects.
27 * The constructors of this class take parameters to define the target object that will be animated
45 // The target object on which the property exists, set in the constructor
56 * in a call to the function <code>setFoo()</code> on the target object. If either
89 // New property/values/target should cause re-initialization prior to starting
114 // New property/values/target should cause re-initialization prior to starting
122 * in a call to the function <code>setFoo()</code> on the target object. If either
139 * Private utility constructor that initializes the target object and name of the
142 * @param target The object whose property is to be animated. This object should
147 private ObjectAnimator(Object target, String propertyName) {
148 mTarget = target;
153 * Private utility constructor that initializes the target object and property being animated.
155 * @param target The object whose property is to be animated.
158 private <T> ObjectAnimator(T target, Property<T, ?> property) {
159 mTarget = target;
170 * @param target The object whose property is to be animated. This object should
177 public static ObjectAnimator ofInt(Object target, String propertyName, int... values) {
178 ObjectAnimator anim = new ObjectAnimator(target, propertyName);
190 * @param target The object whose property is to be 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
215 public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) {
216 ObjectAnimator anim = new ObjectAnimator(target, propertyName);
228 * @param target The object whose property is to be 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
257 public static ObjectAnimator ofObject(Object target, String propertyName,
259 ObjectAnimator anim = new ObjectAnimator(target, propertyName);
272 * @param target The object whose property is to be animated.
280 public static <T, V> ObjectAnimator ofObject(T target, Property<T, V> property,
282 ObjectAnimator anim = new ObjectAnimator(target, property);
294 * @param target The object whose property is to be animated. Depending on how the
295 * PropertyValuesObjects were constructed, the target object should either have the {@link
297 * PropertyValuesHOlder objects were created with property names) the target object should have
305 public static ObjectAnimator ofPropertyValuesHolder(Object target,
308 anim.mTarget = target;
361 Log.d("ObjectAnimator", "Anim target, duration: " + mTarget + ", " + getDuration());
405 * <code>ObjectAnimator.ofInt(target, propertyName, 0, 10).setDuration(500).start()</code>.
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
426 * @param target The object being animated
429 public void setTarget(Object target) {
430 if (mTarget != target) {
432 mTarget = target;
433 if (oldTarget != null && target != null && oldTarget.getClass() == target.getClass()) {
436 // New target type should cause re-initialization prior to starting
488 String returnVal = "ObjectAnimator@" + Integer.toHexString(hashCode()) + ", target " +