Home
last modified time | relevance | path

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

/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/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/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/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