Home
last modified time | relevance | path

Searched refs:Animation (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DTemperatureTextAnimator.java25 import android.view.animation.Animation;
52 private Animation mTextInAnimationUp;
53 private Animation mTextOutAnimationUp;
54 private Animation mTextInAnimationDown;
55 private Animation mTextOutAnimationDown;
56 private Animation mTextFadeInAnimation;
57 private Animation mTextFadeOutAnimation;
126 private Animation createFadeAnimation(boolean in) { in createFadeAnimation()
136 private Animation createTranslateFadeAnimation(boolean in, boolean up) { in createTranslateFadeAnimation()
143 new TranslateAnimation(Animation.RELATIVE_TO_SELF, 0, Animation.RELATIVE_TO_SELF, 0, in createTranslateFadeAnimation()
[all …]
/frameworks/base/core/java/android/view/animation/
DAnimationSet.java52 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 …]
DLayoutAnimationController.java78 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()
DAnimationUtils.java133 public static Animation loadAnimation(Context context, @AnimRes int id) in loadAnimation()
155 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml()
162 private static Animation createAnimationFromXml(Context c, XmlPullParser parser, in createAnimationFromXml()
165 Animation anim = null; in createAnimationFromXml()
279 public static Animation makeInAnimation(Context c, boolean fromLeft) { in makeInAnimation()
280 Animation a; in makeInAnimation()
300 public static Animation makeOutAnimation(Context c, boolean toRight) { in makeOutAnimation()
301 Animation a; in makeOutAnimation()
321 public static Animation makeInChildBottomAnimation(Context c) { in makeInChildBottomAnimation()
322 Animation a; in makeInChildBottomAnimation()
DAnimation.java39 public abstract class Animation implements Cloneable { class
235 public Animation() { in Animation() method in Animation
246 public Animation(Context context, AttributeSet attrs) { in Animation() method in Animation
247 … TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Animation); in Animation()
282 protected Animation clone() throws CloneNotSupportedException { in clone()
283 final Animation animation = (Animation) super.clone(); in clone()
1231 void onAnimationStart(Animation animation);
1239 void onAnimationEnd(Animation animation);
1246 void onAnimationRepeat(Animation animation);
DGridLayoutAnimationController.java118 Animation.Description d = Animation.Description.parseValue( in GridLayoutAnimationController()
121 d = Animation.Description.parseValue( in GridLayoutAnimationController()
139 public GridLayoutAnimationController(Animation animation) { in GridLayoutAnimationController()
151 public GridLayoutAnimationController(Animation animation, float columnDelay, float rowDelay) { in GridLayoutAnimationController()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h58 struct Animation { struct
87 Animation* animation; argument
104 virtual void init(const Vector<Animation::Part>& /*parts*/) {} in init() argument
112 virtual void playPart(int /*partNumber*/, const Animation::Part& /*part*/, in playPart()
155 bool validClock(const Animation::Part& part);
156 Animation* loadAnimation(const String8&);
157 bool playAnimation(const Animation&);
158 void releaseAnimation(Animation*) const;
159 bool parseAnimationDesc(Animation&);
160 bool preloadZip(Animation &animation);
[all …]
DBootAnimation.cpp502 bool BootAnimation::validClock(const Animation::Part& part) { in validClock()
691 bool BootAnimation::parseAnimationDesc(Animation& animation) in parseAnimationDesc()
726 Animation::Part part; in parseAnimationDesc()
744 Animation::Part part; in parseAnimationDesc()
759 bool BootAnimation::preloadZip(Animation& animation) in preloadZip()
798 Animation::Part& part(animation.parts.editItemAt(j)); in preloadZip()
807 Animation::Frame frame; in preloadZip()
827 for (Animation::Part& part : animation.parts) { in preloadZip()
840 Animation::Frame& frame(part.frames.editItemAt(frameIdx)); in preloadZip()
868 for (const Animation::Part& part : mAnimation->parts) { in movie()
[all …]
Daudioplay.cpp331 typedef android::BootAnimation::Animation Animation; typedef
335 void init(const Vector<Animation::Part>& parts) override { in init()
336 const Animation::Part* partWithAudio = nullptr; in init()
337 for (const Animation::Part& part : parts) { in init()
358 void playPart(int partNumber, const Animation::Part& part, int playNumber) override { in playPart()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DReflectionInflaterTest.java24 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/rs/
DrsAnimation.h28 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);
DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const { in serialize()
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { in createFromStream()
127Animation *a = nullptr;//Animation::create(rsc, inValues, outValues, valueCount, interp, pre, post… in rsi_AnimationCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java24 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/packages/SystemUI/src/com/android/systemui/util/wakelock/
DKeepAwakeAnimationListener.java22 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/services/tests/wmtests/src/com/android/server/wm/
DWindowAnimationSpecTest.java36 import android.view.animation.Animation;
54 private final Animation mAnimation = mock(Animation.class);
60 Animation a = createClipRectAnimation(windowCrop, windowCrop); in testApply_clipNone()
105 Animation a = createClipRectAnimation(windowCrop, windowCrop); in testApply_clipBeforeNoStackBounds()
142 Animation a = createClipRectAnimation(windowCrop, windowCrop); in testApply_clipBeforeSmallerAnimationClip()
155 Animation a = createClipRectAnimation(windowCrop, windowCrop); in testApply_clipBeforeSmallerStackClip()
164 private Animation createClipRectAnimation(Rect fromClip, Rect toClip) { in createClipRectAnimation()
165 Animation a = new ClipRectAnimation(fromClip, toClip); in createClipRectAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java120 import android.view.animation.Animation;
592 Animation loadAnimationAttr(LayoutParams lp, int animAttr, int transit) { in loadAnimationAttr()
609 private Animation loadAnimationRes(LayoutParams lp, int resId) { in loadAnimationRes()
621 private Animation loadAnimationRes(String packageName, int resId) { in loadAnimationRes()
632 Animation loadAnimationSafely(Context context, int resId) { in loadAnimationSafely()
725 private Animation createScaleUpAnimationLocked(int transit, boolean enter, in createScaleUpAnimationLocked()
727 Animation a; in createScaleUpAnimationLocked()
735 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked()
740 Animation alpha = new AlphaAnimation(0, 1); in createScaleUpAnimationLocked()
854 private Animation createClipRevealAnimationLocked(int transit, boolean enter, Rect appFrame, in createClipRevealAnimationLocked()
[all …]
DWindowAnimationSpec.java31 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 stackBounds, in WindowAnimationSpec()
169 private static TranslateAnimation findTranslateAnimation(Animation animation) { in findTranslateAnimation()
175 Animation a = set.getAnimations().get(i); in findTranslateAnimation()
DWindowChangeAnimationSpec.java31 import android.view.animation.Animation;
53 private Animation mAnimation;
104 Animation anim = new AlphaAnimation(1.f, 0.f); in createBoundsInterpolator()
120 final Animation scaleAnim = new ScaleAnimation(startScaleX, 1, startScaleY, 1); in createBoundsInterpolator()
126 final Animation translateAnim = new TranslateAnimation(mStartBounds.left, in createBoundsInterpolator()
134 final Animation clipAnim = new ClipRectAnimation(startClip, endClip); in createBoundsInterpolator()
/frameworks/base/core/java/android/widget/
DViewAnimator.java27 import android.view.animation.Animation;
48 Animation mInAnimation;
49 Animation mOutAnimation;
270 public Animation getInAnimation() { in getInAnimation()
282 public void setInAnimation(Animation inAnimation) { in setInAnimation()
295 public Animation getOutAnimation() { in getOutAnimation()
307 public void setOutAnimation(Animation outAnimation) { in setOutAnimation()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java36 import android.view.animation.Animation;
37 import android.view.animation.Animation.AnimationListener;
103 public void onAnimationStart(Animation animation) {
107 public void onAnimationRepeat(Animation animation) {
111 public void onAnimationEnd(Animation animation) {
254 Animation trans = new TranslateAnimation(0, dx, 0, dy); in hide()
271 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0); in show()
441 public void startAnimation(Animation anim1, Animation anim2) { in startAnimation()
650 final Animation trans1;
651 final Animation trans2;
[all …]
DFloatingToolbar.java50 import android.view.animation.Animation;
394 private final Animation.AnimationListener mOverflowAnimationListener;
813 Animation widthAnimation = new Animation() { in openOverflow()
834 Animation heightAnimation = new Animation() { in openOverflow()
850 Animation overflowButtonAnimation = new Animation() { in openOverflow()
888 Animation widthAnimation = new Animation() { in closeOverflow()
912 Animation heightAnimation = new Animation() { in closeOverflow()
927 Animation overflowButtonAnimation = new Animation() { in closeOverflow()
1490 private Animation.AnimationListener createOverflowAnimationListener() { in createOverflowAnimationListener()
1491 Animation.AnimationListener listener = new Animation.AnimationListener() { in createOverflowAnimationListener()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java26 import android.view.animation.Animation;
118 alphaAnim.setRepeatCount(Animation.INFINITE); in onCreate()
119 alphaAnim.setRepeatMode(Animation.REVERSE); in onCreate()
123 transAnim.setRepeatCount(Animation.INFINITE); in onCreate()
124 transAnim.setRepeatMode(Animation.REVERSE); in onCreate()
DBitmapsActivity.java31 import android.view.animation.Animation;
49 a.setRepeatCount(Animation.INFINITE); in onCreate()
50 a.setRepeatMode(Animation.REVERSE); in onCreate()
DAlphaLayersActivity.java28 import android.view.animation.Animation;
47 a.setRepeatCount(Animation.INFINITE); in onCreate()
48 a.setRepeatMode(Animation.REVERSE); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java23 import android.view.animation.Animation;
29 public class CurvedTranslateAnimation extends Animation {

123