Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java23 import android.view.animation.AlphaAnimation;
24 import android.view.animation.Animation;
25 import android.view.animation.AnimationSet;
26 import android.view.animation.LayoutAnimationController;
27 import android.view.animation.TranslateAnimation;
63 Animation animation = new AlphaAnimation(0.0f, 1.0f); in onCreate() local
64 animation.setDuration(50); in onCreate()
65 set.addAnimation(animation); in onCreate()
67 animation = new TranslateAnimation( in onCreate()
71 animation.setDuration(100); in onCreate()
[all …]
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DSystemBarScrimViews.java64 AnimationProps animation) { in updateNavBarScrim() argument
66 if (animateNavBarScrim && animation != null) { in updateNavBarScrim()
67 animateNavBarScrimVisibility(true, animation); in updateNavBarScrim()
86 private void animateNavBarScrimVisibility(boolean visible, AnimationProps animation) { in animateNavBarScrimVisibility() argument
94 if (animation != AnimationProps.IMMEDIATE) { in animateNavBarScrimVisibility()
97 .setDuration(animation.getDuration(AnimationProps.BOUNDS)) in animateNavBarScrimVisibility()
98 .setInterpolator(animation.getInterpolator(AnimationProps.BOUNDS)) in animateNavBarScrimVisibility()
119 AnimationProps animation = mShouldAnimateNavBarScrim in onBusEvent() local
124 animateNavBarScrimVisibility(true, animation); in onBusEvent()
134 AnimationProps animation = createBoundsAnimation( in onBusEvent() local
[all …]
/frameworks/layoutlib/bridge/src/com/android/internal/view/animation/
DNativeInterpolatorFactoryHelper_Delegate.java17 package com.android.internal.view.animation;
24 import android.view.animation.AccelerateDecelerateInterpolator;
25 import android.view.animation.AccelerateInterpolator;
26 import android.view.animation.AnticipateInterpolator;
27 import android.view.animation.AnticipateOvershootInterpolator;
28 import android.view.animation.BaseInterpolator;
29 import android.view.animation.BounceInterpolator;
30 import android.view.animation.CycleInterpolator;
31 import android.view.animation.DecelerateInterpolator;
32 import android.view.animation.Interpolator;
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorListenerAdapter.java17 package android.animation;
31 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
38 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
45 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
52 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
59 public void onAnimationPause(Animator animation) { in onAnimationPause() argument
66 public void onAnimationResume(Animator animation) { in onAnimationResume() argument
DAnimator.java17 package android.animation;
537 default void onAnimationStart(Animator animation, boolean isReverse) { in onAnimationStart() argument
538 onAnimationStart(animation); in onAnimationStart()
553 default void onAnimationEnd(Animator animation, boolean isReverse) { in onAnimationEnd() argument
554 onAnimationEnd(animation); in onAnimationEnd()
562 void onAnimationStart(Animator animation); in onAnimationStart() argument
570 void onAnimationEnd(Animator animation); in onAnimationEnd() argument
578 void onAnimationCancel(Animator animation); in onAnimationCancel() argument
585 void onAnimationRepeat(Animator animation); in onAnimationRepeat() argument
601 void onAnimationPause(Animator animation); in onAnimationPause() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java18 import android.animation.Animator;
19 import android.animation.Animator.AnimatorListener;
20 import android.animation.ObjectAnimator;
27 import android.view.animation.Animation;
28 import android.view.animation.AnimationUtils;
111 public void onAnimationStart(Animator animation) { in startExitAnimation()
115 public void onAnimationRepeat(Animator animation) { in startExitAnimation()
119 public void onAnimationEnd(Animator animation) { in startExitAnimation()
126 public void onAnimationCancel(Animator animation) { in startExitAnimation()
140 public void onAnimationStart(Animator animation) { in startAccelSpin()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
DKeepAwakeAnimationListener.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
22 import android.view.animation.Animation;
41 public void onAnimationStart(Animation animation) { in onAnimationStart() argument
46 public void onAnimationEnd(Animation animation) { in onAnimationEnd() argument
51 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat() argument
56 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
61 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DRevealActivity.java19 import android.animation.Animator;
20 import android.animation.Animator.AnimatorListener;
21 import android.animation.AnimatorSet;
45 public void onAnimationStart(Animator animation) {
46 Log.d("Reveal", "onAnimatorStart " + animation);
50 public void onAnimationRepeat(Animator animation) {
51 Log.d("Reveal", "onAnimationRepeat " + animation);
55 public void onAnimationEnd(Animator animation) {
56 Log.d("Reveal", "onAnimationEnd " + animation);
60 public void onAnimationCancel(Animator animation) {
[all …]
DMarqueeActivity.java23 import android.view.animation.Animation;
24 import android.view.animation.AnimationUtils;
60 Animation animation = AnimationUtils.loadAnimation(text2.getContext(), in onCreate()
62 animation.setFillEnabled(true); in onCreate()
63 animation.setFillAfter(true); in onCreate()
64 text2.startAnimation(animation); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java31 import android.view.animation.Animation;
32 import android.view.animation.AnimationSet;
33 import android.view.animation.Interpolator;
34 import android.view.animation.Transformation;
35 import android.view.animation.TranslateAnimation;
56 public WindowAnimationSpec(Animation animation, Point position, boolean canSkipFirstFrame, in WindowAnimationSpec() argument
58 this(animation, position, null /* stackBounds */, canSkipFirstFrame, STACK_CLIP_NONE, in WindowAnimationSpec()
62 public WindowAnimationSpec(Animation animation, Point position, Rect stackBounds, in WindowAnimationSpec() argument
65 mAnimation = animation; in WindowAnimationSpec()
169 private static TranslateAnimation findTranslateAnimation(Animation animation) { in findTranslateAnimation() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DInterpolators.java19 import android.view.animation.AccelerateDecelerateInterpolator;
20 import android.view.animation.AccelerateInterpolator;
21 import android.view.animation.BounceInterpolator;
22 import android.view.animation.DecelerateInterpolator;
23 import android.view.animation.Interpolator;
24 import android.view.animation.LinearInterpolator;
25 import android.view.animation.PathInterpolator;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationDozeHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
40 public void onAnimationUpdate(ValueAnimator animation) { in fadeGrayscale()
41 updateGrayscale(target, (float) animation.getAnimatedValue()); in fadeGrayscale()
45 public void onAnimationEnd(Animator animation) { in fadeGrayscale()
90 public void onAnimationEnd(Animator animation) { in setDozing()
95 public void onAnimationStart(Animator animation) { in setDozing()
96 view.setTag(DOZE_ANIMATOR_TAG, animation); in setDozing()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java19 import android.animation.Animator;
20 import android.animation.TimeInterpolator;
21 import android.animation.ValueAnimator;
1063 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
1065 Runnable r = mAnimatorSetupMap.get(animation); in onAnimationStart()
1069 mAnimatorSetupMap.remove(animation); in onAnimationStart()
1072 Runnable r = mAnimatorOnStartMap.get(animation); in onAnimationStart()
1076 mAnimatorOnStartMap.remove(animation); in onAnimationStart()
1079 mListener.onAnimationStart(animation); in onAnimationStart()
1084 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java21 import android.animation.Animator;
22 import android.animation.ObjectAnimator;
23 import android.animation.ValueAnimator;
24 import android.animation.Animator.AnimatorListener;
28 import android.view.animation.DecelerateInterpolator;
210 public void onAnimationCancel(Animator animation) { in onAnimationCancel() argument
214 public void onAnimationEnd(Animator animation) { in onAnimationEnd() argument
215 mAnimators.remove(animation); in onAnimationEnd()
218 public void onAnimationRepeat(Animator animation) { in onAnimationRepeat() argument
222 public void onAnimationStart(Animator animation) { in onAnimationStart() argument
/frameworks/layoutlib/bridge/src/android/animation/
DPropertyValuesHolder_Accessor.java17 package android.animation;
19 import android.animation.PropertyValuesHolder.FloatPropertyValuesHolder;
20 import android.animation.PropertyValuesHolder.IntPropertyValuesHolder;
21 import android.animation.PropertyValuesHolder.MultiFloatValuesHolder;
22 import android.animation.PropertyValuesHolder.MultiIntValuesHolder;
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java17 package android.view.animation;
133 public LayoutAnimationController(Animation animation) { in LayoutAnimationController() argument
134 this(animation, 0.5f); in LayoutAnimationController()
144 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() argument
146 setAnimation(animation); in LayoutAnimationController()
200 public void setAnimation(Animation animation) { in setAnimation() argument
201 mAnimation = animation; in setAnimation()
327 final Animation animation = mAnimation.clone(); in getAnimationForView() local
328 animation.setStartOffset(delay); in getAnimationForView()
329 return animation; in getAnimationForView()
/frameworks/base/core/java/com/android/internal/colorextraction/drawable/
DScrimDrawable.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
30 import android.view.animation.DecelerateInterpolator;
74 anim.addUpdateListener(animation -> { in setColor()
75 float ratio = (float) animation.getAnimatedValue(); in setColor()
81 public void onAnimationEnd(Animator animation, boolean isReverse) { in setColor()
82 if (mColorAnimation == animation) { in setColor()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp691 bool BootAnimation::parseAnimationDesc(Animation& animation) in parseAnimationDesc() argument
695 if (!readFile(animation.zip, "desc.txt", desString)) { in parseAnimationDesc()
719 animation.width = width; in parseAnimationDesc()
720 animation.height = height; in parseAnimationDesc()
721 animation.fps = fps; in parseAnimationDesc()
732 part.animation = nullptr; in parseAnimationDesc()
740 animation.parts.add(part); in parseAnimationDesc()
749 part.animation = loadAnimation(String8(SYSTEM_BOOTANIMATION_FILE)); in parseAnimationDesc()
750 if (part.animation != nullptr) in parseAnimationDesc()
751 animation.parts.add(part); in parseAnimationDesc()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java17 package com.android.server.wm.animation;
19 import android.animation.KeyframeSet;
20 import android.animation.PathKeyframes;
23 import android.view.animation.Animation;
24 import android.view.animation.Transformation;
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
129 public void onAnimationStart(Animator animation) { in AssistDisclosureView()
134 public void onAnimationCancel(Animator animation) { in AssistDisclosureView()
139 public void onAnimationEnd(Animator animation) { in AssistDisclosureView()
229 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate() argument
230 if (animation == mAlphaOutAnimator) { in onAnimationUpdate()
232 } else if (animation == mAlphaInAnimator) { in onAnimationUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/
DOneTimeEndListener.java17 package com.android.systemui.bubbles.animation;
19 import androidx.dynamicanimation.animation.DynamicAnimation;
30 public void onAnimationEnd(DynamicAnimation animation, boolean canceled, float value, in onAnimationEnd() argument
32 animation.removeEndListener(this); in onAnimationEnd()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
26 import android.view.animation.Interpolator;
76 public void onAnimationUpdate(ValueAnimator animation) { in transformTo()
77 transformTo(notification, animation.getAnimatedFraction()); in transformTo()
86 public void onAnimationEnd(Animator animation) { in transformTo()
99 public void onAnimationCancel(Animator animation) { in transformTo()
137 public void onAnimationUpdate(ValueAnimator animation) { in transformFrom()
138 transformFrom(notification, animation.getAnimatedFraction()); in transformFrom()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/glwallpaper/
DImageRevealHelper.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.ValueAnimator;
55 public void onAnimationCancel(Animator animation) { in ImageRevealHelper()
60 public void onAnimationEnd(Animator animation) { in ImageRevealHelper()
73 public void onAnimationStart(Animator animation) { in ImageRevealHelper()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFaceDialogView.java19 import android.animation.Animator;
20 import android.animation.AnimatorListenerAdapter;
21 import android.animation.AnimatorSet;
22 import android.animation.ValueAnimator;
199 outlineAnimator.addUpdateListener((animation) -> { in updateSize() argument
200 final float y = (float) animation.getAnimatedValue(); in updateSize()
208 iconAnimator.addUpdateListener((animation) -> { in updateSize() argument
209 final float y = (float) animation.getAnimatedValue(); in updateSize()
216 textSlideAnimator.addUpdateListener((animation) -> { in updateSize() argument
217 final float y = (float) animation.getAnimatedValue(); in updateSize()
[all …]

12345678910>>...18