/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 | 40 private TranslateAnimation mAnimation; 50 mAnimation = new TranslateAnimation(0.0f, 10.0f, 0.0f, 10.0f); 51 mAnimation.setDuration(DURATION); 60 view.setAnimation(mAnimation); 67 AnimationTestUtils.assertRunAnimation(getInstrumentation(), view, mAnimation, TIME_OUT); 82 view.startAnimation(mAnimation); 86 AnimationTestUtils.assertRunAnimation(getInstrumentation(), view, mAnimation, TIME_OUT); 91 assertFalse(mAnimation.hasStarted()); 93 view.setAnimation(mAnimation); 95 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();
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/ |
InfoBarContainer.java | 86 private AnimationHelper mAnimation; 139 return mAnimation != null; 183 if (mAnimation == null || child != mAnimation.getTarget()) { 193 canvas.clipRect(mAnimation.getTarget().getClippingRect()); 352 if (mAnimation != null || mInfoBarTransitions.isEmpty()) return; 372 mAnimation = new AnimationHelper(this, targetView, info.target, toShow, info.animationType); 373 mAnimation.start(); 465 assert mAnimation != null; 468 if (mAnimation.getAnimationType() == AnimationHelper.ANIMATION_TYPE_HIDE) [all...] |
/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();
|
NavigationBarTablet.java | 265 private AnimatorSet mAnimation; 277 mAnimation = new AnimatorSet(); 278 mAnimation.playTogether(anim1, anim2, anim3); 279 mAnimation.addListener(new AnimatorListenerAdapter() { 283 mAnimation = null; 286 mAnimation.setDuration(150); 287 mAnimation.start(); 291 if (mAnimation != null) { 292 mAnimation.cancel();
|
/external/replicaisland/src/com/replica/replicaisland/ |
AnimationPlayerActivity.java | 43 private AnimationDrawable mAnimation; 83 mAnimation = (AnimationDrawable) canvasImage.getDrawable(); 173 if (hasFocus && mAnimation != null) { 174 mAnimation.start(); 175 mKillActivityHandler.sleep(mAnimation.getDuration(0) * mAnimation.getNumberOfFrames());
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLView.java | 67 private CanvasAnimation mAnimation; 88 mAnimation = animation; 89 if (mAnimation != null) { 90 mAnimation.start(); 91 root.registerLaunchedAnimation(mAnimation); 269 && component.mAnimation == null) return; 276 CanvasAnimation anim = component.mAnimation; 282 component.mAnimation = null;
|
SlotView.java | 71 private SlotAnimation mAnimation = null; 170 mAnimation = new ScatteringAnimation(position); 171 mAnimation.start(); 176 mAnimation = new RisingAnimation(); 177 mAnimation.start(); 270 if (mAnimation != null) { 271 more |= mAnimation.calculate(animTime); 322 if (mAnimation != null && mAnimation.isActive()) { 323 mAnimation.apply(canvas, index, rect) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ProgressBarICS.java | 91 private AlphaAnimation mAnimation; 619 mAnimation = null; 626 mAnimation = new AlphaAnimation(0.0f, 1.0f); 627 mAnimation.setRepeatMode(mBehavior); 628 mAnimation.setRepeatCount(Animation.INFINITE); 629 mAnimation.setDuration(mDuration); 630 mAnimation.setInterpolator(mInterpolator); 631 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME); 640 mAnimation = null; 779 if (mAnimation != null) [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
WindowStateAnimator.java | 74 Animation mAnimation; 181 mAnimation = anim; 182 mAnimation.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION); 183 mAnimation.scaleCurrentDuration(mService.mWindowAnimationScale); 191 if (mAnimation != null) { 194 mAnimation.cancel(); 195 mAnimation = null; 201 return mAnimation != null 202 || (mAttachedWinAnimator != null && mAttachedWinAnimator.mAnimation != null) 216 return mAnimation != null [all...] |
WindowState.java | 799 || mWinAnimator.mAnimation != null || animating); 857 || mWinAnimator.mAnimation != null || atoken.mAppAnimator.animation != null); 859 return !mAttachedHidden || mWinAnimator.mAnimation != null; 874 || mWinAnimator.mAnimation != null 895 || mWinAnimator.mAnimation != null [all...] |
TaskStack.java | 192 long duration = (mDimWinAnimator.mAnimating && mDimWinAnimator.mAnimation != null) 193 ? mDimWinAnimator.mAnimation.computeDurationHint()
|
WindowAnimator.java | 259 + " anim=" + win.mWinAnimator.mAnimation); 366 if (winAnimator.mAnimation != null) { 368 && winAnimator.mAnimation.getDetachWallpaper()) { 371 final int color = winAnimator.mAnimation.getBackgroundColor();
|
/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 | 211 private AlphaAnimation mAnimation; 874 if (mAnimation == null) { 875 mAnimation = new AlphaAnimation(0.0f, 1.0f); 877 mAnimation.reset(); 880 mAnimation.setRepeatMode(mBehavior); 881 mAnimation.setRepeatCount(Animation.INFINITE); 882 mAnimation.setDuration(mDuration); 883 mAnimation.setInterpolator(mInterpolator); 884 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME); [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
PieRenderer.java | 54 private ScaleAnimation mAnimation = new ScaleAnimation(); 612 mAnimation.cancel(); 613 mAnimation.reset(); 720 if (mAnimation != null) { 721 mAnimation.cancel(); 744 mAnimation.reset(); 745 mAnimation.setDuration(duration); 746 mAnimation.setScale(fromScale, toScale); 747 mAnimation.setAnimationListener(timeout ? mEndAction : null); 748 mOverlay.startAnimation(mAnimation); [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
PieRenderer.java | 58 private ScaleAnimation mAnimation = new ScaleAnimation(); [all...] |
/frameworks/native/libs/gui/ |
SurfaceComposerClient.cpp | 120 bool mAnimation; 124 mAnimation(false) 233 if (mAnimation) { 238 mAnimation = false; 246 mAnimation = true;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
RenderPreviewManager.java | 116 private SwapAnimation mAnimation; 665 if (mAnimation != null) { 666 mAnimation.tick(gc); [all...] |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/4/ |
android.jar | |