Java tutorial
//package com.java2s; //License from project: Apache License import android.animation.Animator; import android.animation.ValueAnimator; import android.view.animation.AccelerateInterpolator; public class Main { public static Animator animFlow(android.animation.ValueAnimator.AnimatorUpdateListener animatorupdatelistener) { ValueAnimator valueanimator = ValueAnimator.ofFloat(new float[] { 0.0F, 1.0F }); valueanimator.setInterpolator(new AccelerateInterpolator()); valueanimator.addUpdateListener(animatorupdatelistener); return valueanimator; } }