HomeSort by relevance Sort by last modified time
    Searched refs:mAnimation (Results 1 - 18 of 18) sorted by null

  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
AnimateDrawable.java 27 private Animation mAnimation;
36 mAnimation = animation;
40 return mAnimation;
44 mAnimation = anim;
48 return mAnimation != null && mAnimation.hasStarted();
52 return mAnimation == null || mAnimation.hasEnded();
60 Animation anim = mAnimation;
  /cts/tests/tests/view/src/android/view/cts/
View_AnimationTest.java 46 private TranslateAnimation mAnimation;
56 mAnimation = new TranslateAnimation(0.0f, 10.0f, 0.0f, 10.0f);
57 mAnimation.setDuration(DURATION);
73 view.setAnimation(mAnimation);
80 AnimationTestUtils.assertRunAnimation(getInstrumentation(), view, mAnimation, TIME_OUT);
103 view.startAnimation(mAnimation);
107 AnimationTestUtils.assertRunAnimation(getInstrumentation(), view, mAnimation, TIME_OUT);
124 assertFalse(mAnimation.hasStarted());
126 view.setAnimation(mAnimation);
128 assertSame(mAnimation, view.getAnimation())
    [all...]
  /frameworks/base/core/java/android/view/animation/
LayoutAnimationController.java 76 protected Animation mAnimation;
199 mAnimation = animation;
200 mAnimation.setFillBefore(true);
213 return mAnimation;
299 mDuration = mAnimation.getDuration();
301 mAnimation.setStartTime(-1);
321 final long delay = getDelayForView(view) + mAnimation.getStartOffset();
325 final Animation animation = mAnimation.clone();
341 mAnimation.getStartTime() + mMaxDelay + mDuration;
376 final float delay = mDelay * mAnimation.getDuration()
    [all...]
GridLayoutAnimationController.java 311 final long duration = mAnimation.getDuration();
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AdaptiveBackground.java 38 private final FloatAnimation mAnimation =
79 mAnimation.start();
85 if (mAnimation.isActive()) {
114 mAnimation.calculate(canvas.currentAnimationTimeMillis());
115 float ratio = mAnimation.get();
GLView.java 61 private CanvasAnimation mAnimation;
79 mAnimation = animation;
80 if (mAnimation != null) {
81 mAnimation.start();
82 root.registerLaunchedAnimation(mAnimation);
227 && component.mAnimation == null) return;
234 CanvasAnimation anim = component.mAnimation;
240 component.mAnimation = null;
CropView.java 87 private AnimationController mAnimation = new AnimationController();
144 mAnimation.initialize();
146 mAnimation.parkNow(
168 AnimationController a = mAnimation;
215 RectF r = mAnimation.mapRect(face, mRect);
248 RectF r = mAnimation.mapRect(faces.get(i), mRect);
304 RectF r = mAnimation.mapRect(highlight, new RectF());
445 mAnimation.startParkingAnimation(faceRect);
450 float scale = mAnimation.getScale();
467 mAnimation.inverseMapPoint(point)
    [all...]
SlotView.java 75 private MyAnimation mAnimation = null;
170 mAnimation = new MyAnimation();
171 mAnimation.start();
280 if (mAnimation != null) {
281 more |= mAnimation.calculate(currentTimeMillis);
282 interpolate = mAnimation.value;
  /packages/apps/Browser/src/com/android/browser/
BrowserSnapshotPage.java 213 private AnimatorSet mAnimation;
218 mAnimation = new AnimatorSet();
219 mAnimation.playTogether(
222 mAnimation.setStartDelay(100);
223 mAnimation.setDuration(400);
224 mAnimation.addListener(new AnimatorListener() {
264 mAnimation.setTarget(view);
266 if (!mAnimation.isRunning()) {
267 mAnimation.start();
  /frameworks/base/services/java/com/android/server/wm/
WindowState.java 208 Animation mAnimation;
585 mAnimation = anim;
586 mAnimation.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION);
587 mAnimation.scaleCurrentDuration(mService.mWindowAnimationScale);
591 if (mAnimation != null) {
594 mAnimation.cancel();
595 mAnimation = null;
    [all...]
DimAnimator.java 97 long duration = (w.mAnimating && w.mAnimation != null)
98 ? w.mAnimation.computeDurationHint()
WindowManagerService.java     [all...]
  /packages/apps/MusicFX/src/com/android/musicfx/seekbar/
ProgressBar.java 208 private AlphaAnimation mAnimation;
811 mAnimation = null;
818 mAnimation = new AlphaAnimation(0.0f, 1.0f);
819 mAnimation.setRepeatMode(mBehavior);
820 mAnimation.setRepeatCount(Animation.INFINITE);
821 mAnimation.setDuration(mDuration);
822 mAnimation.setInterpolator(mInterpolator);
823 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME);
832 mAnimation = null;
    [all...]
  /frameworks/base/core/java/android/widget/
ProgressBar.java 208 private AlphaAnimation mAnimation;
811 mAnimation = null;
818 mAnimation = new AlphaAnimation(0.0f, 1.0f);
819 mAnimation.setRepeatMode(mBehavior);
820 mAnimation.setRepeatCount(Animation.INFINITE);
821 mAnimation.setDuration(mDuration);
822 mAnimation.setInterpolator(mInterpolator);
823 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME);
832 mAnimation = null;
    [all...]
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 

Completed in 274 milliseconds