Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/animation/
DAnimation.java908 float normalizedTime; in getTransformation() local
910 normalizedTime = ((float) (currentTime - (mStartTime + startOffset))) / in getTransformation()
914 normalizedTime = currentTime < mStartTime ? 0.0f : 1.0f; in getTransformation()
917 final boolean expired = normalizedTime >= 1.0f || isCanceled(); in getTransformation()
920 if (!mFillEnabled) normalizedTime = Math.max(Math.min(normalizedTime, 1.0f), 0.0f); in getTransformation()
922 if ((normalizedTime >= 0.0f || mFillBefore) && (normalizedTime <= 1.0f || mFillAfter)) { in getTransformation()
931 if (mFillEnabled) normalizedTime = Math.max(Math.min(normalizedTime, 1.0f), 0.0f); in getTransformation()
934 normalizedTime = 1.0f - normalizedTime; in getTransformation()
937 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()
/frameworks/av/include/media/
DVolumeShaper.h409 void setNormalizedTime(S normalizedTime) { in setNormalizedTime() argument
411 ? MAX_CURVE_TIME - normalizedTime : normalizedTime); in setNormalizedTime()
692 S normalizedTime = (getFlags() & VolumeShaper::Operation::FLAG_REVERSE) != 0 ? in updatePosition() local
695 - static_cast<double>(normalizedTime) / scale)); in updatePosition()