Code example for LinearInterpolator

0
        boolean reverse = true; 
 
        RotateVertical3DAnimation rotation = new RotateVertical3DAnimation(fromDegrees, toDegrees, centerX, centerY, depthZ, reverse, shadow1, shadow2); 
        rotation.setDuration(duration); 
        rotation.setFillAfter(false); 
        rotation.setInterpolator(new LinearInterpolator()); 
        return rotation; 
    } 
 
}