Code example for CycleInterpolator

0
		mPaint.setStyle(Paint.Style.STROKE);
		mPaint.setStrokeJoin(Paint.Join.ROUND);
		mPaint.setStrokeCap(Paint.Cap.ROUND);
		mPaint.setStrokeWidth(1);
		mHandler = new Handler();
		mInterpolator = new CycleInterpolator(1.0f);
	} 
 
	/** 
	 * Render 
	 *  
	 * @see android.view.View#onDraw(android.graphics.Canvas) 
	 */ 
	double[] factors = new double[] { 0.01, 0.03, 0.05, 0.07, 0.09, 0.11, 0.13, 0.15, 0.25, 0.5, 1.0, 0.5, 0.25, 0.15,
			0.13, 0.11, 0.09, 0.07, 0.05, 0.03, 0.01 }; 
 
	@Override 
	protected void onDraw(Canvas canvas) {
		super.onDraw(canvas);
		int color = 0x0000ff;
		for (int i = 0; i < factors.length; i++) {