Searched defs:animator (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPlayAnimationThread.java30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, argument
33 mAnimator = animator;
/frameworks/base/core/java/android/transition/
H A DFade.java118 Log.d(LOG_TAG, "Created animator " + anim);
160 public void onAnimationStart(Animator animator) { argument
168 public void onAnimationEnd(Animator animator) { argument
176 public void onAnimationPause(Animator animator) { argument
182 public void onAnimationResume(Animator animator) { argument
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
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java154 public static void cancelAnimationWithoutCallbacks(Animator animator) { argument
155 if (animator != null) {
156 animator.removeAllListeners();
157 animator.cancel();
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DViewPropertyAnimatorCompatSet.java47 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { argument
49 mAnimators.add(animator);
64 for (ViewPropertyAnimatorCompat animator : mAnimators) {
66 animator.setDuration(mDuration);
69 animator.setInterpolator(mInterpolator);
72 animator.setListener(mProxyListener);
74 animator.start();
88 for (ViewPropertyAnimatorCompat animator : mAnimators) {
89 animator.cancel();
/frameworks/base/core/java/android/animation/
H A DStateListAnimator.java75 * Associates the given animator with the provided drawable state specs so that it will be run
79 * @param animator The animator to run when the specs match
81 public void addState(int[] specs, Animator animator) { argument
82 Tuple tuple = new Tuple(specs, animator);
85 mChangingConfigurations |= animator.getChangingConfigurations();
154 throw new AssertionError("cannot clone state list animator", e);
216 * Return a mask of the configuration parameters for which this animator may change, requiring
231 * Set a mask of the configuration parameters for which this animator may change, requiring
247 * This method is called while loading the animator
281 Tuple(int[] specs, Animator animator) argument
314 StateListAnimatorConstantState(StateListAnimator animator) argument
[all...]
H A DAnimator.java41 * Whether this animator is currently in a paused state.
52 * If this animator is inflated from a constant state, keep a reference to it so that
53 * ConstantState will not be garbage collected until this animator is collected
61 * {@link AnimatorListener#onAnimationStart(Animator)} for any listeners of this animator.
121 * Resumes a paused animation, causing the animator to pick up where it left off
123 * which the animation was started. Calls to resume() on an animator that is
145 * Returns whether this animator is currently in a paused state.
147 * @return True if the animator is currently paused, false otherwise.
215 * Animators (which most Animators are, apart from the one-shot animator produced by
272 * Adds a pause listener to this animator
548 AnimatorConstantState(Animator animator) argument
[all...]
/frameworks/base/libs/hwui/
H A DAnimationContext.cpp80 void AnimationContext::callOnFinished(BaseRenderNodeAnimator* animator, argument
82 listener->onAnimationFinished(animator);
H A DAnimatorManager.cpp30 static void unref(BaseRenderNodeAnimator* animator) { argument
31 animator->detach();
32 animator->decStrong(nullptr);
45 void AnimatorManager::addAnimator(const sp<BaseRenderNodeAnimator>& animator) { argument
46 animator->incStrong(nullptr);
47 animator->attach(&mParent);
48 mNewAnimators.push_back(animator.get());
86 bool operator() (BaseRenderNodeAnimator* animator) { argument
87 dirtyMask |= animator->dirtyMask();
88 bool remove = animator
142 endStagingAnimator(BaseRenderNodeAnimator* animator) argument
162 operator ()(BaseRenderNodeAnimator* animator) argument
[all...]
/frameworks/support/design/base/android/support/design/widget/
H A DValueAnimatorCompat.java32 * @param animator The animation which was repeated.
34 void onAnimationUpdate(ValueAnimatorCompat animator); argument
46 * @param animator The started animation.
48 void onAnimationStart(ValueAnimatorCompat animator); argument
53 * @param animator The animation which reached its end.
55 void onAnimationEnd(ValueAnimatorCompat animator); argument
60 * @param animator The animation which was canceled.
62 void onAnimationCancel(ValueAnimatorCompat animator); argument
67 public void onAnimationStart(ValueAnimatorCompat animator) { argument
71 public void onAnimationEnd(ValueAnimatorCompat animator) { argument
75 onAnimationCancel(ValueAnimatorCompat animator) argument
[all...]
/frameworks/support/design/lollipop/android/support/design/widget/
H A DFloatingActionButtonLollipop.java128 private Animator setupAnimator(Animator animator) { argument
129 animator.setInterpolator(mInterpolator);
130 return animator;
/frameworks/base/core/jni/
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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java67 * Applies the interpolator and length to the animator, such that the fling animation is
70 * @param animator the animator to apply
72 * @param endValue the end value of the animator
75 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument
76 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
80 * Applies the interpolator and length to the animator, such that the fling animation is
83 * @param animator the animator to apply
85 * @param endValue the end value of the animator
88 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity) argument
104 apply(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument
123 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument
171 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument
191 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument
[all...]
H A DKeyguardAffordanceView.java245 RenderNodeAnimator animator = new RenderNodeAnimator(mHwCirclePaint,
247 animator.setDuration(duration);
248 animator.setInterpolator(PhoneStatusBar.ALPHA_OUT);
249 animator.setTarget(this);
250 animator.start();
254 RenderNodeAnimator animator = new RenderNodeAnimator(mHwCircleRadius, circleRadius);
255 animator.setTarget(this);
256 return animator;
316 ValueAnimator animator = getAnimatorToRadius(circleRadius);
320 animator
366 cancelAnimator(Animator animator) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeScrimController.java196 private void setCurrentAnimator(boolean inFront, Animator animator) { argument
198 mInFrontAnimator = animator;
200 mBehindAnimator = animator;
H A DTrustDrawable.java249 private ValueAnimator configureAnimator(ValueAnimator animator, long duration, argument
252 animator.setDuration(duration);
253 animator.addUpdateListener(updateListener);
254 animator.setInterpolator(interpolator);
256 animator.setRepeatCount(ValueAnimator.INFINITE);
257 animator.setRepeatMode(ValueAnimator.REVERSE);
259 return animator;
/frameworks/base/services/core/java/com/android/server/policy/
H A DBurnInProtectionHelper.java255 public void onAnimationStart(Animator animator) { argument
259 public void onAnimationEnd(Animator animator) { argument
260 if (animator == mCenteringAnimator && !mBurnInProtectionActive) {
267 public void onAnimationCancel(Animator animator) { argument
271 public void onAnimationRepeat(Animator animator) { argument
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
H A DSlideKitkat.java275 public void onAnimationCancel(Animator animator) { argument
285 public void onAnimationEnd(Animator animator) { argument
293 public void onAnimationPause(Animator animator) { argument
300 public void onAnimationResume(Animator animator) { argument
/frameworks/support/v17/preference-leanback/api21/android/support/v17/preference/
H A DLeanbackPreferenceFragmentTransitionHelperApi21.java201 * This class is used by Slide and Explode to create an animator that goes from the start
208 * Creates an animator that can be used for x and/or y translations. When interrupted,
216 * @param interpolator The interpolator to use with this animator.
217 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
281 public void onAnimationEnd(Animator animator) { argument
285 public void onAnimationPause(Animator animator) { argument
291 public void onAnimationResume(Animator animator) { argument
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DAnimatedVectorDrawableCompat.java96 * complete this example, here are the 2 animator files used in avd.xml: rotation.xml and
420 private void setupAnimatorsForTarget(String name, Animator animator) { argument
422 animator.setTarget(target);
427 mAnimatedVectorState.mAnimators.add(animator);
428 mAnimatedVectorState.mTargetNameMap.put(animator, name);
430 Log.v(LOGTAG, "add animator for target " + name + " " + animator);
439 final Animator animator = animators.get(i);
440 if (animator.isRunning()) {
454 final Animator animator
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java509 abstract void registerAnimatingRenderNode(RenderNode animator); argument
H A DRenderNodeAnimator.java125 * Creates a new render node animator for a field on a Paint property.
406 * @return true if the animator was started, false if still delayed
440 public void addDelayedAnimation(RenderNodeAnimator animator) { argument
441 mDelayedAnims.add(animator);
445 public void removeDelayedAnimation(RenderNodeAnimator animator) { argument
446 mDelayedAnims.remove(animator);
463 RenderNodeAnimator animator = mDelayedAnims.get(i);
464 if (!animator.processDelayed(frameTimeMs)) {
466 mDelayedAnims.set(end, animator);
482 private static void callOnFinished(RenderNodeAnimator animator) { argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java101 * To complete this example, here are the 2 animator files used in avd.xml:
140 /** Local, mutable animator set. */
151 /** Whether the animator set has been prepared. */
343 // applyTheme(), postpone loading the animator
463 public void addTargetAnimator(String targetName, Animator animator) { argument
468 mAnimators.add(animator);
469 mTargetNameMap.put(animator, targetName);
472 Log.v(LOGTAG, "add animator for target " + targetName + " " + animator);
483 * @param animatorSet the animator se
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DPasswordTextView.java571 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f);
572 animator.addUpdateListener(dotSizeUpdater);
573 animator.addListener(dotFinishListener);
574 animator.setInterpolator(mDisappearInterpolator);
576 animator.setDuration(duration);
577 animator.setStartDelay(startDelay);
578 animator.start();
579 dotAnimator = animator;
647 private void cancelAnimator(Animator animator) { argument
648 if (animator !
[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
399 // we need to increase all animation keyframes of the previous animator by the
416 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue);
417 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
424 animator.setInterpolator(mFastOutSlowInInterpolator);
426 animator.setDuration(newDuration);
428 animator.setStartDelay(delay);
430 animator.addListener(getGlobalAnimationFinishedListener());
432 animator.addListener(new AnimatorListenerAdapter() {
440 startAnimator(animator);
740 startAnimator(ValueAnimator animator) argument
[all...]

Completed in 816 milliseconds

12