Home
last modified time | relevance | path

Searched refs:lerp (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/
DTemperatureColorStore.java133 outColor[1] = lerp(fraction, startHsv[1], endHsv[1]); in lerpColor()
134 outColor[2] = lerp(fraction, startHsv[2], endHsv[2]); in lerpColor()
155 return lerp(fraction, start, end) % 360f; in hueLerp()
159 private float lerp(float fraction, float start, float end) { in lerp() method in TemperatureColorStore
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DAutoFocusRing.java61 .lerp(0, 255, mEnterOpacityCurve.valueAt(rFade)); in draw()
65 .lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
70 .lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
DManualFocusRing.java56 ringAlpha = (int) InterpolateUtils.lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
60 ringAlpha = (int) InterpolateUtils.lerp(255, 0, mExitOpacityCurve.valueAt(rFade)); in draw()
/packages/apps/Dialer/java/com/android/dialer/common/
DMathUtil.java30 public static int lerp(int begin, int end, float percent) { in lerp() method in MathUtil
42 public static float lerp(float begin, float end, float percent) { in lerp() method in MathUtil
/packages/apps/Camera2/src/com/android/camera/ui/motion/
DInterpolateUtils.java35 public static float lerp(float v0, float v1, float t) { in lerp() method in InterpolateUtils
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java114 view.setTranslationY(MathUtil.lerp(view.getTranslationY(), newY, SWIPE_LERP_PROGRESS_FACTOR)); in moveTowardY()
118 view.setTranslationX(MathUtil.lerp(view.getTranslationX(), newX, SWIPE_LERP_PROGRESS_FACTOR)); in moveTowardX()
122 view.setAlpha(MathUtil.lerp(view.getAlpha(), newAlpha, SWIPE_LERP_PROGRESS_FACTOR)); in fadeToward()
126 view.setRotation(MathUtil.lerp(view.getRotation(), newRotation, SWIPE_LERP_PROGRESS_FACTOR)); in rotateToward()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java140 view.setAlpha(MathUtil.lerp(view.getAlpha(), newAlpha, ANIMATE_LERP_PROGRESS)); in fadeToward()
144 view.setScaleX(MathUtil.lerp(view.getScaleX(), newScale, ANIMATE_LERP_PROGRESS)); in scaleToward()
145 view.setScaleY(MathUtil.lerp(view.getScaleY(), newScale, ANIMATE_LERP_PROGRESS)); in scaleToward()
920 scaleToward(contactGridManager.getContainerView(), MathUtil.lerp(1f, .75f, headerProgress)); in onAnswerProgressUpdate()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DEdgeBackGesturePanel.java428 float extent = lerp(1.0f, 0.75f, mDisappearAmount); in calculatePath()
438 private static float lerp(float start, float stop, float amount) { in lerp() method in EdgeBackGesturePanel
/packages/apps/Camera2/src/com/android/camera/one/v2/
DAutoFocusHelper.java40 … (CameraUtil.lerp(MeteringRectangle.METERING_WEIGHT_MIN, MeteringRectangle.METERING_WEIGHT_MAX,
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java303 static float lerp(float a, float b, float f) { in lerp() method in PhotoTable
308 return lerp(a, b, sRNG.nextFloat()); in randfrange()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java391 public static float lerp(float a, float b, float t) { in lerp() method in CameraUtil