Searched refs:targetValue (Results 1 – 2 of 2) 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 …]
379 final float targetValue, final long duration_ms, in runAnimation() argument381 if (startValue == targetValue) { in runAnimation()386 animator.setFloatValues(startValue, targetValue); in runAnimation()