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()
81 mAnimators.push_back(std::move(anim)); in pushStaging()
86 for (auto& animator : mAnimators) { in pushStaging()
93 mAnimators.erase(std::remove(mAnimators.begin(), mAnimators.end(), animator), mAnimators.end()); in onAnimatorTargetChanged()
124 if (!mAnimators.size()) return 0; in animate()
147 auto newEnd = std::remove_if(mAnimators.begin(), mAnimators.end(), functor); in animateCommon()
148 mAnimators.erase(newEnd, mAnimators.end()); in animateCommon()
185 for_each(mAnimators.begin(), mAnimators.end(), functor); in endAllActiveAnimators()
186 mAnimators.clear(); in endAllActiveAnimators()
DPropertyValuesAnimatorSet.cpp31 mAnimators.emplace_back(animator); in addPropertyAnimator()
60 for (auto it = mAnimators.rbegin(); it != mAnimators.rend(); it++) { in onPlayTimeChanged()
68 for (auto& anim : mAnimators) { in onPlayTimeChanged()
72 for (auto& anim : mAnimators) { in onPlayTimeChanged()
98 std::sort(mAnimators.begin(), mAnimators.end(), [](auto& a, auto&b) { in init()
101 mDuration = mAnimators[mAnimators.size() - 1]->getTotalDuration(); in init()
DAnimatorManager.h62 bool hasAnimators() { return mAnimators.size(); } in hasAnimators()
72 std::vector< sp<BaseRenderNodeAnimator> > mAnimators; variable
DPropertyValuesAnimatorSet.h69 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.java35 private final ArrayList<ViewPropertyAnimatorCompat> mAnimators; field in ViewPropertyAnimatorCompatSet
44 mAnimators = new ArrayList<ViewPropertyAnimatorCompat>(); in ViewPropertyAnimatorCompatSet()
49 mAnimators.add(animator); in play()
56 mAnimators.add(anim1); in playSequentially()
58 mAnimators.add(anim2); in playSequentially()
64 for (ViewPropertyAnimatorCompat animator : mAnimators) { in start()
88 for (ViewPropertyAnimatorCompat animator : mAnimators) { in cancel()
139 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.java469 ArrayList<Animator> mAnimators; field in AnimatedVectorDrawable.AnimatedVectorDrawableState
493 if (copy.mAnimators != null) { in AnimatedVectorDrawableState()
494 mAnimators = new ArrayList<>(copy.mAnimators); in AnimatedVectorDrawableState()
538 if (mAnimators == null) { in addTargetAnimator()
539 mAnimators = new ArrayList<>(1); in addTargetAnimator()
542 mAnimators.add(animator); in addTargetAnimator()
580 final int count = mAnimators == null ? 0 : mAnimators.size(); in prepareLocalAnimators()
598 final Animator animator = mAnimators.get(index); in prepareLocalAnimator()
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
DAnimatedVectorDrawableCompat.java469 ArrayList<Animator> mAnimators; field in AnimatedVectorDrawableCompat.AnimatedVectorDrawableCompatState
488 if (copy.mAnimators != null) { in AnimatedVectorDrawableCompatState()
489 final int numAnimators = copy.mAnimators.size(); in AnimatedVectorDrawableCompatState()
490 mAnimators = new ArrayList<Animator>(numAnimators); in AnimatedVectorDrawableCompatState()
493 Animator anim = copy.mAnimators.get(i); in AnimatedVectorDrawableCompatState()
498 mAnimators.add(animClone); in AnimatedVectorDrawableCompatState()
553 if (mAnimatedVectorState.mAnimators == null) { in setupAnimatorsForTarget()
554 mAnimatedVectorState.mAnimators = new ArrayList<Animator>(); in setupAnimatorsForTarget()
557 mAnimatedVectorState.mAnimators.add(animator); in setupAnimatorsForTarget()
569 final ArrayList<Animator> animators = mAnimatedVectorState.mAnimators; in isRunning()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java173 private ArrayList<Animator> mAnimators = new ArrayList<>(); field in AnimatedVectorDrawable_Delegate.AnimatorSetHolder
177 mAnimators.add(animator); in addAnimator()
183 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()
871 for (Animator anim : mAnimators) { in runAnimators()
880 mAnimators.clear(); in runAnimators()
2204 clone.mAnimators = new ArrayList<Animator>(); in clone()
/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java93 private final ArrayList<Animation> mAnimators = new ArrayList<Animation>(); field in MaterialProgressDrawable
266 final ArrayList<Animation> animators = mAnimators; in isRunning()