CycleInterpolator

Class of android.view.animation · CycleInterpolator.java · Android's reference

public class CycleInterpolator extends BaseInterpolator

CycleInterpolator ← BaseInterpolator

A rate that repeats a sine wave a number of cycles.

Constructors

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

Methods

public float getInterpolation(float input) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.