Home
last modified time | relevance | path

Searched refs:targetValue (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DLerper.java43 public int getValue(int currentValue, int targetValue) { in getValue() argument
44 int delta = targetValue - currentValue; in getValue()
53 if (retValue > targetValue) { in getValue()
54 retValue = targetValue; in getValue()
63 if (retValue < targetValue) { in getValue()
64 retValue = targetValue; in getValue()
67 retValue = targetValue; in getValue()
72 public float getValue(float currentValue, float targetValue) { in getValue() argument
73 float delta = targetValue - currentValue; in getValue()
79 if (retValue > targetValue) { in getValue()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DLauncherInstrumentationTestCase.java235 private int getNextMoveValue(int targetValue, int oldValue) { in getNextMoveValue() argument
236 if (targetValue - oldValue > 10) { in getNextMoveValue()
238 } else if (targetValue - oldValue < -10) { in getNextMoveValue()
241 return targetValue; in getNextMoveValue()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java379 final float targetValue, final long duration_ms, in runAnimation() argument
381 if (startValue == targetValue) { in runAnimation()
386 animator.setFloatValues(startValue, targetValue); in runAnimation()