Пример #1
0
 /**
  * Animates the drawing / rendering of the chart on both x- and y-axis with the specified
  * animation time. If animate(...) is called, no further calling of invalidate() is necessary to
  * refresh the chart. ANIMATIONS ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
  *
  * @param durationMillisX
  * @param durationMillisY
  * @param easingX a predefined easing option
  * @param easingY a predefined easing option
  */
 public void animateXY(
     int durationMillisX,
     int durationMillisY,
     Easing.EasingOption easingX,
     Easing.EasingOption easingY) {
   mAnimator.animateXY(durationMillisX, durationMillisY, easingX, easingY);
 }
Пример #2
0
 /**
  * Animates the drawing / rendering of the chart on both x- and y-axis with the specified
  * animation time. If animate(...) is called, no further calling of invalidate() is necessary to
  * refresh the chart. ANIMATIONS ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
  *
  * @param durationMillisX
  * @param durationMillisY
  */
 public void animateXY(int durationMillisX, int durationMillisY) {
   mAnimator.animateXY(durationMillisX, durationMillisY);
 }