Searched refs:targetValue (Results 1 – 3 of 3) sorted by relevance
43 public int getValue(int currentValue, int targetValue) { in getValue() argument44 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() argument73 float delta = targetValue - currentValue; in getValue()79 if (retValue > targetValue) { in getValue()[all …]
153 private static int getNextMoveValue(int targetValue, int oldValue) { in getNextMoveValue() argument154 if (targetValue - oldValue > 10) { in getNextMoveValue()156 } else if (targetValue - oldValue < -10) { in getNextMoveValue()159 return targetValue; in getNextMoveValue()
379 final float targetValue, final long duration_ms, in runAnimation() argument381 if (startValue == targetValue) { in runAnimation()386 animator.setFloatValues(startValue, targetValue); in runAnimation()