Searched refs:animator (Results 1 - 25 of 108) sorted by path

12345

/frameworks/base/core/java/android/animation/
H A DAnimator.java47 * Whether this animator is currently in a paused state.
58 * If this animator is inflated from a constant state, keep a reference to it so that
59 * ConstantState will not be garbage collected until this animator is collected
67 * {@link AnimatorListener#onAnimationStart(Animator)} for any listeners of this animator.
127 * Resumes a paused animation, causing the animator to pick up where it left off
129 * which the animation was started. Calls to resume() on an animator that is
151 * Returns whether this animator is currently in a paused state.
153 * @return True if the animator is currently paused, false otherwise.
238 * Animators (which most Animators are, apart from the one-shot animator produced by
295 * Adds a pause listener to this animator
575 AnimatorConstantState(Animator animator) argument
[all...]
H A DAnimatorInflater.java51 * This class is used to instantiate animator XML files into Animator objects.
86 * @return The animator object reference by the specified id
100 * @return The animator object reference by the specified id
114 Animator animator = animatorCache.getInstance(id, resources, theme);
115 if (animator != null) {
117 Log.d(TAG, "loaded animator from cache, " + resources.getResourceName(id));
119 return animator;
121 Log.d(TAG, "cache miss for animator " + resources.getResourceName(id));
126 animator = createAnimatorFromXml(resources, theme, parser, pathErrorScale);
127 if (animator !
[all...]
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...]
H A DObjectAnimator.java53 * from the target object when the animator starts, just like animators with only one
64 * <a href="{@docRoot}guide/topics/graphics/prop-animation.html#object-animator">Property
162 * <p>If this animator was created with a {@link Property} object instead of the
164 * Property#getName() name} of that Property object instead. If this animator was
192 return "animator:" + getPropertyName();
402 ObjectAnimator animator = ofInt(target, propertyName, values);
403 animator.setEvaluator(ArgbEvaluator.getInstance());
404 return animator;
422 ObjectAnimator animator = ofInt(target, property, values);
423 animator
[all...]
H A DStateListAnimator.java76 * Associates the given animator with the provided drawable state specs so that it will be run
80 * @param animator The animator to run when the specs match
82 public void addState(int[] specs, Animator animator) { argument
83 Tuple tuple = new Tuple(specs, animator);
86 mChangingConfigurations |= animator.getChangingConfigurations();
155 throw new AssertionError("cannot clone state list animator", e);
217 * Return a mask of the configuration parameters for which this animator may change, requiring
232 * Set a mask of the configuration parameters for which this animator may change, requiring
248 * This method is called while loading the animator
282 Tuple(int[] specs, Animator animator) argument
315 StateListAnimatorConstantState(StateListAnimator animator) argument
[all...]
/frameworks/base/core/java/android/app/
H A DEnterTransitionCoordinator.java679 ObjectAnimator animator = null;
684 animator = ObjectAnimator.ofFloat(snapshot, View.ALPHA, 1, 0);
685 animator.start();
687 animator.addListener(new AnimatorListenerAdapter() {
/frameworks/base/core/java/android/transition/
H A DChangeImageTransform.java174 ObjectAnimator animator;
176 animator = createNullAnimator(imageView);
185 animator = createMatrixAnimator(imageView, startMatrix, endMatrix);
187 return animator;
H A DChangeTransform.java301 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(pathAnimatorMatrix,
347 animator.addListener(listener);
348 animator.addPauseListener(listener);
349 return animator;
H A DFade.java125 Log.d(LOG_TAG, "Created animator " + anim);
181 public void onAnimationStart(Animator animator) { argument
189 public void onAnimationEnd(Animator animator) { argument
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...]
H A DTranslationAnimationCreator.java29 * This class is used by Slide and Explode to create an animator that goes from the start
36 * Creates an animator that can be used for x and/or y translations. When interrupted,
47 * @param interpolator The interpolator to use with this animator.
48 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
123 public void onAnimationEnd(Animator animator) { argument
127 public void onAnimationPause(Animator animator) { argument
135 public void onAnimationResume(Animator animator) { argument
H A DVisibility.java420 Animator animator = onDisappear(sceneRoot, overlayView, startValues, endValues);
421 if (animator == null) {
432 return animator;
438 Animator animator = onDisappear(sceneRoot, viewToKeep, startValues, endValues);
439 if (animator != null) {
442 animator.addListener(disappearListener);
443 animator.addPauseListener(disappearListener);
448 return animator;
/frameworks/base/core/java/android/view/
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 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 DThreadedRenderer.java880 void registerAnimatingRenderNode(RenderNode animator) { argument
881 nRegisterAnimatingRenderNode(mRootNode.mNativeRenderNode, animator.mNativeRenderNode);
H A DViewPropertyAnimator.java105 * A lazily-created ValueAnimator used in order to get some default animator properties
124 * request several animations prior to actually starting the underlying animator. This
125 * enables us to run one single animator to handle several properties in parallel. Each
128 * on that list are added to the list of properties associated with that animator.
162 * underlying animator) after the caller is done setting the properties that should be
213 * This list tracks the list of properties being animated by any particular animator.
214 * In most situations, there would only ever be one animator running at a time. But it is
218 * animator handling the animation. On every update event for an Animator, we ask the
257 * Sets the duration for the underlying animator that animates the requested properties.
258 * By default, the animator use
[all...]
H A DViewPropertyAnimatorRT.java84 RenderNodeAnimator animator = new RenderNodeAnimator(property, finalValue);
85 animator.setStartDelay(startDelay);
86 animator.setDuration(duration);
87 animator.setInterpolator(interpolator);
88 animator.setTarget(mView);
89 animator.start();
91 mAnimators[property] = animator;
106 // animator subsystem instead of multiple.
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;
H A DDatePickerCalendarDelegate.java161 mAnimator = (ViewAnimator) mContainer.findViewById(R.id.animator);
H A DProgressBar.java1317 final ObjectAnimator animator = ObjectAnimator.ofFloat(this, VISUAL_PROGRESS, scale);
1318 animator.setAutoCancel(true);
1319 animator.setDuration(PROGRESS_ANIM_DURATION);
1320 animator.setInterpolator(PROGRESS_ANIM_INTERPOLATOR);
1321 animator.start();
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java449 ValueAnimator animator = ValueAnimator.ofFloat(0f, 1f);
450 animator.setDuration(duration);
451 animator.setStartDelay(delay);
452 animator.setInterpolator(interpolator);
453 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
463 animator.addListener(new AnimatorListenerAdapter() {
471 animator.start();
512 RenderNodeAnimator animator = new RenderNodeAnimator(cellState.hwPaint,
514 animator.setDuration(duration);
515 animator
[all...]
/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_RenderNodeAnimator.cpp50 virtual void onAnimationFinished(BaseRenderNodeAnimator* animator) { argument
51 LOG_ALWAYS_FATAL("Lifecycle failure, nStart(%p) wasn't called", animator);
111 BaseRenderNodeAnimator* animator = new RenderPropertyAnimator(property, finalValue); local
112 animator->setListener(&sLifecycleChecker);
113 return reinterpret_cast<jlong>( animator );
119 BaseRenderNodeAnimator* animator = new CanvasPropertyPrimitiveAnimator(canvasProperty, finalValue); local
120 animator->setListener(&sLifecycleChecker);
121 return reinterpret_cast<jlong>( animator );
129 BaseRenderNodeAnimator* animator = new CanvasPropertyPaintAnimator( local
131 animator
137 BaseRenderNodeAnimator* animator = new RevealAnimator(centerX, centerY, startRadius, endRadius); local
143 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
154 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
165 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
171 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
176 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
181 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
186 BaseRenderNodeAnimator* animator = reinterpret_cast<BaseRenderNodeAnimator*>(animatorPtr); local
[all...]
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);

Completed in 6594 milliseconds

12345