Java Code Examples for com.nineoldandroids.animation.Animator#setDuration()

The following examples show how to use com.nineoldandroids.animation.Animator#setDuration() . 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 File: SupportAnimatorPreL.java    From fab-toolbar with MIT License 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mAnimator.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 2
Source File: SupportAnimatorPreL.java    From Jide-Note with MIT License 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mSupportFramework.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 3
Source File: SupportAnimatorPreL.java    From WeGit with Apache License 2.0 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mSupportFramework.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 4
Source File: SupportAnimatorPreL.java    From NHentai-android with GNU General Public License v3.0 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mSupportFramework.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 5
Source File: SupportAnimatorPreL.java    From ExpressHelper with GNU General Public License v3.0 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mSupportFramework.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 6
Source File: SupportAnimatorPreL.java    From material-sheet-fab with MIT License 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mAnimator.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 7
Source File: SupportAnimatorPreL.java    From RecyclerView-Animation-Demo with Apache License 2.0 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mAnimator.get();
    if(a != null) {
        a.setDuration(duration);
    }
}
 
Example 8
Source File: SupportAnimatorPreL.java    From fab-transformation with MIT License 5 votes vote down vote up
@Override
public void setDuration(int duration) {
    Animator a = mAnimator.get();
    if (a != null) {
        a.setDuration(duration);
    }
}
 
Example 9
Source File: ArcAnimator.java    From MousePaint with MIT License 4 votes vote down vote up
@Override
public ArcAnimator setDuration(long duration) {
    Animator a = mAnimator.get();
    if(a != null) a.setDuration(duration);
    return this;
}