Home
last modified time | relevance | path

Searched refs:normalizedTime (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DOverlayListView.java231 float normalizedTime = (currentTime - mStartTime) / (float) mDuration; in update() local
232 normalizedTime = Math.max(0.0f, Math.min(1.0f, normalizedTime)); in update()
234 normalizedTime = 0.0f; in update()
236 float interpolatedTime = (mInterpolator == null) ? normalizedTime in update()
237 : mInterpolator.getInterpolation(normalizedTime); in update()
246 if (mIsAnimationStarted && normalizedTime >= 1.0f) { in update()
/frameworks/base/core/java/android/view/animation/
DAnimation.java848 float normalizedTime; in getTransformation() local
850 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
854 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; in getTransformation()
857 final boolean expired = normalizedTime >= 1.0f || isCanceled(); in getTransformation()
860 if (!mFillEnabled) normalizedTime = Math.max(Math.min(normalizedTime, 1.0f), 0.0f); in getTransformation()
862 if ((normalizedTime >= 0.0f || mFillBefore) && (normalizedTime <= 1.0f || mFillAfter)) { in getTransformation()
871 if (mFillEnabled) normalizedTime = Math.max(Math.min(normalizedTime, 1.0f), 0.0f); in getTransformation()
874 normalizedTime = 1.0f - normalizedTime; in getTransformation()
877 final float interpolatedTime = mInterpolator.getInterpolation(normalizedTime); in getTransformation()
/frameworks/base/services/core/java/com/android/server/wm/animation/
DClipRectTBAnimation.java58 float normalizedTime; in getTransformation() local
60 normalizedTime = ((float) (currentTime - (getStartTime() + startOffset))) / in getTransformation()
64 normalizedTime = currentTime < getStartTime() ? 0.0f : 1.0f; in getTransformation()
66 mNormalizedTime = normalizedTime; in getTransformation()