# Print output for @column tags ?> CycleInterpolator - Android SDK | Android Developers

Most visited

Recently visited

CycleInterpolator

public class CycleInterpolator
extends BaseInterpolator

java.lang.Object
   ↳ android.view.animation.BaseInterpolator
     ↳ android.view.animation.CycleInterpolator


Repeats the animation for a specified number of cycles. The rate of change follows a sinusoidal pattern.

Summary

Public constructors

CycleInterpolator(float cycles)
CycleInterpolator(Context context, AttributeSet attrs)

Public methods

float getInterpolation(float input)

Inherited methods

Public constructors

CycleInterpolator

public CycleInterpolator (float cycles)

Parameters
cycles float

CycleInterpolator

public CycleInterpolator (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

Public methods

getInterpolation

public float getInterpolation (float input)

Parameters
input float

Returns
float