/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable_Delegate.java | 68 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/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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ViewInvertHelper.java | 66 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); 67 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 76 animator.addListener(new AnimatorListenerAdapter() { 86 animator.setDuration(mFadeDuration); 87 animator.setInterpolator(Interpolators.LINEAR_OUT_SLOW_IN); 88 animator.setStartDelay(delay); 89 animator.start();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationViewWrapper.java | 94 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); 95 animator.addUpdateListener(updateListener); 96 animator.setDuration(NotificationPanelView.DOZE_ANIMATION_DURATION); 97 animator.setInterpolator(Interpolators.LINEAR_OUT_SLOW_IN); 98 animator.setStartDelay(delay); 100 animator.addListener(listener); 102 animator.start();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | FocusHighlightHelper.java | 171 FocusAnimator animator = (FocusAnimator) view.getTag(R.id.lb_focus_animator); 172 if (animator == null) { 173 animator = new FocusAnimator( 175 view.setTag(R.id.lb_focus_animator, animator); 177 return animator; 251 FocusAnimator animator = (FocusAnimator) view.getTag(R.id.lb_focus_animator); 252 if (animator == null) { 253 animator = new HeaderFocusAnimator(view, sSelectScale, sDuration); 254 view.setTag(R.id.lb_focus_animator, animator); 256 animator [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 120 * 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/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | AnimationProps.java | 118 * 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/recents/tv/animations/ |
H A D | RecentsRowFocusAnimationHolder.java | 89 private static void cancelAnimator(Animator animator) { argument 90 if (animator.isStarted()) { 91 animator.cancel();
|
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/ |
H A D | MainActivity.java | 74 RenderNodeAnimator animator = new RenderNodeAnimator( 76 animator.setDuration(DURATION); 78 animator.setTarget(child); 79 animator.start();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardAffordanceHelper.java | 248 ValueAnimator animator = getAnimatorToRadius(right, mHintGrowAmount); 249 animator.addListener(new AnimatorListenerAdapter() { 268 animator.setInterpolator(Interpolators.LINEAR_OUT_SLOW_IN); 269 animator.setDuration(HINT_PHASE1_DURATION); 270 animator.start(); 271 mSwipeAnimator = animator; 279 ValueAnimator animator = getAnimatorToRadius(right, 0); 280 animator.addListener(new AnimatorListenerAdapter() { 288 animator.setInterpolator(Interpolators.FAST_OUT_LINEAR_IN); 289 animator [all...] |
H A D | TrustDrawable.java | 238 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;
|
H A D | PanelView.java | 650 ValueAnimator animator = createHeightAnimator(target); 655 mFlingAnimationUtils.apply(animator, mExpandedHeight, target, vel, getHeight()); 657 animator.setDuration(350); 660 mFlingAnimationUtils.applyDismissing(animator, mExpandedHeight, target, vel, 665 animator.setDuration((long) 666 (animator.getDuration() * getCannedFlingDurationFactor() 670 animator.addListener(new AnimatorListenerAdapter() { 690 mHeightAnimator = animator; 691 animator.start(); 959 ValueAnimator animator [all...] |
/frameworks/base/libs/hwui/ |
H A D | PropertyValuesAnimatorSet.h | 66 void onFinished(BaseRenderNodeAnimator* animator); 77 virtual void onAnimationFinished(BaseRenderNodeAnimator* animator) override;
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatedVectorDrawableCompat.java | 177 // 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/core/java/android/view/ |
H A D | RenderNodeAnimator.java | 125 * 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 D | ViewPropertyAnimator.java | 105 * 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
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/tv/pip/ |
H A D | PipOnboardingActivity.java | 78 Animator animator = AnimatorInflater.loadAnimator(this, animResId); 79 animator.setTarget(findViewById(viewResId)); 80 return animator;
|
H A D | PipControlButtonView.java | 140 private static void cancelAnimator(Animator animator) { argument 141 if (animator.isStarted()) { 142 animator.cancel(); 156 // animator.
|
/frameworks/base/tests/Assist/src/com/android/test/assist/ |
H A D | AssistInteractionSession.java | 134 Animator animator = ViewAnimationUtils.createCircularReveal(mBackground, centerX, centerY, 136 animator.setDuration(300); 137 animator.setInterpolator(fastOutSlowIn); 138 animator.start();
|
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/ |
H A D | LeanbackTransitionHelperKitKat.java | 38 R.animator.lb_decelerator_4));
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | BoundsAnimationController.java | 303 final BoundsAnimator animator = 305 mRunningAnimations.put(target, animator); 306 animator.setFloatValues(0f, 1f); 307 animator.setDuration((animationDuration != -1 ? animationDuration 309 animator.setInterpolator(new LinearInterpolator()); 310 animator.start();
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | BurnInProtectionHelper.java | 260 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/core/java/android/transition/ |
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/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | DirectoryItemAnimator.java | 171 public void onAnimationUpdate(ValueAnimator animator) { argument 172 viewHolder.itemView.setBackgroundColor((Integer)animator.getAnimatedValue()); 176 public void onAnimationEnd(Animator animator) { argument
|