# R.interpolator

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# interpolator

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/android/R.interpolator "View this page in Java")  

```
class interpolator
```

|---|--------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                   ||
| ↳ | [android.R.interpolator](https://developer.android.com/reference/kotlin/android/R.interpolator#) |

## Summary

|                                                                                                                                                                           Constants                                                                                                                                                                            ||
|----------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [accelerate_cubic](https://developer.android.com/reference/kotlin/android/R.interpolator#accelerate_cubic:kotlin.Int) Acceleration curve matching a cubic ease out function.                                                                                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [accelerate_decelerate](https://developer.android.com/reference/kotlin/android/R.interpolator#accelerate_decelerate:kotlin.Int) Acceleration curve matching an ease in + ease out function                                                                                   |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [accelerate_quad](https://developer.android.com/reference/kotlin/android/R.interpolator#accelerate_quad:kotlin.Int) Acceleration curve matching a quadtratic ease out function.                                                                                              |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [accelerate_quint](https://developer.android.com/reference/kotlin/android/R.interpolator#accelerate_quint:kotlin.Int) Acceleration curve matching a quint ease out function.                                                                                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [anticipate](https://developer.android.com/reference/kotlin/android/R.interpolator#anticipate:kotlin.Int) An interpolator where the change starts backward then flings forward.                                                                                              |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [anticipate_overshoot](https://developer.android.com/reference/kotlin/android/R.interpolator#anticipate_overshoot:kotlin.Int) An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value. |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [bounce](https://developer.android.com/reference/kotlin/android/R.interpolator#bounce:kotlin.Int) An interpolator where the change bounces at the end.                                                                                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [cycle](https://developer.android.com/reference/kotlin/android/R.interpolator#cycle:kotlin.Int) Repeats the animation for one cycle.                                                                                                                                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [decelerate_cubic](https://developer.android.com/reference/kotlin/android/R.interpolator#decelerate_cubic:kotlin.Int) Acceleration curve matching a cubic ease in function.                                                                                                  |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [decelerate_quad](https://developer.android.com/reference/kotlin/android/R.interpolator#decelerate_quad:kotlin.Int) Acceleration curve matching a quadtratic ease in function.                                                                                               |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [decelerate_quint](https://developer.android.com/reference/kotlin/android/R.interpolator#decelerate_quint:kotlin.Int) Acceleration curve matching a quint ease in function.                                                                                                  |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [fast_out_extra_slow_in](https://developer.android.com/reference/kotlin/android/R.interpolator#fast_out_extra_slow_in:kotlin.Int) An interpolator which accelerates fast but decelerates extra slowly.                                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [fast_out_linear_in](https://developer.android.com/reference/kotlin/android/R.interpolator#fast_out_linear_in:kotlin.Int) An interpolator which accelerates fast and keeps accelerating until the end.                                                                       |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [fast_out_slow_in](https://developer.android.com/reference/kotlin/android/R.interpolator#fast_out_slow_in:kotlin.Int) An interpolator which accelerates fast but decelerates slowly.                                                                                         |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [linear](https://developer.android.com/reference/kotlin/android/R.interpolator#linear:kotlin.Int) An interpolator where the rate of change is constant.                                                                                                                      |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [linear_out_slow_in](https://developer.android.com/reference/kotlin/android/R.interpolator#linear_out_slow_in:kotlin.Int) An interpolator which starts with a peak non-zero velocity and decelerates slowly.                                                                 |
| static[Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [overshoot](https://developer.android.com/reference/kotlin/android/R.interpolator#overshoot:kotlin.Int) An interpolator where the change flings forward and overshoots the last value then comes back.                                                                       |

|                                                Public constructors                                                 ||
|-----------------------------------------------------------------------------------------------------------------|---|
| [interpolator](https://developer.android.com/reference/kotlin/android/R.interpolator#interpolator())`()` <br /> |

## Constants

### accelerate_cubic

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val accelerate_cubic: Int
```

Acceleration curve matching a cubic ease out function.  

    Value: 17563650

### accelerate_decelerate

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val accelerate_decelerate: Int
```

Acceleration curve matching an ease in + ease out function  

    Value: 17563654

### accelerate_quad

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val accelerate_quad: Int
```

Acceleration curve matching a quadtratic ease out function.  

    Value: 17563648

### accelerate_quint

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val accelerate_quint: Int
```

Acceleration curve matching a quint ease out function.  

    Value: 17563652

### anticipate

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val anticipate: Int
```

An interpolator where the change starts backward then flings forward.  

    Value: 17563655

### anticipate_overshoot

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val anticipate_overshoot: Int
```

An interpolator where the change starts backward then flings forward and overshoots the target value and finally goes back to the final value.  

    Value: 17563657

### bounce

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val bounce: Int
```

An interpolator where the change bounces at the end.  

    Value: 17563658

### cycle

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val cycle: Int
```

Repeats the animation for one cycle. The rate of change follows a sinusoidal pattern.  

    Value: 17563660

### decelerate_cubic

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val decelerate_cubic: Int
```

Acceleration curve matching a cubic ease in function.  

    Value: 17563651

### decelerate_quad

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val decelerate_quad: Int
```

Acceleration curve matching a quadtratic ease in function.  

    Value: 17563649

### decelerate_quint

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val decelerate_quint: Int
```

Acceleration curve matching a quint ease in function.  

    Value: 17563653

### fast_out_extra_slow_in

Added in[API level 28](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val fast_out_extra_slow_in: Int
```

An interpolator which accelerates fast but decelerates extra slowly.  

    Value: 17563674

### fast_out_linear_in

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val fast_out_linear_in: Int
```

An interpolator which accelerates fast and keeps accelerating until the end.  

    Value: 17563663

### fast_out_slow_in

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val fast_out_slow_in: Int
```

An interpolator which accelerates fast but decelerates slowly.  

    Value: 17563661

### linear

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val linear: Int
```

An interpolator where the rate of change is constant.  

    Value: 17563659

### linear_out_slow_in

Added in[API level 21](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val linear_out_slow_in: Int
```

An interpolator which starts with a peak non-zero velocity and decelerates slowly.  

    Value: 17563662

### overshoot

Added in[API level 11](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
static val overshoot: Int
```

An interpolator where the change flings forward and overshoots the last value then comes back.  

    Value: 17563656

## Public constructors

### interpolator

```
interpolator()
```