Searched defs:targetValue (Results 1 - 2 of 2) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DLerper.java43 public int getValue(int currentValue, int targetValue) { argument
44 int delta = targetValue - currentValue;
47 // make sure change currentValue and not exceeding targetValue
53 if (retValue > targetValue) {
54 retValue = targetValue;
57 // make sure change currentValue and not exceeding targetValue
63 if (retValue < targetValue) {
64 retValue = targetValue;
67 retValue = targetValue;
72 public float getValue(float currentValue, float targetValue) { argument
[all...]
/packages/apps/Camera2/src/com/android/camera/widget/
H A DFilmstripView.java295 final float targetValue, final long duration_ms,
297 if (startValue == targetValue) {
302 animator.setFloatValues(startValue, targetValue);
294 runAnimation(final ValueAnimator animator, final float startValue, final float targetValue, final long duration_ms, final TimeInterpolator interpolator) argument

Completed in 212 milliseconds