Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DAnimatorManager.cpp38 for_each(mAnimators.begin(), mAnimators.end(), detach); in ~AnimatorManager()
64 LOG_ALWAYS_FATAL_IF(!mAnimationHandle && mAnimators.size(), in setAnimationHandle()
80 mAnimators.push_back(std::move(anim)); in pushStaging()
85 for (auto& animator : mAnimators) { in pushStaging()
92 mAnimators.erase(std::remove(mAnimators.begin(), mAnimators.end(), animator), mAnimators.end()); in onAnimatorTargetChanged()
123 if (!mAnimators.size()) return 0; in animate()
146 auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor); in animateCommon()
147 mAnimators.erase(newEnd, mAnimators.end()); in animateCommon()
182 for_each(mAnimators.begin(), mAnimators.end(), functor); in endAllActiveAnimators()
183 mAnimators.clear(); in endAllActiveAnimators()
DPropertyValuesAnimatorSet.cpp31 mAnimators.emplace_back(animator); in addPropertyAnimator()
73 for (auto it = mAnimators.rbegin(); it != mAnimators.rend(); it++) { in onPlayTimeChanged()
80 for (auto& anim : mAnimators) { in onPlayTimeChanged()
118 std::sort(mAnimators.begin(), mAnimators.end(), in init()
120 mDuration = mAnimators.empty() ? 0 : mAnimators[mAnimators.size() - 1]->getTotalDuration(); in init()
DAnimatorManager.h63 bool hasAnimators() { return mAnimators.size(); } in hasAnimators()
73 std::vector<sp<BaseRenderNodeAnimator> > mAnimators; variable
DPropertyValuesAnimatorSet.h78 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/main/java/androidx/appcompat/view/
DViewPropertyAnimatorCompatSet.java40 final ArrayList<ViewPropertyAnimatorCompat> mAnimators; field in ViewPropertyAnimatorCompatSet
49 mAnimators = new ArrayList<ViewPropertyAnimatorCompat>(); in ViewPropertyAnimatorCompatSet()
54 mAnimators.add(animator); in play()
61 mAnimators.add(anim1); in playSequentially()
63 mAnimators.add(anim2); in playSequentially()
69 for (ViewPropertyAnimatorCompat animator : mAnimators) { in start()
93 for (ViewPropertyAnimatorCompat animator : mAnimators) { in cancel()
144 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/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
DAnimatedVectorDrawableCompat.java585 private ArrayList<Animator> mAnimators; field in AnimatedVectorDrawableCompat.AnimatedVectorDrawableCompatState
604 if (copy.mAnimators != null) { in AnimatedVectorDrawableCompatState()
605 final int numAnimators = copy.mAnimators.size(); in AnimatedVectorDrawableCompatState()
606 mAnimators = new ArrayList<Animator>(numAnimators); in AnimatedVectorDrawableCompatState()
609 Animator anim = copy.mAnimators.get(i); in AnimatedVectorDrawableCompatState()
614 mAnimators.add(animClone); in AnimatedVectorDrawableCompatState()
641 mAnimatorSet.playTogether(mAnimators); in setupAnimatorSet()
677 if (mAnimatedVectorState.mAnimators == null) { in setupAnimatorsForTarget()
678 mAnimatedVectorState.mAnimators = new ArrayList<Animator>(); in setupAnimatorsForTarget()
681 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/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java707 ArrayList<Animator> mAnimators; field in AnimatedVectorDrawable.AnimatedVectorDrawableState
732 if (copy.mAnimators != null) { in AnimatedVectorDrawableState()
733 mAnimators = new ArrayList<>(copy.mAnimators); in AnimatedVectorDrawableState()
777 if (mAnimators == null) { in addTargetAnimator()
778 mAnimators = new ArrayList<>(1); in addTargetAnimator()
781 mAnimators.add(animator); in addTargetAnimator()
819 final int count = mAnimators == null ? 0 : mAnimators.size(); in prepareLocalAnimators()
837 final Animator animator = mAnimators.get(index); in prepareLocalAnimator()
/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/main/java/androidx/transition/
DTransition.java238 private ArrayList<Animator> mAnimators = new ArrayList<>(); field in Transition
781 startDelays.put(mAnimators.size(), (int) delay); in createAnimators()
787 mAnimators.add(animator); in createAnimators()
795 Animator animator = mAnimators.get(index); in createAnimators()
878 for (Animator anim : mAnimators) { in runAnimators()
887 mAnimators.clear(); in runAnimators()
2215 clone.mAnimators = new ArrayList<>(); in clone()