Searched defs:interpolatedTime (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/java/android/view/animation/
H A DAlphaAnimation.java67 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
69 t.setAlpha(alpha + ((mToAlpha - alpha) * interpolatedTime));
H A DTranslateXAnimation.java49 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
52 float dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime);
H A DTranslateYAnimation.java49 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
52 float dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime);
H A DRotateAnimation.java166 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
167 float degrees = mFromDegrees + ((mToDegrees - mFromDegrees) * interpolatedTime);
H A DTranslateAnimation.java158 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
162 dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime);
165 dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime);
H A DScaleAnimation.java241 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
247 sx = mFromX + ((mToX - mFromX) * interpolatedTime);
250 sy = mFromY + ((mToY - mFromY) * interpolatedTime);
H A DAnimation.java905 final float interpolatedTime = mInterpolator.getInterpolation(normalizedTime);
906 applyTransformation(interpolatedTime, outTransformation);
1007 * @param interpolatedTime The value of the normalized time (0.0 to 1.0)
1012 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
/frameworks/base/services/core/java/com/android/server/wm/animation/
H A DCurvedTranslateAnimation.java38 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
39 PointF location = (PointF) mKeyframes.getValue(interpolatedTime);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DBaseCardView.java927 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
928 mInfoOffset = mStartValue + (interpolatedTime * mDelta);
945 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
946 mInfoVisFraction = mStartValue + (interpolatedTime * mDelta);
963 protected void applyTransformation(float interpolatedTime, Transformation t) { argument
964 mInfoAlpha = mStartValue + (interpolatedTime * mDelta);
/frameworks/support/swiperefreshlayout/src/main/java/androidx/swiperefreshlayout/widget/
H A DCircularProgressDrawable.java495 private void updateRingColor(float interpolatedTime, Ring ring) { argument
496 if (interpolatedTime > COLOR_CHANGE_OFFSET) {
497 ring.setColor(evaluateColorChange((interpolatedTime - COLOR_CHANGE_OFFSET)
509 private void applyFinishTranslation(float interpolatedTime, Ring ring) { argument
513 updateRingColor(interpolatedTime, ring);
518 * interpolatedTime;
522 + ((targetRotation - ring.getStartingRotation()) * interpolatedTime);
529 private void applyTransformation(float interpolatedTime, Ring ring, boolean lastFrame) { argument
531 applyFinishTranslation(interpolatedTime, ring);
534 } else if (interpolatedTime !
[all...]
H A DSwipeRefreshLayout.java443 public void applyTransformation(float interpolatedTime, Transformation t) {
444 setAnimationProgress(interpolatedTime);
480 public void applyTransformation(float interpolatedTime, Transformation t) {
481 setAnimationProgress(1 - interpolatedTime);
501 public void applyTransformation(float interpolatedTime, Transformation t) {
503 (int) (startingAlpha + ((endingAlpha - startingAlpha) * interpolatedTime)));
1119 public void applyTransformation(float interpolatedTime, Transformation t) {
1127 targetTop = (mFrom + (int) ((endTarget - mFrom) * interpolatedTime));
1130 mProgress.setArrowScale(1 - interpolatedTime);
1134 void moveToStart(float interpolatedTime) { argument
[all...]

Completed in 18 milliseconds