Ejemplo n.º 1
0
 /**
  * This method will cause the View's <code>alpha</code> property to be animated to the specified
  * value. Animations already running on the property will be canceled.
  *
  * @param value The value to be animated to.
  * @see View#setAlpha(float)
  * @return This object, allowing calls to methods in this class to be chained.
  */
 public ViewPropertyAnimator alpha(float value) {
   animateProperty(ALPHA, value);
   return this;
 }
Ejemplo n.º 2
0
 /**
  * This method will cause the View's <code>scaleY</code> property to be animated to the specified
  * value. Animations already running on the property will be canceled.
  *
  * @param value The value to be animated to.
  * @see View#setScaleY(float)
  * @return This object, allowing calls to methods in this class to be chained.
  */
 public ViewPropertyAnimator scaleY(float value) {
   animateProperty(SCALE_Y, value);
   return this;
 }
Ejemplo n.º 3
0
 /**
  * This method will cause the View's <code>rotationY</code> property to be animated to the
  * specified value. Animations already running on the property will be canceled.
  *
  * @param value The value to be animated to.
  * @see View#setRotationY(float)
  * @return This object, allowing calls to methods in this class to be chained.
  */
 public ViewPropertyAnimator rotationY(float value) {
   animateProperty(ROTATION_Y, value);
   return this;
 }
Ejemplo n.º 4
0
 /**
  * This method will cause the View's <code>translationZ</code> property to be animated to the
  * specified value. Animations already running on the property will be canceled.
  *
  * @param value The value to be animated to.
  * @see View#setTranslationZ(float)
  * @return This object, allowing calls to methods in this class to be chained.
  */
 public ViewPropertyAnimator translationZ(float value) {
   animateProperty(TRANSLATION_Z, value);
   return this;
 }
Ejemplo n.º 5
0
 /**
  * This method will cause the View's <code>z</code> property to be animated to the specified
  * value. Animations already running on the property will be canceled.
  *
  * @param value The value to be animated to.
  * @see View#setZ(float)
  * @return This object, allowing calls to methods in this class to be chained.
  */
 public ViewPropertyAnimator z(float value) {
   animateProperty(Z, value);
   return this;
 }