Home
last modified time | relevance | path

Searched refs:NO_ANIMATION (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DAnimation.java50 private static final long NO_ANIMATION = -2; field in Animation
52 private long mStartTime = NO_ANIMATION;
73 return mStartTime != NO_ANIMATION; in isActive()
77 mStartTime = NO_ANIMATION; in forceStop()
81 if (mStartTime == NO_ANIMATION) return false; in calculate()
87 if (elapse >= mDuration) mStartTime = NO_ANIMATION; in calculate()
88 return mStartTime != NO_ANIMATION; in calculate()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java43 private static final long NO_ANIMATION = -1; field in PositionController
327 b.mAnimationStartTime = NO_ANIMATION; in setBoxSize()
430 mPlatform.mAnimationStartTime = NO_ANIMATION; in stopAnimation()
432 mBoxes.get(i).mAnimationStartTime = NO_ANIMATION; in stopAnimation()
435 mGaps.get(i).mAnimationStartTime = NO_ANIMATION; in stopAnimation()
440 if (mPlatform.mAnimationStartTime != NO_ANIMATION) { in skipAnimation()
443 mPlatform.mAnimationStartTime = NO_ANIMATION; in skipAnimation()
447 if (b.mAnimationStartTime == NO_ANIMATION) continue; in skipAnimation()
450 b.mAnimationStartTime = NO_ANIMATION; in skipAnimation()
454 if (g.mAnimationStartTime == NO_ANIMATION) continue; in skipAnimation()
[all …]
DUndoBarView.java164 private static final long NO_ANIMATION = -1; field in UndoBarView
166 private long mAnimationStartTime = NO_ANIMATION;
177 mAnimationStartTime = NO_ANIMATION; in setVisibility()
184 if (mAnimationStartTime == NO_ANIMATION && mAlpha == target) return; in animateVisibility()
185 if (mAnimationStartTime != NO_ANIMATION && mToAlpha == target) return; in animateVisibility()
196 if (mAnimationStartTime == NO_ANIMATION) return; in advanceAnimation()
204 mAnimationStartTime = NO_ANIMATION; in advanceAnimation()
/packages/apps/LegacyCamera/src/com/android/camera/
DMenuHelper.java45 private static final int NO_ANIMATION = 0; field in MenuHelper