/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationSpec.java | 31 import android.view.animation.Animation; 77 static Animation createNoopAnimation(@NonNull TransitionInfo.Change change) { in createNoopAnimation() 88 static Animation createShowSnapshotForClosingAnimation() { in createShowSnapshotForClosingAnimation() 94 Animation createChangeBoundsOpenAnimation(@NonNull TransitionInfo.Change change, in createChangeBoundsOpenAnimation() 112 final Animation animation = new TranslateAnimation(startLeft, 0, startTop, 0); in createChangeBoundsOpenAnimation() 122 Animation createChangeBoundsCloseAnimation(@NonNull TransitionInfo.Change change, in createChangeBoundsCloseAnimation() 140 final Animation animation = new TranslateAnimation(0, endLeft, 0, endTop); in createChangeBoundsCloseAnimation() 154 Animation[] createChangeBoundsChangeAnimations(@NonNull TransitionInfo.Change change, in createChangeBoundsChangeAnimations() 169 final Animation startAlpha = new AlphaAnimation(1f, 0f); in createChangeBoundsChangeAnimations() 174 final Animation startScale = new ScaleAnimation(startScaleX, startScaleX, startScaleY, in createChangeBoundsChangeAnimations() [all …]
|
D | ActivityEmbeddingAnimationAdapter.java | 26 import android.view.animation.Animation; 46 final Animation mAnimation; 75 ActivityEmbeddingAnimationAdapter(@NonNull Animation animation, in ActivityEmbeddingAnimationAdapter() 86 ActivityEmbeddingAnimationAdapter(@NonNull Animation animation, in ActivityEmbeddingAnimationAdapter() 195 SnapshotAdapter(@NonNull Animation animation, @NonNull TransitionInfo.Change change, in SnapshotAdapter() 223 BoundsChangeAdapter(@NonNull Animation animation, @NonNull TransitionInfo.Change change, in BoundsChangeAdapter()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationSet.java | 52 public class AnimationSet extends Animation { 66 private ArrayList<Animation> mAnimations = new ArrayList<Animation>(); 129 animation.mAnimations = new ArrayList<Animation>(); in clone() 132 final ArrayList<Animation> animations = mAnimations; in clone() 186 final ArrayList<Animation> animations = mAnimations; in hasAlpha() 218 public void addAnimation(Animation a) { in addAnimation() 258 final ArrayList<Animation> animations = mAnimations; in setStartTime() 261 Animation a = animations.get(i); in setStartTime() 271 final ArrayList<Animation> animations = mAnimations; in getStartTime() 274 Animation a = animations.get(i); in getStartTime() [all …]
|
D | LayoutAnimationController.java | 78 protected Animation mAnimation; 108 Animation.Description d = Animation.Description.parseValue( in LayoutAnimationController() 133 public LayoutAnimationController(Animation animation) { in LayoutAnimationController() 144 public LayoutAnimationController(Animation animation, float delay) { in LayoutAnimationController() 200 public void setAnimation(Animation animation) { in setAnimation() 214 public Animation getAnimation() { in getAnimation() 322 public final Animation getAnimationForView(View view) { in getAnimationForView() 327 final Animation animation = mAnimation.clone(); in getAnimationForView()
|
D | AnimationUtils.java | 216 public static Animation loadAnimation(Context context, @AnimRes int id) in loadAnimation() 231 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml() 238 private static Animation createAnimationFromXml( in createAnimationFromXml() 242 Animation anim = null; in createAnimationFromXml() 353 public static Animation makeInAnimation(Context c, boolean fromLeft) { in makeInAnimation() 354 Animation a; in makeInAnimation() 374 public static Animation makeOutAnimation(Context c, boolean toRight) { in makeOutAnimation() 375 Animation a; in makeOutAnimation() 395 public static Animation makeInChildBottomAnimation(Context c) { in makeInChildBottomAnimation() 396 Animation a; in makeInChildBottomAnimation()
|
D | GridLayoutAnimationController.java | 118 Animation.Description d = Animation.Description.parseValue( in GridLayoutAnimationController() 122 d = Animation.Description.parseValue( in GridLayoutAnimationController() 141 public GridLayoutAnimationController(Animation animation) { in GridLayoutAnimationController() 153 public GridLayoutAnimationController(Animation animation, float columnDelay, float rowDelay) { in GridLayoutAnimationController()
|
D | Animation.java | 39 public abstract class Animation implements Cloneable { class 242 public Animation() { in Animation() method in Animation 253 public Animation(Context context, AttributeSet attrs) { in Animation() method in Animation 254 … TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Animation); in Animation() 291 protected Animation clone() throws CloneNotSupportedException { in clone() 292 final Animation animation = (Animation) super.clone(); in clone() 1344 void onAnimationStart(Animation animation); 1352 void onAnimationEnd(Animation animation); 1359 void onAnimationRepeat(Animation animation);
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 64 struct Animation { struct 94 Animation* animation; argument 127 virtual void init(const Vector<Animation::Part>& /*parts*/) {} in init() argument 135 virtual void playPart(int /*partNumber*/, const Animation::Part& /*part*/, in playPart() 190 const Animation::Part& part, int fadedFramesCount); 192 bool validClock(const Animation::Part& part); 193 Animation* loadAnimation(const String8&); 194 bool playAnimation(const Animation&); 195 void releaseAnimation(Animation*) const; 196 bool parseAnimationDesc(Animation&); [all …]
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | ReflectionInflaterTest.java | 24 import android.view.animation.Animation; 43 final Animation result = inflater.inflate(R.xml.reflection_inflater_test); in testInflateXml() 47 final List<Animation> animations = set.getAnimations(); in testInflateXml() 57 final Animation result = inflater.inflate(R.xml.reflection_inflater_test_with_default_package); in testDefaultPackage() 61 final List<Animation> animations = set.getAnimations(); in testDefaultPackage() 66 private static class TestInflater extends ReflectionInflater<Animation> { 73 protected void onAddChildItem(Animation parent, Animation child) { in onAddChildItem()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | TransitionAnimation.java | 60 import android.view.animation.Animation; 178 public Animation loadKeyguardExitAnimation(int transitionFlags, boolean onWallpaper) { in loadKeyguardExitAnimation() 190 public Animation loadKeyguardUnoccludeAnimation() { in loadKeyguardUnoccludeAnimation() 195 public Animation loadVoiceActivityOpenAnimation(boolean enter) { in loadVoiceActivityOpenAnimation() 202 public Animation loadVoiceActivityExitAnimation(boolean enter) { in loadVoiceActivityExitAnimation() 209 public Animation loadAppTransitionAnimation(String packageName, int resId) { in loadAppTransitionAnimation() 214 public Animation loadCrossProfileAppEnterAnimation() { in loadCrossProfileAppEnterAnimation() 220 public Animation loadCrossProfileAppThumbnailEnterAnimation() { in loadCrossProfileAppThumbnailEnterAnimation() 226 public Animation createCrossProfileAppsThumbnailAnimationLocked(Rect appRect) { in createCrossProfileAppsThumbnailAnimationLocked() 227 final Animation animation = loadCrossProfileAppThumbnailEnterAnimation(); in createCrossProfileAppsThumbnailAnimationLocked() [all …]
|
/frameworks/rs/ |
D | rsAnimation.h | 28 class Animation : public ObjectBase { 30 ~Animation(); 32 static Animation * create(Context *rsc, 41 static Animation *createFromStream(Context *rsc, IStream *stream); 44 explicit Animation(Context *rsc);
|
D | rsAnimation.cpp | 24 void Animation::serialize(Context *rsc, OStream *stream) const { in serialize() 27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { in createFromStream() 127 …Animation *a = nullptr;//Animation::create(rsc, inValues, outValues, valueCount, interp, pre, post… in rsi_AnimationCreate()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskFragmentAnimationSpec.java | 31 import android.view.animation.Animation; 80 static Animation createNoopAnimation(@NonNull RemoteAnimationTarget target) { in createNoopAnimation() 88 Animation createChangeBoundsOpenAnimation(@NonNull RemoteAnimationTarget target) { in createChangeBoundsOpenAnimation() 105 final Animation animation = new TranslateAnimation(startLeft, 0, startTop, 0); in createChangeBoundsOpenAnimation() 115 Animation createChangeBoundsCloseAnimation(@NonNull RemoteAnimationTarget target) { in createChangeBoundsCloseAnimation() 133 final Animation animation = new TranslateAnimation(0, endLeft, 0, endTop); in createChangeBoundsCloseAnimation() 147 Animation[] createChangeBoundsChangeAnimations(@NonNull RemoteAnimationTarget target) { in createChangeBoundsChangeAnimations() 162 final Animation startAlpha = new AlphaAnimation(1f, 0f); in createChangeBoundsChangeAnimations() 167 final Animation startScale = new ScaleAnimation(startScaleX, startScaleX, startScaleY, in createChangeBoundsChangeAnimations() 179 final Animation endScale = new ScaleAnimation(scaleX, 1, scaleY, 1); in createChangeBoundsChangeAnimations() [all …]
|
D | TaskFragmentAnimationAdapter.java | 28 import android.view.animation.Animation; 46 final Animation mAnimation; 76 TaskFragmentAnimationAdapter(@NonNull Animation animation, in TaskFragmentAnimationAdapter() 86 TaskFragmentAnimationAdapter(@NonNull Animation animation, in TaskFragmentAnimationAdapter() 179 SnapshotAdapter(@NonNull Animation animation, @NonNull RemoteAnimationTarget target) { in SnapshotAdapter() 198 BoundsChangeAdapter(@NonNull Animation animation, @NonNull RemoteAnimationTarget target) { in BoundsChangeAdapter()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListWithDisappearingItemBug.java | 24 import android.view.animation.Animation; 63 Animation animation = new AlphaAnimation(0.0f, 1.0f); in onCreate() 68 Animation.RELATIVE_TO_SELF, 0.0f,Animation.RELATIVE_TO_SELF, 0.0f, in onCreate() 69 Animation.RELATIVE_TO_SELF, -1.0f,Animation.RELATIVE_TO_SELF, 0.0f in onCreate()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | CustomCrossActivityBackAnimation.kt | 23 import android.view.animation.Animation in <lambda>() 52 private var enterAnimation: Animation? = null in <lambda>() 53 private var closeAnimation: Animation? = null in <lambda>() 155 animation: Animation, in <lambda>() 188 private fun Animation.getPostCommitProgress(linearProgress: Float): Float { in <lambda>() method 202 var closeAnimation: Animation? = null in <lambda>() 203 var enterAnimation: Animation? = null in <lambda>() 247 ): Animation? { in loadAnimation() 248 var a: Animation? = null in loadAnimation() 284 private fun loadDefaultOpenAnimation(): Animation? { in loadDefaultOpenAnimation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | KeepAwakeAnimationListener.java | 22 import android.view.animation.Animation; 28 implements Animation.AnimationListener { 41 public void onAnimationStart(Animation animation) { in onAnimationStart() 46 public void onAnimationEnd(Animation animation) { in onAnimationEnd() 51 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
D | DialogAnimationController.java | 36 import android.view.animation.Animation; 62 private Animation mDialogAnimation; 151 private Animation loadAnimation(int animAttr) { in loadAnimation() 152 Animation animation = mTransitionAnimation.loadAnimationAttr(mPackageName, mAnimStyleResId, in loadAnimation() 160 private Animation.AnimationListener getAnimationListener(Runnable startCallback, in getAnimationListener() 162 return new Animation.AnimationListener() { in getAnimationListener() 164 public void onAnimationStart(Animation animation) { in getAnimationListener() 169 public void onAnimationEnd(Animation animation) { in getAnimationListener() 174 public void onAnimationRepeat(Animation animation) {} in getAnimationListener()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowAnimationSpecTest.java | 36 import android.view.animation.Animation; 56 private final Animation mAnimation = mock(Animation.class); 62 Animation a = createClipRectAnimation(windowCrop, windowCrop); in testApply_clipNone() 103 private Animation createClipRectAnimation(Rect fromClip, Rect toClip) { in createClipRectAnimation() 104 Animation a = new ClipRectAnimation(fromClip, toClip); in createClipRectAnimation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | NavBarFadeAnimationController.java | 24 import android.view.animation.Animation; 41 private Animation mFadeInAnimation; 42 private Animation mFadeOutAnimation; 60 public Animation getFadeInAnimation() { in getFadeInAnimation() 65 public Animation getFadeOutAnimation() { in getFadeOutAnimation()
|
D | FadeAnimationController.java | 26 import android.view.animation.Animation; 49 public Animation getFadeInAnimation() { in getFadeInAnimation() 56 public Animation getFadeOutAnimation() { in getFadeOutAnimation() 79 final Animation animation = show ? getFadeInAnimation() : getFadeOutAnimation(); in fadeWindowToken() 96 @NonNull Animation animation) { in createAnimationSpec()
|
D | WindowAnimationSpec.java | 31 import android.view.animation.Animation; 46 private Animation mAnimation; 56 public WindowAnimationSpec(Animation animation, Point position, boolean canSkipFirstFrame, in WindowAnimationSpec() 62 public WindowAnimationSpec(Animation animation, Point position, Rect rootTaskBounds, in WindowAnimationSpec() 115 public Animation getAnimation() { in getAnimation() 220 private static TranslateAnimation findTranslateAnimation(Animation animation) { in findTranslateAnimation() 226 Animation a = set.getAnimations().get(i); in findTranslateAnimation()
|
D | WindowChangeAnimationSpec.java | 31 import android.view.animation.Animation; 53 private Animation mAnimation; 99 Animation anim = new AlphaAnimation(1.f, 0.f); in createBoundsInterpolator() 115 final Animation scaleAnim = new ScaleAnimation(startScaleX, 1, startScaleY, 1); in createBoundsInterpolator() 121 final Animation translateAnim = new TranslateAnimation(mStartBounds.left, in createBoundsInterpolator() 129 final Animation clipAnim = new ClipRectAnimation(startClip, endClip); in createBoundsInterpolator()
|
/frameworks/base/core/java/android/widget/ |
D | ViewAnimator.java | 28 import android.view.animation.Animation; 49 Animation mInAnimation; 50 Animation mOutAnimation; 276 public Animation getInAnimation() { in getInAnimation() 288 public void setInAnimation(Animation inAnimation) { in setInAnimation() 301 public Animation getOutAnimation() { in getOutAnimation() 313 public void setOutAnimation(Animation outAnimation) { in setOutAnimation()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SlidingTab.java | 35 import android.view.animation.Animation; 36 import android.view.animation.Animation.AnimationListener; 100 public void onAnimationStart(Animation animation) { 104 public void onAnimationRepeat(Animation animation) { 108 public void onAnimationEnd(Animation animation) { 251 Animation trans = new TranslateAnimation(0, dx, 0, dy); in hide() 268 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0); in show() 438 public void startAnimation(Animation anim1, Animation anim2) { in startAnimation() 647 final Animation trans1; 648 final Animation trans2; [all …]
|