Home
last modified time | relevance | path

Searched refs:mAnimators (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/hwui/
DAnimatorManager.cpp41 for_each(mAnimators.begin(), mAnimators.end(), detach); in ~AnimatorManager()
67 LOG_ALWAYS_FATAL_IF(!mAnimationHandle && mAnimators.size(), in setAnimationHandle()
83 mAnimators.push_back(std::move(anim)); in pushStaging()
88 for (auto& animator : mAnimators) { in pushStaging()
95 mAnimators.erase(std::remove(mAnimators.begin(), mAnimators.end(), animator), mAnimators.end()); in onAnimatorTargetChanged()
126 if (!mAnimators.size()) return 0; in animate()
149 auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor); in animateCommon()
150 mAnimators.erase(newEnd, mAnimators.end()); in animateCommon()
187 for_each(mAnimators.begin(), mAnimators.end(), functor); in endAllActiveAnimators()
188 mAnimators.clear(); in endAllActiveAnimators()
DPropertyValuesAnimatorSet.cpp31 mAnimators.emplace_back(animator); in addPropertyAnimator()
74 for (auto it = mAnimators.rbegin(); it != mAnimators.rend(); it++) { in onPlayTimeChanged()
81 for (auto& anim : mAnimators) { in onPlayTimeChanged()
119 std::sort(mAnimators.begin(), mAnimators.end(), [](auto& a, auto&b) { in init()
122 mDuration = mAnimators.empty() ? 0 : mAnimators[mAnimators.size() - 1]->getTotalDuration(); in init()
DAnimatorManager.h62 bool hasAnimators() { return mAnimators.size(); } in hasAnimators()
72 std::vector< sp<BaseRenderNodeAnimator> > mAnimators; variable
DPropertyValuesAnimatorSet.h80 std::vector< std::unique_ptr<PropertyAnimator> > mAnimators; variable
/frameworks/base/core/java/android/view/
DViewPropertyAnimatorRT.java38 …private RenderNodeAnimator mAnimators[] = new RenderNodeAnimator[RenderNodeAnimator.LAST_VALUE + 1… field in ViewPropertyAnimatorRT
58 for (int i = 0; i < mAnimators.length; i++) { in cancelAll()
59 if (mAnimators[i] != null) { in cancelAll()
60 mAnimators[i].cancel(); in cancelAll()
61 mAnimators[i] = null; in cancelAll()
91 mAnimators[property] = animator; in doStartAnimation()
131 if (mAnimators[property] != null) { in cancelAnimators()
132 mAnimators[property].cancel(); in cancelAnimators()
133 mAnimators[property] = null; in cancelAnimators()
/frameworks/support/v7/appcompat/src/android/support/v7/view/
DViewPropertyAnimatorCompatSet.java39 final ArrayList<ViewPropertyAnimatorCompat> mAnimators; field in ViewPropertyAnimatorCompatSet
48 mAnimators = new ArrayList<ViewPropertyAnimatorCompat>(); in ViewPropertyAnimatorCompatSet()
53 mAnimators.add(animator); in play()
60 mAnimators.add(anim1); in playSequentially()
62 mAnimators.add(anim2); in playSequentially()
68 for (ViewPropertyAnimatorCompat animator : mAnimators) { in start()
92 for (ViewPropertyAnimatorCompat animator : mAnimators) { in cancel()
143 if (++mProxyEndCount == mAnimators.size()) {
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java44 private ArrayList<ObjectAnimator> mAnimators = new ArrayList<ObjectAnimator>(); field in DrawableHolder
80 if (DBG) Log.v(TAG, "animationCount = " + mAnimators.size()); in addAnimTo()
90 ArrayList<ObjectAnimator> removalList = (ArrayList<ObjectAnimator>)mAnimators.clone(); in removeAnimationFor()
102 for (ObjectAnimator currentAnim : mAnimators) { in clearAnimations()
105 mAnimators.clear(); in clearAnimations()
117 mAnimators.add(anim); in addAnimation()
215 mAnimators.remove(animation); in onAnimationEnd()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleComponent.java297 private final ArrayList<RenderNodeAnimator> mAnimators = new ArrayList<>(); field in RippleComponent.RenderNodeAnimatorSet
300 mAnimators.add(anim); in add()
304 mAnimators.clear(); in clear()
312 final ArrayList<RenderNodeAnimator> animators = mAnimators; in start()
322 final ArrayList<RenderNodeAnimator> animators = mAnimators; in cancel()
331 final ArrayList<RenderNodeAnimator> animators = mAnimators; in end()
340 final ArrayList<RenderNodeAnimator> animators = mAnimators; in isRunning()
DAnimatedVectorDrawable.java703 ArrayList<Animator> mAnimators; field in AnimatedVectorDrawable.AnimatedVectorDrawableState
728 if (copy.mAnimators != null) { in AnimatedVectorDrawableState()
729 mAnimators = new ArrayList<>(copy.mAnimators); in AnimatedVectorDrawableState()
773 if (mAnimators == null) { in addTargetAnimator()
774 mAnimators = new ArrayList<>(1); in addTargetAnimator()
777 mAnimators.add(animator); in addTargetAnimator()
815 final int count = mAnimators == null ? 0 : mAnimators.size(); in prepareLocalAnimators()
833 final Animator animator = mAnimators.get(index); in prepareLocalAnimator()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatedVectorDrawableCompat.java581 private ArrayList<Animator> mAnimators; field in AnimatedVectorDrawableCompat.AnimatedVectorDrawableCompatState
600 if (copy.mAnimators != null) { in AnimatedVectorDrawableCompatState()
601 final int numAnimators = copy.mAnimators.size(); in AnimatedVectorDrawableCompatState()
602 mAnimators = new ArrayList<Animator>(numAnimators); in AnimatedVectorDrawableCompatState()
605 Animator anim = copy.mAnimators.get(i); in AnimatedVectorDrawableCompatState()
610 mAnimators.add(animClone); in AnimatedVectorDrawableCompatState()
637 mAnimatorSet.playTogether(mAnimators); in setupAnimatorSet()
673 if (mAnimatedVectorState.mAnimators == null) { in setupAnimatorsForTarget()
674 mAnimatedVectorState.mAnimators = new ArrayList<Animator>(); in setupAnimatorsForTarget()
677 mAnimatedVectorState.mAnimators.add(animator); in setupAnimatorsForTarget()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java187 private ArrayList<Animator> mAnimators = new ArrayList<>(); field in AnimatedVectorDrawable_Delegate.AnimatorSetHolder
191 mAnimators.add(animator); in addAnimator()
197 mAnimatorSet.playTogether(mAnimators); in ensureAnimatorSet()
/frameworks/base/core/java/android/transition/
DTransition.java234 ArrayList<Animator> mAnimators = new ArrayList<Animator>(); field in Transition
696 int minAnimator = mAnimators.size(); in createAnimators()
772 startDelays.put(mAnimators.size(), delay); in createAnimators()
778 mAnimators.add(animator); in createAnimators()
786 Animator animator = mAnimators.get(index); in createAnimators()
873 for (Animator anim : mAnimators) { in runAnimators()
882 mAnimators.clear(); in runAnimators()
2226 clone.mAnimators = new ArrayList<Animator>(); in clone()
/frameworks/support/transition/src/android/support/transition/
DTransition.java237 private ArrayList<Animator> mAnimators = new ArrayList<>(); field in Transition
780 startDelays.put(mAnimators.size(), (int) delay); in createAnimators()
786 mAnimators.add(animator); in createAnimators()
794 Animator animator = mAnimators.get(index); in createAnimators()
877 for (Animator anim : mAnimators) { in runAnimators()
886 mAnimators.clear(); in runAnimators()
2214 clone.mAnimators = new ArrayList<>(); in clone()