Searched defs:animator (Results 26 - 44 of 44) sorted by relevance

12

/frameworks/base/libs/hwui/
H A DRenderNode.h202 ANDROID_API void addAnimator(const sp<BaseRenderNodeAnimator>& animator);
203 void removeAnimator(const sp<BaseRenderNodeAnimator>& animator);
206 void onAnimatorTargetChanged(BaseRenderNodeAnimator* animator) { argument
207 mAnimatorManager.onAnimatorTargetChanged(animator);
H A DRenderNode.cpp240 void RenderNode::addAnimator(const sp<BaseRenderNodeAnimator>& animator) { argument
241 mAnimatorManager.addAnimator(animator);
244 void RenderNode::removeAnimator(const sp<BaseRenderNodeAnimator>& animator) { argument
245 mAnimatorManager.removeAnimator(animator);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTrustDrawable.java238 private ValueAnimator configureAnimator(ValueAnimator animator, long duration, argument
241 animator.setDuration(duration);
242 animator.addUpdateListener(updateListener);
243 animator.setInterpolator(interpolator);
245 animator.setRepeatCount(ValueAnimator.INFINITE);
246 animator.setRepeatMode(ValueAnimator.REVERSE);
248 return animator;
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java177 // We need Context to create the animator, and we can't save the context in the constant
526 private void setupColorAnimator(Animator animator) { argument
527 if (animator instanceof AnimatorSet) {
528 List<Animator> childAnimators = ((AnimatorSet) animator).getChildAnimations();
535 if (animator instanceof ObjectAnimator) {
536 ObjectAnimator objectAnim = (ObjectAnimator) animator;
547 private void setupAnimatorsForTarget(String name, Animator animator) { argument
549 animator.setTarget(target);
551 setupColorAnimator(animator);
557 mAnimatedVectorState.mAnimators.add(animator);
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPasswordTextView.java591 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f);
592 animator.addUpdateListener(dotSizeUpdater);
593 animator.addListener(dotFinishListener);
594 animator.setInterpolator(mDisappearInterpolator);
596 animator.setDuration(duration);
597 animator.setStartDelay(startDelay);
598 animator.start();
599 dotAnimator = animator;
667 private void cancelAnimator(Animator animator) { argument
668 if (animator !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java254 RenderNodeAnimator animator = new RenderNodeAnimator(mHwCirclePaint,
256 animator.setTarget(this);
257 animator.setInterpolator(Interpolators.ALPHA_IN);
258 animator.setDuration(250);
259 animator.start();
275 RenderNodeAnimator animator = new RenderNodeAnimator(mHwCirclePaint,
277 animator.setDuration(duration);
278 animator.setInterpolator(Interpolators.ALPHA_OUT);
279 animator.setTarget(this);
280 animator
396 cancelAnimator(Animator animator) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackStateAnimator.java39 * An stack state animator which handles animations to new StackScrollStates
408 // we need to increase all animation keyframes of the previous animator by the
425 ValueAnimator animator = ValueAnimator.ofFloat(child.getShadowAlpha(), newEndValue);
426 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
432 animator.setInterpolator(Interpolators.FAST_OUT_SLOW_IN);
434 animator.setDuration(newDuration);
437 animator.setStartDelay(delay);
439 animator.addListener(getGlobalAnimationFinishedListener());
441 animator.addListener(new AnimatorListenerAdapter() {
449 startAnimator(animator);
781 startAnimator(ValueAnimator animator) argument
[all...]
/frameworks/base/core/java/android/animation/
H A DLayoutTransition.java662 * animation whose animator is being set.
663 * @param animator The animation being assigned. A value of <code>null</code> means that no
666 public void setAnimator(int transitionType, Animator animator) { argument
669 mChangingAppearingAnim = animator;
672 mChangingDisappearingAnim = animator;
675 mChangingAnim = animator;
678 mAppearingAnim = animator;
681 mDisappearingAnim = animator;
691 * the animation whose animator is being returned.
864 // We run an animator fo
[all...]
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java125 * Creates a new render node animator for a field on a Paint property.
411 * @return true if the animator was started, false if still delayed
445 public void addDelayedAnimation(RenderNodeAnimator animator) { argument
446 mDelayedAnims.add(animator);
450 public void removeDelayedAnimation(RenderNodeAnimator animator) { argument
451 mDelayedAnims.remove(animator);
468 RenderNodeAnimator animator = mDelayedAnims.get(i);
469 if (!animator.processDelayed(frameTimeMs)) {
471 mDelayedAnims.set(end, animator);
487 private static void callOnFinished(RenderNodeAnimator animator) { argument
[all...]
H A DRenderNode.java784 public void addAnimator(RenderNodeAnimator animator) { argument
786 throw new IllegalStateException("Cannot start this animator on a detached view!");
788 nAddAnimator(mNativeRenderNode, animator.getNativeAnimator());
798 throw new IllegalStateException("Cannot start this animator on a detached view!");
H A DThreadedRenderer.java880 void registerAnimatingRenderNode(RenderNode animator) { argument
881 nRegisterAnimatingRenderNode(mRootNode.mNativeRenderNode, animator.mNativeRenderNode);
H A DViewRootImpl.java814 public void registerAnimatingRenderNode(RenderNode animator) { argument
816 mAttachInfo.mHardwareRenderer.registerAnimatingRenderNode(animator);
821 mAttachInfo.mPendingAnimatingRenderNodes.add(animator);
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java321 oldInfo.animator.cancel();
344 if (mRunningItemAnimations.get(j).animator == animation) {
360 oldInfo.animator.cancel();
375 if (mRunningItemAnimations.get(j).animator == animation) {
397 oldInfo.animator.cancel();
410 if (mRunningItemAnimations.get(j).animator == animation) {
1056 Animator animator; field in class:ActionMenuPresenter.ItemAnimationInfo
1065 animator = anim;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp522 RenderPropertyAnimator* animator = reinterpret_cast<RenderPropertyAnimator*>(animatorPtr); local
523 renderNode->addAnimator(animator);
H A Dandroid_view_ThreadedRenderer.cpp100 OnFinishedEvent(BaseRenderNodeAnimator* animator, AnimationListener* listener) argument
101 : animator(animator), listener(listener) {}
102 sp<BaseRenderNodeAnimator> animator; member in class:android::OnFinishedEvent
113 event.listener->onAnimationFinished(event.animator.get());
226 virtual void callOnFinished(BaseRenderNodeAnimator* animator, AnimationListener* listener) { argument
227 OnFinishedEvent event(animator, listener);
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowSurfaceController.java74 String name, int w, int h, int format, int flags, WindowStateAnimator animator) {
75 mAnimator = animator;
86 if (animator.mWin.isChildWindow() &&
87 animator.mWin.mSubLayer < 0 &&
88 animator.mWin.mAppToken != null) {
90 name, w, h, format, flags, animator.mWin.mAppToken);
73 WindowSurfaceController(SurfaceSession s, String name, int w, int h, int format, int flags, WindowStateAnimator animator) argument
/frameworks/base/core/java/android/transition/
H A DTransition.java199 // Per-animator information used for later canceling when future transitions overlap
454 * <p>If there is an animator created and returned from this method, the
732 Animator animator = createAnimator(sceneRoot, start, end);
733 if (animator != null) {
758 // Favor the old animator
759 animator = null;
768 if (animator != null) {
777 runningAnimators.put(animator, info);
778 mAnimators.add(animator);
786 Animator animator
884 runAnimator(Animator animator, final ArrayMap<Animator, AnimationInfo> runningAnimators) argument
1858 animate(Animator animator) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java120 * To complete this example, here are the 2 animator files used in avd.xml:
159 /** Local, mutable animator set. */
170 /** The animator set that is parsed from the xml. */
399 // applyTheme(), postpone loading the animator
423 VectorDrawableAnimatorRT animator = (VectorDrawableAnimatorRT) mAnimatorSet;
424 if (animator.isRunning()) {
537 public void addTargetAnimator(String targetName, Animator animator) { argument
542 mAnimators.add(animator);
543 mTargetNameMap.put(animator, targetName);
546 Log.v(LOGTAG, "add animator fo
1064 createRTAnimator(ObjectAnimator animator, long startTime) argument
1097 createRTAnimatorForGroup(PropertyValuesHolder[] values, ObjectAnimator animator, VectorDrawable.VGroup target, long startTime) argument
1131 createRTAnimatorForPath( ObjectAnimator animator, VectorDrawable.VPath target, long startTime) argument
1144 createRTAnimatorForFullPath(ObjectAnimator animator, VectorDrawable.VFullPath target, long startTime) argument
1182 createRTAnimatorForRootGroup(PropertyValuesHolder[] values, ObjectAnimator animator, VectorDrawable.VectorDrawableState target, long startTime) argument
1234 createNativeChildAnimator(long propertyPtr, long extraDelay, ObjectAnimator animator) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java929 // recyclerView.children. This may not be true if item animator's end does not work as
2870 * @param animator The ItemAnimator being set. If null, no animations will occur
2873 public void setItemAnimator(ItemAnimator animator) { argument
2878 mItemAnimator = animator;
2971 * indicates that there is no animator and that item changes will happen without
5148 * A small exception to this rule is when the view does not have an animator reference
7667 // To avoid this, we mark it as not recycleable before calling the item animator.
10713 * method on the animator's listener when it is done animating any item.
10895 * Sets the listener that must be called when the animator is finished
10906 * Called by the RecyclerView before the layout begins. Item animator shoul
[all...]

Completed in 465 milliseconds

12