/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
H A D | SimpleAnimatorListener.java | 33 public void onAnimationCancel(Animator animator) { argument 38 public void onAnimationEnd(Animator animator) { argument 40 onAnimationComplete(animator); 45 public void onAnimationRepeat(Animator animator) { argument 49 public void onAnimationStart(Animator animator) { argument 56 public void onAnimationComplete(Animator animator) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A D | TransitionUtils.java | 31 * Creates an object animator that use implements the alpha fade-in for an 41 ObjectAnimator animator = new ObjectAnimator(); 42 animator.setPropertyName("alpha"); 44 animator.setFloatValues(startAlpha.getFloat(), endAlpha.getFloat()); 46 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), 49 animator.setDuration(res.getInteger(R.integer.alpha_activity_in_bkg_duration)); 50 animator.setStartDelay(res.getInteger(R.integer.alpha_activity_in_bkg_delay)); 51 return animator; 61 ObjectAnimator animator = new ObjectAnimator(); 62 animator [all...] |
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
H A D | SetupAnimationHelper.java | 147 * Applies the animation scale to the given {@code animator}. 149 public static Animator applyAnimationTimeScale(Animator animator) { argument 150 if (animator instanceof AnimatorSet) { 151 for (Animator child : ((AnimatorSet) animator).getChildAnimations()) { 155 if (animator.getDuration() > 0) { 156 animator.setDuration((long) (animator.getDuration() * ANIMATION_TIME_SCALE)); 158 animator.setStartDelay((long) (animator.getStartDelay() * ANIMATION_TIME_SCALE)); 159 return animator; [all...] |
H A D | TranslationAnimationCreator.java | 15 * This class is used by Slide and Explode to create an animator that goes from the start position 24 * Creates an animator that can be used for x and/or y translations. When interrupted, it sets a 32 * @param interpolator The interpolator to use with this animator. 33 * @return An animator that moves from (startX, startY) to (endX, endY) unless there was a 96 public void onAnimationEnd(Animator animator) {} argument 99 public void onAnimationPause(Animator animator) { argument 105 public void onAnimationResume(Animator animator) { argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
H A D | SimpleScrollAdapterTransform.java | 61 int distanceFromCenter, Animator animator, View child) { 62 if (animator instanceof AnimatorSet) { 63 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations(); 67 } else if (animator instanceof ValueAnimator) { 68 ValueAnimator valueAnim = ((ValueAnimator) animator); 79 private void initializeTransformationRecursive(Animator animator, long defaultDuration) { argument 80 long duration = animator.getDuration(); 84 if (animator instanceof AnimatorSet) { 85 ArrayList<Animator> children = ((AnimatorSet) animator).getChildAnimations(); 89 } else if (animator instanceo 60 applyTransformationRecursive( int distanceFromCenter, Animator animator, View child) argument [all...] |
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
H A D | FingerprintLocationAnimationView.java | 126 ValueAnimator animator = ValueAnimator.ofFloat(0, mMaxPulseRadius); 127 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 134 animator.addListener(new AnimatorListenerAdapter() { 151 animator.setDuration(1000); 152 animator.setInterpolator(mLinearOutSlowInInterpolator); 153 animator.start(); 154 mRadiusAnimator = animator; 159 ValueAnimator animator = ValueAnimator.ofFloat(MAX_PULSE_ALPHA, 0f); 160 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 167 animator [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | AnimatedCircleDrawable.java | 89 final ValueAnimator animator = 91 animator.setDuration(CIRCLE_ANIM_DURATION_MS); 92 animator.setInterpolator(Gusterpolator.INSTANCE); 93 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 99 animator.start(); 103 final ValueAnimator animator = 105 animator.setDuration(CIRCLE_ANIM_DURATION_MS); 106 animator.setInterpolator(Gusterpolator.INSTANCE); 107 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { 113 animator [all...] |
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/ |
H A D | AnimUtils.java | 58 final ViewPropertyAnimator animator = fadeOut.animate(); 59 animator.cancel(); 60 animator.alpha(0).withLayer().setListener(new AnimatorListenerAdapter() { 79 animator.setDuration(durationMs); 81 animator.start(); 91 final ViewPropertyAnimator animator = fadeIn.animate(); 92 animator.cancel(); 94 animator.setStartDelay(delay); 95 animator.alpha(1).withLayer().setListener(new AnimatorListenerAdapter() { 117 animator [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | AnimationManager.java | 68 public void onAnimationStart(Animator animator) { 73 public void onAnimationEnd(Animator animator) { 78 public void onAnimationCancel(Animator animator) { 83 public void onAnimationRepeat(Animator animator) { 101 public void onAnimationStart(Animator animator) { 107 public void onAnimationEnd(Animator animator) { 118 public void onAnimationCancel(Animator animator) { 123 public void onAnimationRepeat(Animator animator) { 145 public void onAnimationStart(Animator animator) { 150 public void onAnimationEnd(Animator animator) { [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
H A D | HardwareLayerAnimatorListenerAdapter.java | 36 public void onAnimationStart(Animator animator) { argument 44 public void onAnimationEnd(Animator animator) { argument
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | AnimatorUtils.java | 95 public static void setAnimatedFraction(ValueAnimator animator, float fraction) { argument 97 animator.setCurrentFraction(fraction); 103 // internal animator scale or time (b/17938711) 111 sAnimateValue.invoke(animator, fraction); 122 animator.setCurrentPlayTime(Math.round(fraction * animator.getDuration())); 126 for (ValueAnimator animator : animators) { 127 final float fraction = animator.getAnimatedFraction(); 129 animator.reverse(); 130 setAnimatedFraction(animator, 1. [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyPreviewDrawParams.java | 162 final Animator animator = AnimatorInflater.loadAnimator( 164 animator.setTarget(target); 165 animator.setInterpolator(DECELERATE_INTERPOLATOR); 166 return animator; 182 final Animator animator = AnimatorInflater.loadAnimator( 184 animator.setTarget(target); 185 animator.setInterpolator(ACCELERATE_INTERPOLATOR); 186 return animator;
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
H A D | SideFragmentManager.java | 61 mShowAnimator = AnimatorInflater.loadAnimator(mActivity, R.animator.side_panel_enter); 63 mHideAnimator = AnimatorInflater.loadAnimator(mActivity, R.animator.side_panel_exit); 114 showEnterAnimation ? R.animator.side_panel_fragment_enter : 0, 115 R.animator.side_panel_fragment_exit, 116 R.animator.side_panel_fragment_pop_enter, 117 R.animator.side_panel_fragment_pop_exit); 198 AnimatorInflater.loadAnimator(mActivity, R.animator.side_panel_exit);
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | FilmstripBottomPanel.java | 275 ObjectAnimator animator = ObjectAnimator 277 animator.setDuration(ANIM_DURATION); 278 animator.setInterpolator(Gusterpolator.INSTANCE); 279 animator.addListener(new AnimatorListenerAdapter() { 286 animator.start(); 292 ObjectAnimator animator = ObjectAnimator 294 animator.setDuration(ANIM_DURATION); 295 animator.setInterpolator(Gusterpolator.INSTANCE); 297 animator.start();
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | ConversationMessageBubbleView.java | 107 public void onAnimationStart(Animator animator) { 111 public void onAnimationEnd(Animator animator) { 123 public void onAnimationCancel(Animator animator) { 127 public void onAnimationRepeat(Animator animator) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ConversationViewProgressController.java | 138 final Animator animator = AnimatorInflater.loadAnimator( 140 animator.setTarget(mBackgroundView); 141 animator.addListener(new AnimatorListenerAdapter() { 151 animator.start();
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
H A D | Tweener.java | 37 ObjectAnimator animator; field in class:Tweener 41 animator = anim; 44 private static void remove(Animator animator) { argument 48 if (entry.getValue().animator == animator) { 52 break; // an animator can only be attached to one object 109 anim = sTweens.get(object).animator; 168 tween.animator.cancel(); 170 tween.animator.setValues(
|
/packages/apps/TV/src/com/android/tv/menu/ |
H A D | MenuLayoutManager.java | 489 ObjectAnimator animator = createAlphaAnimator(currentTitleView, 0.0f, 1.0f, 491 animator.setStartDelay(mOldContentsFadeOutDuration); 493 animators.add(animator); 505 animator = createAlphaAnimator(currentContentsView, 0.0f, 1.0f, mFastOutLinearIn) 507 animator.setStartDelay(mOldContentsFadeOutDuration); 508 animators.add(animator); 523 ObjectAnimator animator = createAlphaAnimator(currentContentsView, 0.0f, 1.0f, 525 animator.setStartDelay(mOldContentsFadeOutDuration); 526 animators.add(animator); 566 public void onAnimationEnd(Animator animator) { [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
H A D | ConversationListSwipeHelper.java | 349 final ObjectAnimator animator = getSwipeTranslationXAnimator( 351 animator.addListener(new AnimatorListenerAdapter() { 357 animator.start(); 375 final ObjectAnimator animator = getSwipeTranslationXAnimator( 377 animator.addListener(new AnimatorListenerAdapter() { 383 animator.start(); 387 * Create and start an animator that animates the given view's translationX 392 final ObjectAnimator animator = 394 animator.setDuration(duration); 395 animator [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | PseudoEmergencyAnimator.java | 68 public void onAnimationUpdate(ValueAnimator animator) { 70 int color = (int) animator.getAnimatedValue(); 81 animator.cancel();
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | LauncherAnimUtils.java | 54 public static void startAnimationAfterNextDraw(final Animator animator, final View view) { argument 61 if (animator.getDuration() == 0) { 64 animator.start();
|
/packages/apps/TV/src/com/android/tv/guide/ |
H A D | ProgramGuide.java | 121 // When we share the one animator for two different animations, the starting value 299 R.animator.program_guide_side_panel_enter_full, 301 R.animator.program_guide_table_enter_full); 311 R.animator.program_guide_side_panel_enter_partial, 313 R.animator.program_guide_table_enter_partial); 323 R.animator.program_guide_side_panel_exit, 325 R.animator.program_guide_table_exit); 333 R.animator.program_guide_side_panel_exit, 335 R.animator.program_guide_table_exit); 344 R.animator [all...] |
/packages/apps/Camera2/src/com/android/camera/widget/ |
H A D | PeekView.java | 121 public void onAnimationStart(Animator animator) { 128 public void onAnimationEnd(Animator animator) { 135 public void onAnimationCancel(Animator animator) { 140 public void onAnimationRepeat(Animator animator) {
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | CircularRevealFragment.java | 130 final Animator animator = getRevealAnimator(mTouchPoint); 131 if (animator != null) { 132 animator.addListener(new AnimatorListenerAdapter() { 141 animator.start();
|
H A D | InCallAnimationUtils.java | 51 * call-backs via animator object (see also {@link CrossFadeDrawable#getAnimator()}). 128 ObjectAnimator animator = crossFadeDrawable.getAnimator(); 130 animator.setDuration(ANIMATION_DURATION); 131 animator.addListener(new AnimatorListenerAdapter() { 154 animator.start();
|