Java Code Examples for android.animation.Animator#setupStartValues()

The following examples show how to use android.animation.Animator#setupStartValues() . 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: AnimatorUtil.java    From VideoOS-Android-SDK with GNU General Public License v3.0 5 votes vote down vote up
/**
 * 启动
 *
 * @param animator
 */
public static boolean start(Animator animator) {
    if (animator != null && !animator.isStarted()) {
        animator.setupStartValues();
        animator.start();
        return true;
    }
    return false;
}
 
Example 2
Source File: SupportAnimatorForLollipop.java    From Nibo with MIT License 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 3
Source File: SupportAnimatorPreLollipop.java    From Nibo with MIT License 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 4
Source File: SupportAnimatorLollipop.java    From fab-toolbar with MIT License 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 5
Source File: SupportAnimatorLollipop.java    From PersistentSearchView with Apache License 2.0 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 6
Source File: SupportAnimatorPreL.java    From PersistentSearchView with Apache License 2.0 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 7
Source File: SupportAnimatorLollipop.java    From material-sheet-fab with MIT License 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 8
Source File: SupportAnimatorLollipop.java    From RecyclerView-Animation-Demo with Apache License 2.0 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if(a != null){
        a.setupStartValues();
    }
}
 
Example 9
Source File: SupportAnimatorLollipop.java    From fab-transformation with MIT License 5 votes vote down vote up
@Override
public void setupStartValues() {
    Animator a = mAnimator.get();
    if (a != null) {
        a.setupStartValues();
    }
}