Home
last modified time | relevance | path

Searched refs:animation (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java20 import android.animation.ValueAnimator;
21 import android.animation.ValueAnimator.AnimatorUpdateListener;
80 public void onAnimationUpdate(final ValueAnimator animation) { in onAnimationUpdate() argument
87 final long currentPlayTime = animation.getCurrentPlayTime(); in onAnimationUpdate()
88 boolean isFinalFrame = Float.compare(1f, animation.getAnimatedFraction()) == 0; in onAnimationUpdate()
96 currentPlayTime < animation.getDuration() && !isFinalFrame) { in onAnimationUpdate()
107 animation.setCurrentPlayTime(0); in onAnimationUpdate()
117 animation.setCurrentPlayTime(singleFrameMS); in onAnimationUpdate()
121 mRootView.post(() -> animation.removeUpdateListener(this)); in onAnimationUpdate()
123 if (DEBUG) print(animation); in onAnimationUpdate()
[all …]
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DTemperatureBarOverlay.java18 import android.animation.Animator;
19 import android.animation.AnimatorSet;
20 import android.animation.ObjectAnimator;
21 import android.animation.ValueAnimator;
183 AnimatorSet animation = new AnimatorSet(); in getExpandAnimatons() local
185 return animation; in getExpandAnimatons()
211 animation.playTogether(list); in getExpandAnimatons()
212 animation.addListener(mStateListener); in getExpandAnimatons()
214 return animation; in getExpandAnimatons()
220 AnimatorSet animation = new AnimatorSet(); in getCollapseAnimations() local
[all …]
/packages/apps/Dialer/java/com/android/dialer/animation/
DAnimUtils.java17 package com.android.dialer.animation;
19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
24 import android.view.animation.Interpolator;
25 import android.view.animation.PathInterpolator;
55 public void onAnimationEnd(Animator animation) { in fadeOut()
63 public void onAnimationCancel(Animator animation) { in fadeOut()
94 public void onAnimationStart(Animator animation) { in fadeIn()
99 public void onAnimationCancel(Animator animation) { in fadeIn()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DTouchCircleDrawable.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.ValueAnimator;
195 public void onAnimationUpdate(ValueAnimator animation) { in animate()
196 mColorRadius = (Integer) animation.getAnimatedValue(); in animate()
199 mUpdateListener.onAnimationUpdate(animation); in animate()
206 public void onAnimationStart(Animator animation) { in animate()
210 mAnimatorListener.onAnimationStart(animation); in animate()
215 public void onAnimationEnd(Animator animation) { in animate()
219 mAnimatorListener.onAnimationEnd(animation); in animate()
[all …]
DCaptureAnimationOverlay.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ValueAnimator;
29 import android.view.animation.Interpolator;
30 import android.view.animation.LinearInterpolator;
64 public void onAnimationUpdate(ValueAnimator animation) { in CaptureAnimationOverlay()
65 float alpha = 255.0f * (Float) animation.getAnimatedValue(); in CaptureAnimationOverlay()
72 public void onAnimationStart(Animator animation) { in CaptureAnimationOverlay()
77 public void onAnimationEnd(Animator animation) { in CaptureAnimationOverlay()
83 public void onAnimationCancel(Animator animation) { in CaptureAnimationOverlay()
[all …]
DModeListView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.TimeInterpolator;
24 import android.animation.ValueAnimator;
392 public void onAnimationStart(Animator animation) { in snapOpenAndShow()
397 public void onAnimationEnd(Animator animation) { in snapOpenAndShow()
403 public void onAnimationCancel(Animator animation) { in snapOpenAndShow()
408 public void onAnimationRepeat(Animator animation) { in snapOpenAndShow()
[all …]
DModeTransitionView.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
22 import android.animation.ValueAnimator;
245 public void onAnimationUpdate(ValueAnimator animation) { in startPeepHoleAnimation()
264 public void onAnimationStart(Animator animation) { in startPeepHoleAnimation()
270 public void onAnimationEnd(Animator animation) { in startPeepHoleAnimation()
286 public void onAnimationCancel(Animator animation) { in startPeepHoleAnimation()
291 public void onAnimationRepeat(Animator animation) { in startPeepHoleAnimation()
347 public void onAnimationStart(Animator animation) { in snapShadeTo()
[all …]
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java20 import android.animation.Animator;
21 import android.animation.AnimatorListenerAdapter;
22 import android.animation.AnimatorSet;
23 import android.animation.ValueAnimator;
253 public void onAnimationUpdate(ValueAnimator animation) { in setupAnimators()
254 mRadius = (Float) animation.getAnimatedValue(); in setupAnimators()
261 public void onAnimationEnd(Animator animation) { in setupAnimators()
271 public void onAnimationUpdate(ValueAnimator animation) { in setupAnimators()
272 mActiveBar.setAlpha((Float) animation.getAnimatedValue()); in setupAnimators()
277 public void onAnimationEnd(Animator animation) { in setupAnimators()
[all …]
/packages/apps/Dialer/java/com/android/dialer/main/impl/toolbar/
DSearchBarView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
34 import com.android.dialer.animation.AnimUtils;
123 animator.addUpdateListener(animation -> setMargins((Float) animation.getAnimatedValue())); in expand()
128 public void onAnimationStart(Animator animation) { in expand()
129 super.onAnimationStart(animation); in expand()
135 public void onAnimationEnd(Animator animation) { in expand()
136 super.onAnimationEnd(animation); in expand()
160 animator.addUpdateListener(animation -> setMargins((Float) animation.getAnimatedValue())); in collapse()
[all …]
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
DAnimUtils.java17 package com.android.phone.common.animation;
19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
24 import android.view.animation.Interpolator;
62 public void onAnimationEnd(Animator animation) { in fadeOut()
70 public void onAnimationCancel(Animator animation) { in fadeOut()
97 public void onAnimationStart(Animator animation) { in fadeIn()
102 public void onAnimationCancel(Animator animation) { in fadeIn()
110 public void onAnimationEnd(Animator animation) { in fadeIn()
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ArgbEvaluator;
22 import android.animation.PropertyValuesHolder;
23 import android.animation.ValueAnimator;
34 import android.view.animation.Interpolator;
76 public void onAnimationEnd(Animator animation) {
83 public void onAnimationEnd(Animator animation) {
90 public void onAnimationEnd(Animator animation) {
97 public void onAnimationEnd(Animator animation) {
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
34 import android.view.animation.Animation;
35 import android.view.animation.Animation.AnimationListener;
36 import android.view.animation.LinearInterpolator;
37 import android.view.animation.Transformation;
47 private ScaleAnimation animation = new ScaleAnimation(); field in PieRenderer
255 public void onAnimationStart(Animation animation) {} in fadeIn()
258 public void onAnimationEnd(Animation animation) { in fadeIn()
263 public void onAnimationRepeat(Animation animation) {} in fadeIn()
[all …]
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintLocationAnimationView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
29 import android.view.animation.AnimationUtils;
30 import android.view.animation.Interpolator;
128 public void onAnimationUpdate(ValueAnimator animation) { in startRadiusAnimation()
129 mPulseRadius = (float) animation.getAnimatedValue(); in startRadiusAnimation()
138 public void onAnimationCancel(Animator animation) { in startRadiusAnimation()
143 public void onAnimationEnd(Animator animation) { in startRadiusAnimation()
161 public void onAnimationUpdate(ValueAnimator animation) { in startAlphaAnimation()
[all …]
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DUtils.java20 import android.view.animation.Animation;
21 import android.view.animation.Animation.AnimationListener;
22 import android.view.animation.AnimationUtils;
34 Animation animation = in setViewShown() local
41 animation.setAnimationListener( in setViewShown()
44 public void onAnimationStart(Animation animation) {} in setViewShown()
47 public void onAnimationRepeat(Animation animation) {} in setViewShown()
50 public void onAnimationEnd(Animation animation) { in setViewShown()
55 view.startAnimation(animation); in setViewShown()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DPseudoEmergencyAnimator.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.ArgbEvaluator;
22 import android.animation.ValueAnimator;
74 public void onAnimationCancel(Animator animation) {} in start()
77 public void onAnimationRepeat(Animator animation) { in start()
81 animation.cancel(); in start()
86 public void onAnimationStart(Animator animation) {} in start()
89 public void onAnimationEnd(Animator animation) { in start()
106 animation.cancel(); in start()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DCrossFadeHelper.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.AnimatorSet;
21 import android.animation.ValueAnimator;
22 import android.animation.ValueAnimator.AnimatorUpdateListener;
46 public void onAnimationUpdate(ValueAnimator animation) {
47 final float alpha = (float) animation.getAnimatedValue();
74 public void onAnimationEnd(Animator animation) { in getFadeInAnimator()
89 public void onAnimationEnd(Animator animation) { in getFadeOutAnimator()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DTwoButtonMethod.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.ValueAnimator;
25 import android.animation.ValueAnimator.AnimatorUpdateListener;
193 public void onAnimationCancel(Animator animation) { in answerCall()
198 public void onAnimationEnd(Animator animation) { in answerCall()
217 public void onAnimationCancel(Animator animation) { in rejectCall()
[all …]
DFlingUpDownMethod.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.ValueAnimator;
39 import android.support.v4.view.animation.FastOutLinearInInterpolator;
40 import android.support.v4.view.animation.FastOutSlowInInterpolator;
41 import android.support.v4.view.animation.LinearOutSlowInInterpolator;
42 import android.support.v4.view.animation.PathInterpolatorCompat;
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureBackgroundAnimator.java24 import android.animation.Animator;
25 import android.animation.AnimatorListenerAdapter;
26 import android.animation.AnimatorSet;
27 import android.animation.ObjectAnimator;
32 import android.view.animation.AnticipateInterpolator;
213 public void onAnimationStart(Animator animation) { in animateOpen()
217 mCircularReveal = animation; in animateOpen()
222 public void onAnimationCancel(Animator animation) { in animateOpen()
227 public void onAnimationEnd(Animator animation) { in animateOpen()
300 public void onAnimationStart(Animator animation) { in hideCircle()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DPageIndicatorDots.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
23 import android.animation.ValueAnimator;
24 import android.animation.ValueAnimator.AnimatorUpdateListener;
35 import android.view.animation.Interpolator;
36 import android.view.animation.OvershootInterpolator;
195 public void onAnimationUpdate(ValueAnimator animation) { in playEntryAnimation()
196 mEntryAnimationRadiusFactors[index] = (Float) animation.getAnimatedValue(); in playEntryAnimation()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java18 import android.animation.Animator;
19 import android.animation.AnimatorListenerAdapter;
20 import android.animation.ObjectAnimator;
21 import android.animation.PropertyValuesHolder;
22 import android.animation.RectEvaluator;
23 import android.animation.ValueAnimator;
24 import android.animation.ValueAnimator.AnimatorUpdateListener;
117 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate() argument
238 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
245 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
/packages/apps/Launcher3/src/com/android/launcher3/statemanager/
DStateManager.java19 import static android.animation.ValueAnimator.areAnimatorsEnabled;
24 import android.animation.Animator;
25 import android.animation.Animator.AnimatorListener;
26 import android.animation.AnimatorListenerAdapter;
27 import android.animation.AnimatorSet;
252 AnimatorSet animation = createAnimationToNewWorkspaceInternal(state).buildAnim(); in goToStateAnimated() local
254 animation.addListener(listener); in goToStateAnimated()
256 mUiHandler.post(new StartAnimRunnable(animation)); in goToStateAnimated()
329 public void onAnimationStart(Animator animation) { in createStateAnimationListener()
468 public void onAnimationEnd(Animator animation) {
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DLoadingViewController.java22 import android.view.animation.Animation;
23 import android.view.animation.AnimationUtils;
132 Animation animation = AnimationUtils.loadAnimation(view.getContext(), in setViewShown() local
137 animation.setAnimationListener(new Animation.AnimationListener() { in setViewShown()
139 public void onAnimationStart(Animation animation) { in setViewShown()
143 public void onAnimationRepeat(Animation animation) { in setViewShown()
147 public void onAnimationEnd(Animation animation) { in setViewShown()
152 view.startAnimation(animation); in setViewShown()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimControllerOverlay.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.ObjectAnimator;
61 public void onAnimationStart(Animator animation) { in showPlaying()
65 public void onAnimationEnd(Animator animation) { in showPlaying()
70 public void onAnimationCancel(Animator animation) { in showPlaying()
75 public void onAnimationRepeat(Animator animation) { in showPlaying()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DBaseScrollAdapterFragment.java19 import android.animation.Animator;
26 import android.view.animation.DecelerateInterpolator;
155 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
162 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
169 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
174 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
198 ViewPropertyAnimator animation = mSelectorView.animate() in onScrolled() local
210 animation.scaleY(scaleY); in onScrolled()
212 animation.start(); in onScrolled()

12345678910>>...17