/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | TemperatureColorStore.java | 133 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/ |
D | AutoFocusRing.java | 61 .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()
|
D | ManualFocusRing.java | 56 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/ |
D | MathUtil.java | 30 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/ |
D | InterpolateUtils.java | 35 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/ |
D | FlingUpDownMethod.java | 114 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/ |
D | AnswerFragment.java | 140 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/ |
D | EdgeBackGesturePanel.java | 428 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/ |
D | AutoFocusHelper.java | 40 … (CameraUtil.lerp(MeteringRectangle.METERING_WEIGHT_MIN, MeteringRectangle.METERING_WEIGHT_MAX,
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTable.java | 303 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/ |
D | CameraUtil.java | 391 public static float lerp(float a, float b, float t) { in lerp() method in CameraUtil
|