Home
last modified time | relevance | path

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

12345

/frameworks/support/design/base/android/support/design/widget/
DStateListAnimator.java21 import android.view.animation.Animation;
31 private Animation mRunningAnimation = null;
34 private Animation.AnimationListener mAnimationListener = new Animation.AnimationListener() {
36 public void onAnimationEnd(Animation animation) {
43 public void onAnimationStart(Animation animation) {
48 public void onAnimationRepeat(Animation animation) {
60 public void addState(int[] specs, Animation animation) { in addState()
72 Animation getRunningAnimation() { in getRunningAnimation()
98 Animation anim = mTuples.get(i).mAnimation; in clearTarget()
177 final Animation mAnimation;
[all …]
DAnimationUtils.java22 import android.view.animation.Animation;
46 static class AnimationListenerAdapter implements Animation.AnimationListener {
48 public void onAnimationStart(Animation animation) { in onAnimationStart()
52 public void onAnimationEnd(Animation animation) { in onAnimationEnd()
56 public void onAnimationRepeat(Animation animation) { in onAnimationRepeat()
/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()
DAnimation.java36 public abstract class Animation implements Cloneable { class
227 public Animation() { in Animation() method in Animation
238 public Animation(Context context, AttributeSet attrs) { in Animation() method in Animation
239 … TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.Animation); in Animation()
269 protected Animation clone() throws CloneNotSupportedException { in clone()
270 final Animation animation = (Animation) super.clone(); in clone()
367 mListener.onAnimationStart(Animation.this); in setListenerHandler()
374 mListener.onAnimationRepeat(Animation.this); in setListenerHandler()
381 mListener.onAnimationEnd(Animation.this); in setListenerHandler()
1151 void onAnimationStart(Animation animation);
[all …]
DAnimationUtils.java70 public static Animation loadAnimation(Context context, @AnimRes int id) in loadAnimation()
92 private static Animation createAnimationFromXml(Context c, XmlPullParser parser) in createAnimationFromXml()
98 private static Animation createAnimationFromXml(Context c, XmlPullParser parser, in createAnimationFromXml()
101 Animation anim = null; in createAnimationFromXml()
213 public static Animation makeInAnimation(Context c, boolean fromLeft) { in makeInAnimation()
214 Animation a; in makeInAnimation()
234 public static Animation makeOutAnimation(Context c, boolean toRight) { in makeOutAnimation()
235 Animation a; in makeOutAnimation()
255 public static Animation makeInChildBottomAnimation(Context c) { in makeInChildBottomAnimation()
256 Animation a; in makeInChildBottomAnimation()
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.h60 struct Animation { struct
79 Animation* animation; argument
91 status_t initTexture(const Animation::Frame& frame); argument
95 Animation* loadAnimation(const String8&);
96 bool playAnimation(const Animation&);
97 void releaseAnimation(Animation*) const;
98 bool parseAnimationDesc(Animation&);
99 bool preloadZip(Animation &animation);
DBootAnimation.cpp160 status_t BootAnimation::initTexture(const Animation::Frame& frame) in initTexture()
509 bool BootAnimation::parseAnimationDesc(Animation& animation) in parseAnimationDesc()
552 Animation::Part part; in parseAnimationDesc()
570 Animation::Part part; in parseAnimationDesc()
585 bool BootAnimation::preloadZip(Animation& animation) in preloadZip()
616 Animation::Part& part(animation.parts.editItemAt(j)); in preloadZip()
621 Animation::Frame frame; in preloadZip()
642 Animation* animation = loadAnimation(mZipFileName); in movie()
677 bool BootAnimation::playAnimation(const Animation& animation) in playAnimation()
688 const Animation::Part& part(animation.parts[i]); in playAnimation()
[all …]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DViewGroupBindingAdapter.java27 import android.view.animation.Animation;
28 import android.view.animation.Animation.AnimationListener;
81 public void onAnimationStart(Animation animation) { in setListener()
88 public void onAnimationEnd(Animation animation) { in setListener()
95 public void onAnimationRepeat(Animation animation) { in setListener()
113 void onAnimationStart(Animation animation); in onAnimationStart()
117 void onAnimationEnd(Animation animation); in onAnimationEnd()
121 void onAnimationRepeat(Animation animation); in onAnimationRepeat()
/frameworks/support/v4/java/android/support/v4/widget/
DSwipeRefreshLayout.java38 import android.view.animation.Animation;
39 import android.view.animation.Animation.AnimationListener;
150 private Animation mScaleAnimation;
152 private Animation mScaleDownAnimation;
154 private Animation mAlphaStartAnimation;
156 private Animation mAlphaMaxAnimation;
158 private Animation mScaleDownToStartAnimation;
171 private Animation.AnimationListener mRefreshListener = new Animation.AnimationListener() {
173 public void onAnimationStart(Animation animation) {
177 public void onAnimationRepeat(Animation animation) {
[all …]
DMaterialProgressDrawable.java21 import android.view.animation.Animation;
93 private final ArrayList<Animation> mAnimators = new ArrayList<Animation>();
113 private Animation mAnimation;
266 final ArrayList<Animation> animators = mAnimators; in isRunning()
269 final Animation animator = animators.get(i); in isRunning()
364 final Animation animation = new Animation() { in setupAnimators()
416 animation.setRepeatCount(Animation.INFINITE); in setupAnimators()
417 animation.setRepeatMode(Animation.RESTART); in setupAnimators()
419 animation.setAnimationListener(new Animation.AnimationListener() { in setupAnimators()
422 public void onAnimationStart(Animation animation) { in setupAnimators()
[all …]
/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 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()
130Animation *a = nullptr;//Animation::create(rsc, inValues, outValues, valueCount, interp, pre, post… in rsi_AnimationCreate()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListWithDisappearingItemBug.java26 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/services/core/java/com/android/server/wm/
DAppTransition.java67 import android.view.animation.Animation;
434 IBinder closeToken, Animation openAnimation, Animation closeAnimation) { in notifyAppTransitionStartingLocked()
477 Animation loadAnimationAttr(WindowManager.LayoutParams lp, int animAttr) { in loadAnimationAttr()
493 Animation loadAnimationRes(WindowManager.LayoutParams lp, int resId) { in loadAnimationRes()
505 private Animation loadAnimationRes(String packageName, int resId) { in loadAnimationRes()
595 private Animation createScaleUpAnimationLocked(int transit, boolean enter, in createScaleUpAnimationLocked()
597 Animation a; in createScaleUpAnimationLocked()
605 Animation scale = new ScaleAnimation(scaleW, 1, scaleH, 1, in createScaleUpAnimationLocked()
610 Animation alpha = new AlphaAnimation(0, 1); in createScaleUpAnimationLocked()
724 private Animation createClipRevealAnimationLocked(int transit, boolean enter, Rect appFrame, in createClipRevealAnimationLocked()
[all …]
DAppWindowAnimator.java35 import android.view.animation.Animation;
54 Animation animation;
82 Animation thumbnailAnimation;
110 static final Animation sDummyAnimation = new DummyAnimation();
118 public void setAnimation(Animation anim, int width, int height, boolean skipFirstFrame, in setAnimation()
132 if (zorder == Animation.ZORDER_TOP) { in setAnimation()
134 } else if (zorder == Animation.ZORDER_BOTTOM) { in setAnimation()
301 private long getAnimationFrameTime(Animation animation, long currentTime) { in getAnimationFrameTime()
491 static final class DummyAnimation extends Animation {
/frameworks/base/services/core/java/com/android/server/policy/
DStatusBarController.java27 import android.view.animation.Animation;
60 final Animation openAnimation, final Animation closeAnimation) {
129 private static long calculateStatusBarTransitionStartTime(Animation openAnimation, in calculateStatusBarTransitionStartTime()
130 Animation closeAnimation) { in calculateStatusBarTransitionStartTime()
158 private static TranslateAnimation findTranslateAnimation(Animation animation) { in findTranslateAnimation()
164 Animation a = set.getAnimations().get(i); in findTranslateAnimation()
/frameworks/support/design/eclair-mr1/android/support/design/widget/
DFloatingActionButtonEclairMr1.java31 import android.view.animation.Animation;
166 Animation anim = android.view.animation.AnimationUtils.loadAnimation( in hide()
172 public void onAnimationStart(Animation animation) { in hide()
177 public void onAnimationEnd(Animation animation) { in hide()
195 Animation anim = android.view.animation.AnimationUtils.loadAnimation( in show()
201 public void onAnimationEnd(Animation animation) { in show()
224 private Animation setupAnimation(Animation animation) { in setupAnimation()
230 private abstract class BaseShadowAnimation extends Animation {
/frameworks/base/core/java/android/widget/
DViewAnimator.java26 import android.view.animation.Animation;
44 Animation mInAnimation;
45 Animation mOutAnimation;
264 public Animation getInAnimation() { in getInAnimation()
276 public void setInAnimation(Animation inAnimation) { in setInAnimation()
288 public Animation getOutAnimation() { in getOutAnimation()
300 public void setOutAnimation(Animation outAnimation) { in setOutAnimation()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseCardView.java29 import android.view.animation.Animation;
131 private Animation mAnim;
671 mAnim.setAnimationListener(new Animation.AnimationListener() { in animateInfoOffset()
673 public void onAnimationStart(Animation animation) { in animateInfoOffset()
677 public void onAnimationEnd(Animation animation) { in animateInfoOffset()
686 public void onAnimationRepeat(Animation animation) { in animateInfoOffset()
714 mAnim.setAnimationListener(new Animation.AnimationListener() { in animateInfoHeight()
716 public void onAnimationStart(Animation animation) { in animateInfoHeight()
720 public void onAnimationEnd(Animation animation) { in animateInfoHeight()
729 public void onAnimationRepeat(Animation animation) { in animateInfoHeight()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java35 import android.view.animation.Animation;
38 import android.view.animation.Animation.AnimationListener;
99 public void onAnimationStart(Animation animation) {
103 public void onAnimationRepeat(Animation animation) {
107 public void onAnimationEnd(Animation animation) {
248 Animation trans = new TranslateAnimation(0, dx, 0, dy); in hide()
265 Animation trans = new TranslateAnimation(-dx, 0, -dy, 0); in show()
435 public void startAnimation(Animation anim1, Animation anim2) { in startAnimation()
644 final Animation trans1;
645 final Animation trans2;
[all …]
/frameworks/base/core/java/android/view/
DWindowManagerInternal.java25 import android.view.animation.Animation;
114 Animation openAnimation, Animation closeAnimation) {} in onAppTransitionStartingLocked()
/frameworks/support/design/src/android/support/design/widget/
DSnackbar.java42 import android.view.animation.Animation;
548 Animation anim = AnimationUtils.loadAnimation(mView.getContext(), in animateViewIn()
552 anim.setAnimationListener(new Animation.AnimationListener() { in animateViewIn()
554 public void onAnimationEnd(Animation animation) { in animateViewIn()
559 public void onAnimationStart(Animation animation) {} in animateViewIn()
562 public void onAnimationRepeat(Animation animation) {} in animateViewIn()
586 Animation anim = AnimationUtils.loadAnimation(mView.getContext(), in animateViewOut()
590 anim.setAnimationListener(new Animation.AnimationListener() { in animateViewOut()
592 public void onAnimationEnd(Animation animation) { in animateViewOut()
597 public void onAnimationStart(Animation animation) {} in animateViewOut()
[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()

12345