/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | PlayAnimationThread.java | 30 public PlayAnimationThread(Animator animator, RenderSessionImpl scene, String animName, argument 33 mAnimator = animator;
|
/frameworks/support/transition/src/main/java/androidx/transition/ |
H A D | AnimatorUtils.java | 29 static void addPauseListener(@NonNull Animator animator, argument 32 animator.addPauseListener(listener); 36 static void pause(@NonNull Animator animator) { argument 38 animator.pause(); 40 final ArrayList<Animator.AnimatorListener> listeners = animator.getListeners(); 45 ((AnimatorPauseListenerCompat) listener).onAnimationPause(animator); 52 static void resume(@NonNull Animator animator) { argument 54 animator.resume(); 56 final ArrayList<Animator.AnimatorListener> listeners = animator.getListeners(); 61 ((AnimatorPauseListenerCompat) listener).onAnimationResume(animator); [all...] |
H A D | ImageViewUtils.java | 87 * the specified animator ends. 89 static void reserveEndAnimateTransform(final ImageView view, Animator animator) { argument 91 animator.addListener(new AnimatorListenerAdapter() {
|
H A D | TranslationAnimationCreator.java | 27 * This class is used by Slide and Explode to create an animator that goes from the start 34 * Creates an animator that can be used for x and/or y translations. When interrupted, 45 * @param interpolator The interpolator to use with this animator. 46 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 116 public void onAnimationEnd(Animator animator) { argument 122 public void onAnimationPause(Animator animator) { argument 130 public void onAnimationResume(Animator animator) { argument
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | SimpleAnimatorListener.java | 39 public void onAnimationCancel(Animator animator) { argument 44 public void onAnimationEnd(Animator animator) { argument 46 onAnimationComplete(animator); 51 public void onAnimationRepeat(Animator animator) {} argument 54 public void onAnimationStart(Animator animator) { argument 61 public void onAnimationComplete(Animator animator) {} argument
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | MediaNowPlayingView.java | 135 private void startAnimation(Animator animator) { argument 136 if (!animator.isStarted()) { 137 animator.start(); 141 private void stopAnimation(Animator animator, View view) { argument 142 if (animator.isStarted()) { 143 animator.cancel();
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/ |
H A D | ViewPropertyAnimatorCompatSet.java | 52 public ViewPropertyAnimatorCompatSet play(ViewPropertyAnimatorCompat animator) { argument 54 mAnimators.add(animator); 69 for (ViewPropertyAnimatorCompat animator : mAnimators) { 71 animator.setDuration(mDuration); 74 animator.setInterpolator(mInterpolator); 77 animator.setListener(mProxyListener); 79 animator.start(); 93 for (ViewPropertyAnimatorCompat animator : mAnimators) { 94 animator.cancel();
|
/frameworks/base/core/java/android/animation/ |
H A D | StateListAnimator.java | 76 * 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 D | Animator.java | 47 * 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 657 AnimatorConstantState(Animator animator) argument [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | Fade.java | 126 Log.d(LOG_TAG, "Created animator " + anim); 183 public void onAnimationStart(Animator animator) { argument 191 public void onAnimationEnd(Animator animator) { argument
|
H A D | TranslationAnimationCreator.java | 29 * 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 D | AnimationContext.cpp | 78 void AnimationContext::callOnFinished(BaseRenderNodeAnimator* animator, argument 80 listener->onAnimationFinished(animator);
|
H A D | AnimatorManager.cpp | 30 static void detach(sp<BaseRenderNodeAnimator>& animator) { argument 31 animator->detach(); 41 void AnimatorManager::addAnimator(const sp<BaseRenderNodeAnimator>& animator) { argument 42 RenderNode* stagingTarget = animator->stagingTarget(); 46 mNewAnimators.emplace_back(animator.get()); 47 // If the animator is already attached to other RenderNode, remove it from that RenderNode's 48 // new animator list. This ensures one animator only ends up in one newAnimatorList during one 51 stagingTarget->removeAnimator(animator); 53 animator 56 removeAnimator(const sp<BaseRenderNodeAnimator>& animator) argument 90 onAnimatorTargetChanged(BaseRenderNodeAnimator* animator) argument 100 operator ()(sp<BaseRenderNodeAnimator>& animator) argument 153 endStagingAnimator(sp<BaseRenderNodeAnimator>& animator) argument 172 operator ()(sp<BaseRenderNodeAnimator>& animator) argument [all...] |
H A D | PropertyValuesAnimatorSet.cpp | 29 PropertyAnimator* animator = new PropertyAnimator( local 31 mAnimators.emplace_back(animator); 33 // Check whether any child animator is infinite after adding it them to the set. 46 void PropertyValuesAnimatorSet::onFinished(BaseRenderNodeAnimator* animator) { argument 58 listener->onAnimationFinished(animator); 166 // might be another animator modifying the same property after this animator finishes, we need 182 void PropertyAnimatorSetListener::onAnimationFinished(BaseRenderNodeAnimator* animator) { argument 183 mSet->onFinished(animator);
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
H A D | AnimationProps.java | 116 * Applies the specific start delay, duration and interpolator to the given {@param animator} 119 public <T extends ValueAnimator> T apply(@PropType int propertyType, T animator) { argument 120 animator.setStartDelay(getStartDelay(propertyType)); 121 animator.setDuration(getDuration(propertyType)); 122 animator.setInterpolator(getInterpolator(propertyType)); 123 return animator; 203 * Sets an animator listener for this animation. 211 * Returns the animator listener for this animation.
|
H A D | Utilities.java | 209 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/pip/tv/ |
H A D | PipControlButtonView.java | 160 private static void cancelAnimator(Animator animator) { argument 161 if (animator.isStarted()) { 162 animator.cancel(); 176 // animator.
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | LocalAnimationAdapter.java | 41 LocalAnimationAdapter(AnimationSpec spec, SurfaceAnimationRunner animator) { argument 43 mAnimator = animator;
|
/frameworks/support/leanback/api21/androidx/leanback/transition/ |
H A D | TranslationAnimationCreator.java | 20 * This class is used by Slide and Explode to create an animator that goes from the start 30 * Creates an animator that can be used for x and/or y translations. When interrupted, 41 * @param interpolator The interpolator to use with this animator. 42 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was 117 public void onAnimationEnd(Animator animator) { argument 121 public void onAnimationPause(Animator animator) { argument 129 public void onAnimationResume(Animator animator) { argument
|
/frameworks/base/core/jni/ |
H A D | android_view_RenderNodeAnimator.cpp | 50 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 D | FlingAnimationUtils.java | 98 * Applies the interpolator and length to the animator, such that the fling animation is 101 * @param animator the animator to apply 103 * @param endValue the end value of the animator 106 public void apply(Animator animator, float currValue, float endValue, float velocity) { argument 107 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); 111 * Applies the interpolator and length to the animator, such that the fling animation is 114 * @param animator the animator to apply 116 * @param endValue the end value of the animator 119 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity) argument 135 apply(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument 154 apply(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument 220 applyDismissing(Animator animator, float currValue, float endValue, float velocity, float maxDistance) argument 240 applyDismissing(ViewPropertyAnimator animator, float currValue, float endValue, float velocity, float maxDistance) argument [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | BurnInProtectionHelper.java | 266 public void onAnimationStart(Animator animator) { argument 270 public void onAnimationEnd(Animator animator) { argument 271 if (animator == mCenteringAnimator && !mBurnInProtectionActive) { 280 public void onAnimationCancel(Animator animator) { argument 284 public void onAnimationRepeat(Animator animator) { argument
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable_Delegate.java | 73 ObjectAnimator animator = new ObjectAnimator(); 74 animator.setValues(holder.getValues()); 75 animator.setInterpolator( 77 animator.setStartDelay(startDelay); 78 animator.setDuration(duration); 79 animator.setRepeatCount(repeatCount); 80 animator.setRepeatMode(repeatMode); 81 animator.setTarget(holder); 82 animator.setPropertyName(holder.getValues().getPropertyName()); 86 set.addAnimator(animator); 190 addAnimator(@onNull Animator animator) argument [all...] |
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | FragmentAnimatorTest.java | 445 assertNull(fragment1.animator); 446 assertNull(fragment2.animator); 469 .setCustomAnimations(0, 0, 0, R.animator.slow_fade_out) 542 assertNotNull(fragment.animator); 557 public Animator animator; field in class:FragmentAnimatorTest.AnimatorFragment 570 this.animator = ValueAnimator.ofFloat(0, 1).setDuration(1); 572 this.animator.addListener(new AnimatorListenerAdapter() { 585 return this.animator;
|
/frameworks/support/leanback/kitkat/androidx/leanback/transition/ |
H A D | SlideKitkat.java | 278 public void onAnimationCancel(Animator animator) { argument 288 public void onAnimationEnd(Animator animator) { argument 296 public void onAnimationPause(Animator animator) { argument 303 public void onAnimationResume(Animator animator) { argument
|