Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DMaterialProgressDrawable.java348 private void updateRingColor(float interpolatedTime, Ring ring) { in updateRingColor() argument
349 if (interpolatedTime > COLOR_START_DELAY_OFFSET) { in updateRingColor()
353 ring.setColor(evaluateColorChange((interpolatedTime - COLOR_START_DELAY_OFFSET) in updateRingColor()
359 private void applyFinishTranslation(float interpolatedTime, Ring ring) { in applyFinishTranslation() argument
363 updateRingColor(interpolatedTime, ring); in applyFinishTranslation()
369 * interpolatedTime; in applyFinishTranslation()
373 + ((targetRotation - ring.getStartingRotation()) * interpolatedTime); in applyFinishTranslation()
381 public void applyTransformation(float interpolatedTime, Transformation t) { in setupAnimators()
383 applyFinishTranslation(interpolatedTime, ring); in setupAnimators()
392 updateRingColor(interpolatedTime, ring); in setupAnimators()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/animation/
DPopupTransitionAnimation.java182 protected void applyTransformation(final float interpolatedTime, final Transformation t) { in applyTransformation() argument
193 mCurrentRect = mRectEvaluator.evaluate(interpolatedTime, mStartRect, mDestRect); in applyTransformation()
196 if (interpolatedTime >= 0.98) { in applyTransformation()
197 mEvents.append("aT").append(interpolatedTime).append(','); in applyTransformation()
199 if (interpolatedTime == 1) { in applyTransformation()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java797 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
798 mDialAngle = (int) (mFrom + (mTo - mFrom) * interpolatedTime); in applyTransformation()
820 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
821 mValue = (mFrom + (mTo - mFrom) * interpolatedTime); in applyTransformation()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java789 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
790 dialAngle = (int) (from + (to - from) * interpolatedTime); in applyTransformation()
811 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
812 value = (from + (to - from) * interpolatedTime); in applyTransformation()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java482 protected void applyTransformation(float interpolatedTime, Transformation t) { in applyTransformation() argument
483 if (interpolatedTime == 0) { in applyTransformation()
489 setValues(((mEndX - mStartX) * interpolatedTime + mStartX), in applyTransformation()
490 ((mEndY - mStartY) * interpolatedTime + mStartY), in applyTransformation()
491 ((int)((mEndWidth - mStartWidth) * interpolatedTime + mStartWidth)), in applyTransformation()
492 ((int)((mEndHeight - mStartHeight) * interpolatedTime + mStartHeight))); in applyTransformation()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java288 protected void applyTransformation(final float interpolatedTime, in setDesiredHeight()
290 mCurrentDesiredHeight = (int) (startHeight + deltaHeight * interpolatedTime); in setDesiredHeight()