Android Open Source - DragHelperView Smooth Interpolator






From Project

Back to project page DragHelperView.

License

The source code is released under:

Apache License

If you think the Android project DragHelperView listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package so.library.draghelper.helper.interpolator;
//from  w  w w  .j  a v  a2s  .  co m
import android.view.animation.LinearInterpolator;

/**
 * Created by minkyu on 2015. 1. 20..
 */
public class SmoothInterpolator extends LinearInterpolator {
    @Override
    public float getInterpolation(float input){
        return (float) Math.pow(input - 1, 5) + 1;
    }
}




Java Source Code List

so.library.draghelper.ApplicationTest.java
so.library.draghelper.MainActivity.java
so.library.draghelper.helper.OnStateChangedListener.java
so.library.draghelper.helper.SimpleDoubleTapListener.java
so.library.draghelper.helper.animation.HeaderViewMaximizeAnimation.java
so.library.draghelper.helper.animation.HeaderViewMinimizeAnimation.java
so.library.draghelper.helper.animation.SlideDownAnimation.java
so.library.draghelper.helper.animation.SlideUpAnimation.java
so.library.draghelper.helper.interpolator.SmoothInterpolator.java
so.library.draghelper.helper.view.DragHelperView.java