コード例 #1
0
  @Override
  protected void applyTransformation(float interpolatedTime, Transformation t) {
    super.applyTransformation(interpolatedTime, t);
    float value = (from + (to - from) * interpolatedTime);

    if (mChangeDrawnRadius) {
      mCircleView.setRadiusDrawn(value);
    } else {
      mCircleView.setRadius(value);
    }
  }