Home
last modified time | relevance | path

Searched refs:interpolatedTime (Results 1 – 17 of 17) sorted by relevance

/frameworks/support/v4/java/android/support/v4/widget/
DMaterialProgressDrawable.java333 private void updateRingColor(float interpolatedTime, Ring ring) { in updateRingColor() argument
334 if (interpolatedTime > COLOR_START_DELAY_OFFSET) { in updateRingColor()
338 ring.setColor(evaluateColorChange((interpolatedTime - COLOR_START_DELAY_OFFSET) in updateRingColor()
344 private void applyFinishTranslation(float interpolatedTime, Ring ring) { in applyFinishTranslation() argument
348 updateRingColor(interpolatedTime, ring); in applyFinishTranslation()
354 * interpolatedTime; in applyFinishTranslation()
358 + ((targetRotation - ring.getStartingRotation()) * interpolatedTime); in applyFinishTranslation()
366 public void applyTransformation(float interpolatedTime, Transformation t) { in setupAnimators()
368 applyFinishTranslation(interpolatedTime, ring); in setupAnimators()
377 updateRingColor(interpolatedTime, ring); in setupAnimators()
[all …]
DSwipeRefreshLayout.java405 public void applyTransformation(float interpolatedTime, Transformation t) { in startScaleUpAnimation()
406 setAnimationProgress(interpolatedTime); in startScaleUpAnimation()
446 public void applyTransformation(float interpolatedTime, Transformation t) { in startScaleDownAnimation()
447 setAnimationProgress(1 - interpolatedTime); in startScaleDownAnimation()
472 public void applyTransformation(float interpolatedTime, Transformation t) { in startAlphaAnimation()
475 * interpolatedTime))); in startAlphaAnimation()
1084 public void applyTransformation(float interpolatedTime, Transformation t) {
1092 targetTop = (mFrom + (int) ((endTarget - mFrom) * interpolatedTime));
1095 mProgress.setArrowScale(1 - interpolatedTime);
1099 private void moveToStart(float interpolatedTime) { in moveToStart() argument
[all …]
/frameworks/base/core/java/android/view/animation/
DTranslateYAnimation.java49 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
52 float dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime); in applyTransformation()
DTranslateXAnimation.java49 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
52 float dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime); in applyTransformation()
DTranslateAnimation.java158 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
162 dx = mFromXDelta + ((mToXDelta - mFromXDelta) * interpolatedTime); in applyTransformation()
165 dy = mFromYDelta + ((mToYDelta - mFromYDelta) * interpolatedTime); in applyTransformation()
DAlphaAnimation.java67 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
69 t.setAlpha(alpha + ((mToAlpha - alpha) * interpolatedTime)); in applyTransformation()
DScaleAnimation.java241 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
247 sx = mFromX + ((mToX - mFromX) * interpolatedTime); in applyTransformation()
250 sy = mFromY + ((mToY - mFromY) * interpolatedTime); in applyTransformation()
DRotateAnimation.java166 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
167 float degrees = mFromDegrees + ((mToDegrees - mFromDegrees) * interpolatedTime); in applyTransformation()
DAnimation.java877 final float interpolatedTime = mInterpolator.getInterpolation(normalizedTime); in getTransformation() local
878 applyTransformation(interpolatedTime, outTransformation); in getTransformation()
984 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
/frameworks/base/services/core/java/com/android/server/wm/animation/
DCurvedTranslateAnimation.java38 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
39 PointF location = (PointF) mKeyframes.getValue(interpolatedTime); in applyTransformation()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DOverlayListView.java236 float interpolatedTime = (mInterpolator == null) ? normalizedTime in update() local
238 int deltaY = (int) (mDeltaY * interpolatedTime); in update()
241 mCurrentAlpha = mStartAlpha + (mEndAlpha - mStartAlpha) * interpolatedTime; in update()
DMediaRouteControllerDialog.java683 protected void applyTransformation(float interpolatedTime, Transformation t) { in animateLayoutHeight()
684 int height = startValue - (int) ((startValue - endValue) * interpolatedTime); in animateLayoutHeight()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DBaseCardView.java869 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
870 mInfoOffset = mStartValue + (interpolatedTime * mDelta); in applyTransformation()
887 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
888 mInfoVisFraction = mStartValue + (interpolatedTime * mDelta); in applyTransformation()
905 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
906 mInfoAlpha = mStartValue + (interpolatedTime * mDelta); in applyTransformation()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java737 protected void applyTransformation(float interpolatedTime, Transformation t) { in openOverflow()
738 int deltaWidth = (int) (interpolatedTime * (targetWidth - startWidth)); in openOverflow()
758 protected void applyTransformation(float interpolatedTime, Transformation t) { in openOverflow()
759 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in openOverflow()
774 protected void applyTransformation(float interpolatedTime, Transformation t) { in openOverflow()
776 + interpolatedTime * (overflowButtonTargetX - overflowButtonStartX); in openOverflow()
812 protected void applyTransformation(float interpolatedTime, Transformation t) { in closeOverflow()
813 int deltaWidth = (int) (interpolatedTime * (targetWidth - startWidth)); in closeOverflow()
836 protected void applyTransformation(float interpolatedTime, Transformation t) { in closeOverflow()
837 int deltaHeight = (int) (interpolatedTime * (targetHeight - startHeight)); in closeOverflow()
[all …]
/frameworks/support/design/eclair-mr1/android/support/design/widget/
DFloatingActionButtonEclairMr1.java243 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
244 mShadowDrawable.setShadowSize(mShadowSizeStart + (mShadowSizeDiff * interpolatedTime)); in applyTransformation()
/frameworks/base/core/java/android/gesture/
DGestureOverlayView.java763 float interpolatedTime = Math.max(0.0f, in run() local
765 mFadingAlpha = 1.0f - mInterpolator.getInterpolation(interpolatedTime); in run()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSwitchCompat.java1440 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
1441 setThumbPosition(mStartPosition + (mDiff * interpolatedTime)); in applyTransformation()