Searched refs:mAnimationCallbacks (Results 1 – 4 of 4) sorted by relevance
45 private final ArrayList<AnimationFrameCallback> mAnimationCallbacks = field in AnimationHandler55 if (mAnimationCallbacks.size() > 0) {94 if (mAnimationCallbacks.size() == 0) { in addAnimationFrameCallback()97 if (!mAnimationCallbacks.contains(callback)) { in addAnimationFrameCallback()98 mAnimationCallbacks.add(callback); in addAnimationFrameCallback()130 int id = mAnimationCallbacks.indexOf(callback); in removeCallback()132 mAnimationCallbacks.set(id, null); in removeCallback()139 final int size = mAnimationCallbacks.size(); in doAnimationFrame()141 final AnimationFrameCallback callback = mAnimationCallbacks.get(i); in doAnimationFrame()206 for (int i = mAnimationCallbacks.size() - 1; i >= 0; i--) { in autoCancelBasedOn()[all …]
57 private final ArrayList<AnimationFrameCallback> mAnimationCallbacks = new ArrayList<>(); field in AnimationHandler66 if (mAnimationCallbacks.size() > 0) {111 if (mAnimationCallbacks.size() == 0) { in addAnimationFrameCallback()114 if (!mAnimationCallbacks.contains(callback)) { in addAnimationFrameCallback()115 mAnimationCallbacks.add(callback); in addAnimationFrameCallback()128 int id = mAnimationCallbacks.indexOf(callback); in removeCallback()130 mAnimationCallbacks.set(id, null); in removeCallback()137 for (int i = 0; i < mAnimationCallbacks.size(); i++) { in doAnimationFrame()138 final AnimationFrameCallback callback = mAnimationCallbacks.get(i); in doAnimationFrame()169 for (int i = mAnimationCallbacks.size() - 1; i >= 0; i--) { in cleanUpList()[all …]
160 private ArrayList<Animatable2Compat.AnimationCallback> mAnimationCallbacks = null; field in AnimatedVectorDrawableCompat760 if (mAnimationCallbacks == null) { in registerAnimationCallback()761 mAnimationCallbacks = new ArrayList<>(); in registerAnimationCallback()764 if (mAnimationCallbacks.contains(callback)) { in registerAnimationCallback()769 mAnimationCallbacks.add(callback); in registerAnimationCallback()778 new ArrayList<>(mAnimationCallbacks); in registerAnimationCallback()788 new ArrayList<>(mAnimationCallbacks); in registerAnimationCallback()827 if (mAnimationCallbacks == null || callback == null) { in unregisterAnimationCallback()831 boolean removed = mAnimationCallbacks.remove(callback); in unregisterAnimationCallback()834 if (mAnimationCallbacks.size() == 0) { in unregisterAnimationCallback()[all …]
320 private ArrayList<Animatable2.AnimationCallback> mAnimationCallbacks = null; field in AnimatedVectorDrawable997 if (mAnimationCallbacks == null) { in registerAnimationCallback()998 mAnimationCallbacks = new ArrayList<>(); in registerAnimationCallback()1001 mAnimationCallbacks.add(callback); in registerAnimationCallback()1009 … ArrayList<AnimationCallback> tmpCallbacks = new ArrayList<>(mAnimationCallbacks); in registerAnimationCallback()1018 … ArrayList<AnimationCallback> tmpCallbacks = new ArrayList<>(mAnimationCallbacks); in registerAnimationCallback()1039 if (mAnimationCallbacks == null || callback == null) { in unregisterAnimationCallback()1043 boolean removed = mAnimationCallbacks.remove(callback); in unregisterAnimationCallback()1046 if (mAnimationCallbacks.size() == 0) { in unregisterAnimationCallback()1055 if (mAnimationCallbacks == null) { in clearAnimationCallbacks()[all …]