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 …]
488 private ArrayList<Animatable2.AnimationCallback> mAnimationCallbacks = null; field in AnimatedImageDrawable496 if (mAnimationCallbacks == null) { in registerAnimationCallback()497 mAnimationCallbacks = new ArrayList<Animatable2.AnimationCallback>(); in registerAnimationCallback()501 if (!mAnimationCallbacks.contains(callback)) { in registerAnimationCallback()502 mAnimationCallbacks.add(callback); in registerAnimationCallback()508 if (callback == null || mAnimationCallbacks == null in unregisterAnimationCallback()509 || !mAnimationCallbacks.remove(callback)) { in unregisterAnimationCallback()513 if (mAnimationCallbacks.isEmpty()) { in unregisterAnimationCallback()522 if (mAnimationCallbacks != null) { in clearAnimationCallbacks()523 mAnimationCallbacks = null; in clearAnimationCallbacks()[all …]
329 private ArrayList<Animatable2.AnimationCallback> mAnimationCallbacks = null; field in AnimatedVectorDrawable1006 if (mAnimationCallbacks == null) { in registerAnimationCallback()1007 mAnimationCallbacks = new ArrayList<>(); in registerAnimationCallback()1010 mAnimationCallbacks.add(callback); in registerAnimationCallback()1018 … ArrayList<AnimationCallback> tmpCallbacks = new ArrayList<>(mAnimationCallbacks); in registerAnimationCallback()1027 … ArrayList<AnimationCallback> tmpCallbacks = new ArrayList<>(mAnimationCallbacks); in registerAnimationCallback()1048 if (mAnimationCallbacks == null || callback == null) { in unregisterAnimationCallback()1052 boolean removed = mAnimationCallbacks.remove(callback); in unregisterAnimationCallback()1055 if (mAnimationCallbacks.size() == 0) { in unregisterAnimationCallback()1064 if (mAnimationCallbacks == null) { in clearAnimationCallbacks()[all …]
92 @Mock RecentsAnimationController.RecentsAnimationCallbacks mAnimationCallbacks; field in RecentsAnimationControllerTest104 mController = spy(new RecentsAnimationController(mWm, mMockRunner, mAnimationCallbacks, in setUp()268 verify(mAnimationCallbacks).onAnimationFinished(REORDER_KEEP_IN_PLACE, false); in testDeferCancelAnimation()300 verify(mAnimationCallbacks).onAnimationFinished(REORDER_KEEP_IN_PLACE, false); in testDeferCancelAnimationWithScreenShot()