Code example for DecelerateInterpolator

0
					0.5f); 
 
			retval.setDuration(500);
			retval.setFillEnabled(true);
			retval.setFillAfter(true);
			retval.setInterpolator(new DecelerateInterpolator());
		} 
 
		return retval;
	} 
	 
	public static int toDegrees(Side side){
		int degree = 0;
		switch(side){
		case TOP:
			degree = 0;
			break; 
		case RIGHT:
			degree = 90;
			break; 
Contextual code suggestions in your IDE  Get Codota for Java