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

/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
H A DDefaultGenerator.java218 * {@code targetValue} and then decreases as the absolute difference between {@code value} and
219 * {@code targetValue} increases.
222 * @param targetValue the value which we desire
224 private static float invertDiff(float value, float targetValue) { argument
225 return 1f - Math.abs(value - targetValue);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java544 float targetValue;
548 targetValue = 1.0f;
552 targetValue = 0.0f;
555 targetValue);
558 (long) (duration * Math.abs(mAppearAnimationFraction - targetValue)));
/frameworks/support/design/src/android/support/design/widget/
H A DCollapsingTextHelper.java540 private static boolean isClose(float value, float targetValue) { argument
541 return Math.abs(value - targetValue) < 0.001f;

Completed in 80 milliseconds