Java Examples

The following examples show how to use You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source Project: Prodigal   Author: SpongeBobSun   File:    License: Apache License 2.0 4 votes vote down vote up
public void setPageScrollInterpolator(@InterpolatorRes int interpolatorRes) {
    this.pageScrollInterpolator = AnimationUtils.loadInterpolator(this, interpolatorRes);
Example #2
Source Project: SnackBar   Author: Kennyc1012   File:    License: Apache License 2.0 2 votes vote down vote up
 * Set the Interpolator of the SnackBar animation
 * @param interpolator
 * @return
public Builder setInterpolatorResource(@InterpolatorRes int interpolator) {
    mSnackBarItem.mInterpolator = AnimationUtils.loadInterpolator(mSnackBarItem.mActivity, interpolator);
    return this;