Home
last modified time | relevance | path

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

12345678

/packages/apps/Launcher2/src/com/android/launcher2/
DFirstFrameAnimatorHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
58 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
59 final ValueAnimator va = (ValueAnimator) animation; in onAnimationStart()
87 public void onAnimationUpdate(final ValueAnimator animation) { in onAnimationUpdate() argument
99 animation.getCurrentPlayTime() < animation.getDuration()) { in onAnimationUpdate()
109 animation.setCurrentPlayTime(0); in onAnimationUpdate()
117 animation.setCurrentPlayTime(IDEAL_FRAME_DURATION); in onAnimationUpdate()
123 animation.removeUpdateListener(FirstFrameAnimatorHelper.this); in onAnimationUpdate()
[all …]
DLauncherAnimUtils.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
22 import android.animation.PropertyValuesHolder;
23 import android.animation.ValueAnimator;
32 public void onAnimationStart(Animator animation) {
35 public void onAnimationRepeat(Animator animation) {
38 public void onAnimationEnd(Animator animation) {
39 sAnimators.remove(animation);
42 public void onAnimationCancel(Animator animation) {
[all …]
DFolderIcon.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
22 import android.animation.ValueAnimator.AnimatorUpdateListener;
36 import android.view.animation.AccelerateInterpolator;
37 import android.view.animation.DecelerateInterpolator;
207 public void onAnimationUpdate(ValueAnimator animation) { in animateToAcceptState()
208 final float percent = (Float) animation.getAnimatedValue(); in animateToAcceptState()
218 public void onAnimationStart(Animator animation) { in animateToAcceptState()
236 public void onAnimationUpdate(ValueAnimator animation) { in animateToNaturalState()
[all …]
DDragLayer.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.TimeInterpolator;
22 import android.animation.ValueAnimator;
23 import android.animation.ValueAnimator.AnimatorUpdateListener;
38 import android.view.animation.DecelerateInterpolator;
39 import android.view.animation.Interpolator;
597 public void onAnimationUpdate(ValueAnimator animation) { in animateView()
598 final float percent = (Float) animation.getAnimatedValue(); in animateView()
659 public void onAnimationEnd(Animator animation) { in animateView()
[all …]
DDeleteDropTarget.java19 import android.animation.TimeInterpolator;
20 import android.animation.ValueAnimator;
21 import android.animation.ValueAnimator.AnimatorUpdateListener;
33 import android.view.animation.AnimationUtils;
34 import android.view.animation.DecelerateInterpolator;
35 import android.view.animation.LinearInterpolator;
285 public void onAnimationUpdate(ValueAnimator animation) { in createFlingToTrashAnimatorListener()
287 float t = ((Float) animation.getAnimatedValue()).floatValue(); in createFlingToTrashAnimatorListener()
333 public void onAnimationUpdate(ValueAnimator animation) {
335 float t = ((Float) animation.getAnimatedValue()).floatValue();
DLauncherViewPropertyAnimator.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.TimeInterpolator;
100 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
109 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
118 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
126 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
129 mFirstFrameHelper.onAnimationStart(animation); in onAnimationStart()
/packages/apps/Launcher3/src/com/android/launcher3/
DFirstFrameAnimatorHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
58 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
59 final ValueAnimator va = (ValueAnimator) animation; in onAnimationStart()
87 public void onAnimationUpdate(final ValueAnimator animation) { in onAnimationUpdate() argument
94 final long currentPlayTime = animation.getCurrentPlayTime(); in onAnimationUpdate()
100 currentPlayTime < animation.getDuration()) { in onAnimationUpdate()
110 animation.setCurrentPlayTime(0); in onAnimationUpdate()
118 animation.setCurrentPlayTime(IDEAL_FRAME_DURATION); in onAnimationUpdate()
[all …]
DLauncherAnimUtils.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
22 import android.animation.PropertyValuesHolder;
23 import android.animation.ValueAnimator;
33 public void onAnimationStart(Animator animation) {
34 sAnimators.put(animation, null);
37 public void onAnimationRepeat(Animator animation) {
40 public void onAnimationEnd(Animator animation) {
41 sAnimators.remove(animation);
[all …]
DFolderIcon.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
22 import android.animation.ValueAnimator.AnimatorUpdateListener;
37 import android.view.animation.AccelerateInterpolator;
38 import android.view.animation.DecelerateInterpolator;
234 public void onAnimationUpdate(ValueAnimator animation) { in animateToAcceptState()
235 final float percent = (Float) animation.getAnimatedValue(); in animateToAcceptState()
245 public void onAnimationStart(Animator animation) { in animateToAcceptState()
263 public void onAnimationUpdate(ValueAnimator animation) { in animateToNaturalState()
[all …]
DDragLayer.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.TimeInterpolator;
22 import android.animation.ValueAnimator;
23 import android.animation.ValueAnimator.AnimatorUpdateListener;
36 import android.view.animation.DecelerateInterpolator;
37 import android.view.animation.Interpolator;
640 public void onAnimationUpdate(ValueAnimator animation) { in animateView()
641 final float percent = (Float) animation.getAnimatedValue(); in animateView()
704 public void onAnimationEnd(Animator animation) { in animateView()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DSendUi.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.ObjectAnimator;
22 import android.animation.PropertyValuesHolder;
23 import android.animation.TimeAnimator;
47 import android.view.animation.AccelerateDecelerateInterpolator;
48 import android.view.animation.DecelerateInterpolator;
628 public void onAnimationStart(Animator animation) { } in onAnimationStart() argument
631 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
632 if (animation == mScaleUpAnimator || animation == mSuccessAnimatorSet || in onAnimationEnd()
[all …]
/packages/apps/Camera/src/com/android/camera/ui/
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;
256 public void onAnimationStart(Animation animation) { in fadeIn()
260 public void onAnimationEnd(Animation animation) { in fadeIn()
265 public void onAnimationRepeat(Animation animation) { in fadeIn()
354 public void onAnimationEnd(Animator animation) { in startFadeOut()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTweener.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorListenerAdapter;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.TimeInterpolator;
25 import android.animation.ValueAnimator.AnimatorUpdateListener;
144 public void onAnimationEnd(Animator animation) {
145 remove(animation);
149 public void onAnimationCancel(Animator animation) {
[all …]
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DTweener.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorListenerAdapter;
22 import android.animation.ObjectAnimator;
23 import android.animation.PropertyValuesHolder;
24 import android.animation.TimeInterpolator;
25 import android.animation.ValueAnimator.AnimatorUpdateListener;
144 public void onAnimationEnd(Animator animation) {
145 remove(animation);
149 public void onAnimationCancel(Animator animation) {
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java20 import android.animation.Animator;
21 import android.animation.AnimatorListenerAdapter;
22 import android.animation.ObjectAnimator;
23 import android.animation.ValueAnimator;
24 import android.animation.ValueAnimator.AnimatorUpdateListener;
31 import android.view.animation.DecelerateInterpolator;
276 public void onAnimationEnd(Animator animation) { in dismissChild()
283 public void onAnimationUpdate(ValueAnimator animation) { in dismissChild()
326 public void onAnimationUpdate(ValueAnimator animation) { in snapChild()
335 public void onAnimationStart(Animator animation) { in snapChild()
[all …]
DActionableToastBar.java18 import android.animation.Animator;
19 import android.animation.AnimatorInflater;
184 public void onAnimationStart(Animator animation) { in getShowAnimation()
188 public void onAnimationEnd(Animator animation) { in getShowAnimation()
191 public void onAnimationCancel(Animator animation) { in getShowAnimation()
194 public void onAnimationRepeat(Animator animation) { in getShowAnimation()
208 public void onAnimationStart(Animator animation) { in getHideAnimation()
211 public void onAnimationRepeat(Animator animation) { in getHideAnimation()
214 public void onAnimationEnd(Animator animation) { in getHideAnimation()
218 public void onAnimationCancel(Animator animation) { in getHideAnimation()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DActionableToastBar.java19 import android.animation.Animator;
20 import android.animation.AnimatorInflater;
168 public void onAnimationStart(Animator animation) { in getShowAnimation()
172 public void onAnimationEnd(Animator animation) { in getShowAnimation()
179 public void onAnimationCancel(Animator animation) { in getShowAnimation()
182 public void onAnimationRepeat(Animator animation) { in getShowAnimation()
196 public void onAnimationStart(Animator animation) { in getHideAnimation()
199 public void onAnimationRepeat(Animator animation) { in getHideAnimation()
202 public void onAnimationEnd(Animator animation) { in getHideAnimation()
206 public void onAnimationCancel(Animator animation) { in getHideAnimation()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DSgvAnimationHelper.java6 import android.animation.Animator;
7 import android.animation.Animator.AnimatorListener;
8 import android.animation.AnimatorListenerAdapter;
9 import android.animation.ObjectAnimator;
14 import android.view.animation.AnimationUtils;
15 import android.view.animation.Interpolator;
182 public void onAnimationCancel(Animator animation) { in addTranslationRotationAnimators()
187 public void onAnimationEnd(Animator animation) { in addTranslationRotationAnimators()
214 public void onAnimationEnd(Animator animation) { in addExpandInAnimators()
237 public void onAnimationEnd(Animator animation) { in addCollapseOutAnimators()
[all …]
/packages/apps/Browser/src/com/android/browser/
DTitleBar.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.ObjectAnimator;
30 import android.view.animation.Animation;
31 import android.view.animation.Animation.AnimationListener;
32 import android.view.animation.AnimationUtils;
33 import android.view.animation.DecelerateInterpolator;
225 public void onAnimationStart(Animator animation) {
229 public void onAnimationRepeat(Animator animation) {
233 public void onAnimationEnd(Animator animation) {
[all …]
DTabBar.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorSet;
22 import android.animation.ObjectAnimator;
437 public void onAnimationCancel(Animator animation) { in animateTabOut()
441 public void onAnimationEnd(Animator animation) { in animateTabOut()
448 public void onAnimationRepeat(Animator animation) { in animateTabOut()
452 public void onAnimationStart(Animator animation) { in animateTabOut()
465 public void onAnimationCancel(Animator animation) { in animateTabIn()
469 public void onAnimationEnd(Animator animation) { in animateTabIn()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DFilmStripView.java19 import android.animation.Animator;
20 import android.animation.AnimatorSet;
21 import android.animation.TimeInterpolator;
22 import android.animation.ValueAnimator;
37 import android.view.animation.DecelerateInterpolator;
1602 public void onAnimationStart(Animator animation) { in animateItemRemoval()
1607 public void onAnimationEnd(Animator animation) { in animateItemRemoval()
1612 public void onAnimationCancel(Animator animation) { in animateItemRemoval()
1617 public void onAnimationRepeat(Animator animation) { in animateItemRemoval()
2038 public void onAnimationUpdate(ValueAnimator animation) {
[all …]
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java41 import android.view.animation.AlphaAnimation;
42 import android.view.animation.Animation;
43 import android.view.animation.AnimationUtils;
174 Animation animation = new AlphaAnimation(1, 0);
175 animation.setDuration(500);
176 mActionIconPanel.startAnimation(animation);
222 Animation animation = new AlphaAnimation(0, 1);
223 animation.setDuration(500);
224 mActionIconPanel.startAnimation(animation);
737 Animation animation = new AlphaAnimation(0F, 1F); in setMode() local
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DAttachmentDrawable.java3 import android.animation.Animator;
4 import android.animation.AnimatorListenerAdapter;
5 import android.animation.ValueAnimator;
6 import android.animation.ValueAnimator.AnimatorUpdateListener;
17 import android.view.animation.LinearInterpolator;
457 public void onAnimationUpdate(ValueAnimator animation) { in Placeholder()
458 mPulseAlphaFraction = ((Integer) animation.getAnimatedValue()) / 255f; in Placeholder()
464 public void onAnimationEnd(Animator animation) { in Placeholder()
528 public void onAnimationUpdate(ValueAnimator animation) { in Progress()
529 setLevel((Integer) animation.getAnimatedValue()); in Progress()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorInflater;
22 import android.animation.ValueAnimator;
52 import android.view.animation.DecelerateInterpolator;
53 import android.view.animation.Interpolator;
225 public void onAnimationStart(Animator animation) { in onCreateView()
230 public void onAnimationCancel(Animator animation) { in onCreateView()
235 public void onAnimationEnd(Animator animation) { in onCreateView()
240 public void onAnimationRepeat(Animator animation) { in onCreateView()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBarContainer.java27 import android.view.animation.Animation;
28 import android.view.animation.Animation.AnimationListener;
29 import android.view.animation.AnimationUtils;
94 public void onAnimationEnd(Animation animation) {
95 if (animation == mSecondLevelFadeOut) {
97 } else if (animation == mFadeOut) {
102 public void onAnimationRepeat(Animation animation) {
105 public void onAnimationStart(Animation animation) {

12345678