Home
last modified time | relevance | path

Searched refs:mUpdateListeners (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/animation/
DValueAnimator.java243 ArrayList<AnimatorUpdateListener> mUpdateListeners = null; field in ValueAnimator
900 if (mUpdateListeners == null) { in addUpdateListener()
901 mUpdateListeners = new ArrayList<AnimatorUpdateListener>(); in addUpdateListener()
903 mUpdateListeners.add(listener); in addUpdateListener()
910 if (mUpdateListeners == null) { in removeAllUpdateListeners()
913 mUpdateListeners.clear(); in removeAllUpdateListeners()
914 mUpdateListeners = null; in removeAllUpdateListeners()
924 if (mUpdateListeners == null) { in removeUpdateListener()
927 mUpdateListeners.remove(listener); in removeUpdateListener()
928 if (mUpdateListeners.size() == 0) { in removeUpdateListener()
[all …]
/frameworks/support/dynamic-animation/src/android/support/animation/
DDynamicAnimation.java318 private final ArrayList<OnAnimationUpdateListener> mUpdateListeners = new ArrayList<>(); field in DynamicAnimation
476 if (!mUpdateListeners.contains(listener)) { in addUpdateListener()
477 mUpdateListeners.add(listener); in addUpdateListener()
489 removeEntry(mUpdateListeners, listener); in removeUpdateListener()
687 for (int i = 0; i < mUpdateListeners.size(); i++) { in setPropertyValue()
688 if (mUpdateListeners.get(i) != null) { in setPropertyValue()
689 mUpdateListeners.get(i).onAnimationUpdate(this, mValue, mVelocity); in setPropertyValue()
692 removeNullEntries(mUpdateListeners); in setPropertyValue()