Searched defs:animator (Results 1 - 25 of 44) 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/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
H A DRecentsRowFocusAnimationHolder.java89 private static void cancelAnimator(Animator animator) { argument
90 if (animator.isStarted()) {
91 animator.cancel();
/frameworks/support/v7/appcompat/src/android/support/v7/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.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...]
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...]
/frameworks/base/core/java/android/transition/
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 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/libs/hwui/
H A DAnimationContext.cpp80 void AnimationContext::callOnFinished(BaseRenderNodeAnimator* animator, argument
82 listener->onAnimationFinished(animator);
H A DAnimatorManager.cpp30 static void detach(sp<BaseRenderNodeAnimator>& animator) { argument
31 animator->detach();
44 void AnimatorManager::addAnimator(const sp<BaseRenderNodeAnimator>& animator) { argument
45 RenderNode* stagingTarget = animator->stagingTarget();
49 mNewAnimators.emplace_back(animator.get());
50 // If the animator is already attached to other RenderNode, remove it from that RenderNode's
51 // new animator list. This ensures one animator only ends up in one newAnimatorList during one
54 stagingTarget->removeAnimator(animator);
56 animator
59 removeAnimator(const sp<BaseRenderNodeAnimator>& animator) argument
91 onAnimatorTargetChanged(BaseRenderNodeAnimator* animator) argument
101 operator ()(sp<BaseRenderNodeAnimator>& animator) argument
154 endStagingAnimator(sp<BaseRenderNodeAnimator>& animator) argument
173 operator ()(sp<BaseRenderNodeAnimator>& animator) argument
[all...]
H A DPropertyValuesAnimatorSet.cpp29 PropertyAnimator* animator = new PropertyAnimator(propertyValuesHolder, local
31 mAnimators.emplace_back(animator);
42 void PropertyValuesAnimatorSet::onFinished(BaseRenderNodeAnimator* animator) { argument
44 mOneShotListener->onAnimationFinished(animator);
128 // be another animator modifying the same property after this animator finishes, we need
140 void PropertyAnimatorSetListener::onAnimationFinished(BaseRenderNodeAnimator* animator) { argument
141 mSet->onFinished(animator);
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
H A DPipControlButtonView.java140 private static void cancelAnimator(Animator animator) { argument
141 if (animator.isStarted()) {
142 animator.cancel();
156 // animator.
H A DPipRecentsControlsView.java96 Animator animator = AnimatorInflater.loadAnimator(getContext(), animatorResId);
97 animator.setTarget(view);
98 return animator;
142 private static void startAnimator(Animator animator, Animator previousAnimator) { argument
144 if (!animator.isStarted()) {
145 animator.start();
149 private static void cancelAnimator(Animator animator) { argument
150 if (animator.isStarted()) {
151 animator.cancel();
/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.java149 private Animator setupAnimator(Animator animator) { argument
150 animator.setInterpolator(mInterpolator);
151 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/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryItemAnimator.java171 public void onAnimationUpdate(ValueAnimator animator) { argument
172 viewHolder.itemView.setBackgroundColor((Integer)animator.getAnimatedValue());
176 public void onAnimationEnd(Animator animator) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java209 public static void cancelAnimationWithoutCallbacks(Animator animator) { argument
210 if (animator != null && animator.isStarted()) {
211 removeAnimationListenersRecursive(animator);
212 animator.cancel();
217 * Recursively removes all the listeners of all children of this animator
219 public static void removeAnimationListenersRecursive(Animator animator) { argument
220 if (animator instanceof AnimatorSet) {
221 ArrayList<Animator> animators = ((AnimatorSet) animator).getChildAnimations();
226 animator
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DAnimationProps.java118 * Applies the specific start delay, duration and interpolator to the given {@param animator}
121 public <T extends ValueAnimator> T apply(@PropType int propertyType, T animator) { argument
122 animator.setStartDelay(getStartDelay(propertyType));
123 animator.setDuration(getDuration(propertyType));
124 animator.setInterpolator(getInterpolator(propertyType));
127 animator.setCurrentPlayTime(initialPlayTime);
129 return animator;
234 * Sets an animator listener for this animation.
242 * Returns the animator listener for this animation.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DFlingAnimationUtils.java62 * Applies the interpolator and length to the animator, such that the fling animation is
65 * @param animator the animator to apply
67 * @param endValue the end value of the animator
70 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument
71 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
75 * Applies the interpolator and length to the animator, such that the fling animation is
78 * @param animator the animator to apply
80 * @param endValue the end value of the animator
83 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity) argument
99 apply(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument
118 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument
166 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument
186 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DDozeScrimController.java215 private void setCurrentAnimator(boolean inFront, Animator animator) { argument
217 mInFrontAnimator = animator;
219 mBehindAnimator = animator;
/frameworks/base/services/core/java/com/android/server/policy/
H A DBurnInProtectionHelper.java260 public void onAnimationStart(Animator animator) { argument
264 public void onAnimationEnd(Animator animator) { argument
265 if (animator == mCenteringAnimator && !mBurnInProtectionActive) {
274 public void onAnimationCancel(Animator animator) { argument
278 public void onAnimationRepeat(Animator animator) { argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DDimLayerController.java145 + " state.animator=" + state.animator);
146 if (newWinAnimator.getShown() && (state.animator == null
147 || !state.animator.getShown()
148 || state.animator.mAnimLayer <= newWinAnimator.mAnimLayer)) {
149 state.animator = newWinAnimator;
150 if (state.animator.mWin.mAppToken == null && !dimLayerUser.dimFullscreen()) {
175 if (state.animator != null && state.animator.mWin.mWillReplaceWindow) {
180 state.animator
305 applyDimBehind(DimLayer.DimLayerUser dimLayerUser, WindowStateAnimator animator) argument
309 applyDimAbove(DimLayer.DimLayerUser dimLayerUser, WindowStateAnimator animator) argument
313 applyDim( DimLayer.DimLayerUser dimLayerUser, WindowStateAnimator animator, boolean aboveApp) argument
331 WindowStateAnimator animator; field in class:DimLayerController.DimLayerState
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DAnimatedVectorDrawable_Delegate.java68 ObjectAnimator animator = new ObjectAnimator();
69 animator.setValues(holder.getValues());
70 animator.setInterpolator(
72 animator.setStartDelay(startDelay);
73 animator.setDuration(duration);
74 animator.setRepeatCount(repeatCount);
75 animator.setTarget(holder);
76 animator.setPropertyName(holder.getValues().getPropertyName());
80 set.addAnimator(animator);
176 private void addAnimator(@NonNull Animator animator) { argument
[all...]
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DTranslationAnimationCreator.java16 * This class is used by Slide and Explode to create an animator that goes from the start
24 * Creates an animator that can be used for x and/or y translations. When interrupted,
35 * @param interpolator The interpolator to use with this animator.
36 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was
111 public void onAnimationEnd(Animator animator) { argument
115 public void onAnimationPause(Animator animator) { argument
123 public void onAnimationResume(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

Completed in 579 milliseconds

12