Java Code Examples for android.view.animation.Animation#hasEnded()

The following examples show how to use android.view.animation.Animation#hasEnded() . 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: MaterialProgressDrawable.java    From BaseDialog with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 2
Source File: MaterialProgressDrawable.java    From AlipayPullRefresh with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 3
Source File: MaterialProgressDrawable.java    From Android-Application-ZJB with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 4
Source File: MaterialProgressDrawable.java    From WaveSwipeRefreshLayout with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 5
Source File: MaterialProgressDrawable.java    From Mover with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 6
Source File: MaterialProgressDrawable.java    From Jockey with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 7
Source File: MaterialProgressDrawable.java    From adt-leanback-support with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 8
Source File: MaterialProgressDrawable.java    From KUAS-AP-Material with MIT License 5 votes vote down vote up
@Override
public boolean isRunning() {
	final ArrayList<Animation> animators = mAnimators;
	final int N = animators.size();
	for (int i = 0; i < N; i++) {
		final Animation animator = animators.get(i);
		if (animator.hasStarted() && !animator.hasEnded()) {
			return true;
		}
	}
	return false;
}
 
Example 9
Source File: MaterialProgressDrawable.java    From Overchan-Android with GNU General Public License v3.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 10
Source File: MaterialProgressDrawable.java    From FireFiles with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 11
Source File: MaterialProgressDrawable.java    From AgentWebX5 with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 12
Source File: MaterialProgressDrawable.java    From SHSwipeRefreshLayout with MIT License 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 13
Source File: MaterialProgressDrawable.java    From AndroidUI with MIT License 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 14
Source File: MaterialProgressDrawable.java    From AndroidUiKit with Apache License 2.0 5 votes vote down vote up
@Override
public boolean isRunning() {
    final ArrayList<Animation> animators = mAnimators;
    final int N = animators.size();
    for (int i = 0; i < N; i++) {
        final Animation animator = animators.get(i);
        if (animator.hasStarted() && !animator.hasEnded()) {
            return true;
        }
    }
    return false;
}
 
Example 15
Source File: SwipeRefreshLayout.java    From adt-leanback-support with Apache License 2.0 4 votes vote down vote up
private boolean isAnimationRunning(Animation animation) {
    return animation != null && animation.hasStarted() && !animation.hasEnded();
}
 
Example 16
Source File: ISwipeRefreshLayout.java    From AndroidUiKit with Apache License 2.0 4 votes vote down vote up
private boolean isAnimationRunning(Animation animation) {
    return animation != null && animation.hasStarted() && !animation.hasEnded();
}
 
Example 17
Source File: SwipeToRefreshLayout.java    From SwipeToRefresh with MIT License 4 votes vote down vote up
private boolean isAnimationRunning(Animation animation) {
    return animation != null && animation.hasStarted() && !animation.hasEnded();
}
 
Example 18
Source File: MySwipeRefreshLayout.java    From Cotable with Apache License 2.0 4 votes vote down vote up
private boolean isAnimationRunning(Animation animation) {
    return animation != null && animation.hasStarted() && !animation.hasEnded();
}
 
Example 19
Source File: SwipeRefreshLayout.java    From BookReader with Apache License 2.0 4 votes vote down vote up
private boolean isAnimationRunning(Animation animation) {
    return animation != null && animation.hasStarted() && !animation.hasEnded();
}
 
Example 20
Source File: SwipyRefreshLayout.java    From SwipyRefreshLayout with MIT License 4 votes vote down vote up
private boolean isAnimationRunning(Animation animation) {
    return animation != null && animation.hasStarted() && !animation.hasEnded();
}