Java Code Examples for android.support.annotation.InterpolatorRes

The following are top voted examples for showing how to use android.support.annotation.InterpolatorRes. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: material-intro   File: IntroActivity.java   View source code 4 votes vote down vote up
@SuppressWarnings("unused")
public void setPageScrollInterpolator(@InterpolatorRes int interpolatorRes) {
    this.pageScrollInterpolator = AnimationUtils.loadInterpolator(this, interpolatorRes);
}
 
Example 2
Project: Prodigal   File: IntroActivity.java   View source code 4 votes vote down vote up
@SuppressWarnings("unused")
public void setPageScrollInterpolator(@InterpolatorRes int interpolatorRes) {
    this.pageScrollInterpolator = AnimationUtils.loadInterpolator(this, interpolatorRes);
}