Java Code Examples for android.animation.ValueAnimator#isStarted()
The following examples show how to use
android.animation.ValueAnimator#isStarted() .
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: Indicator.java From XKnife-Android with Apache License 2.0 | 5 votes |
private void stopAnimators() { if (mAnimators != null) { for (ValueAnimator animator : mAnimators) { if (animator != null && animator.isStarted()) { animator.removeAllUpdateListeners(); animator.end(); } } } }
Example 2
Source File: BallPulseView.java From AgentWebX5 with Apache License 2.0 | 5 votes |
public void stopAnim() { if (mAnimators != null) { for (ValueAnimator animator : mAnimators) { if (animator != null && animator.isStarted()) { animator.removeAllUpdateListeners(); animator.end(); } } } setIndicatorColor(normalColor); }
Example 3
Source File: DownloadProgressButton.java From DownloadProgressButton with Apache License 2.0 | 5 votes |
private void stopAnimators() { if (mAnimators != null) { for (ValueAnimator animator : mAnimators) { if (animator != null && animator.isStarted()) { animator.end(); } } } }
Example 4
Source File: Indicator.java From LRecyclerView with Apache License 2.0 | 5 votes |
private void stopAnimators() { if (mAnimators!=null){ for (ValueAnimator animator : mAnimators) { if (animator != null && animator.isStarted()) { animator.removeAllUpdateListeners(); animator.end(); } } } }
Example 5
Source File: BallPulseView.java From TwinklingRefreshLayout with Apache License 2.0 | 5 votes |
public void stopAnim() { if (mAnimators != null) { for (ValueAnimator animator : mAnimators) { if (animator != null && animator.isStarted()) { animator.removeAllUpdateListeners(); animator.end(); } } } setIndicatorColor(normalColor); }
Example 6
Source File: Indicator.java From XKnife-Android with Apache License 2.0 | 4 votes |
private boolean isStarted() { for (ValueAnimator animator : mAnimators) { return animator.isStarted(); } return false; }
Example 7
Source File: AnimationUtils.java From RxTools-master with Apache License 2.0 | 4 votes |
public static boolean isStarted(ValueAnimator animator) { return animator != null && animator.isStarted(); }
Example 8
Source File: BallPulseView.java From AgentWebX5 with Apache License 2.0 | 4 votes |
private boolean isStarted() { for (ValueAnimator animator : mAnimators) { return animator.isStarted(); } return false; }
Example 9
Source File: Indicator.java From LRecyclerView with Apache License 2.0 | 4 votes |
private boolean isStarted() { for (ValueAnimator animator : mAnimators) { return animator.isStarted(); } return false; }
Example 10
Source File: BallPulseView.java From TwinklingRefreshLayout with Apache License 2.0 | 4 votes |
private boolean isStarted() { for (ValueAnimator animator : mAnimators) { return animator.isStarted(); } return false; }
Example 11
Source File: AnimeUtil.java From RadarChart with Apache License 2.0 | 4 votes |
public boolean isPlaying(RadarData data) { ValueAnimator anime = mAnimes.get(data); return anime != null && anime.isStarted(); }