Home
last modified time | relevance | path

Searched refs:fadeOutAmount (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DCrossFadeHelper.java61 public static void fadeOut(View view, float fadeOutAmount) { in fadeOut() argument
62 fadeOut(view, fadeOutAmount, true /* remap */); in fadeOut()
76 public static void fadeOut(View view, float fadeOutAmount, boolean remap) { in fadeOut() argument
78 if (fadeOutAmount == 1.0f) { in fadeOut()
84 fadeOutAmount = mapToFadeDuration(fadeOutAmount); in fadeOut()
86 float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f - fadeOutAmount); in fadeOut()
91 private static float mapToFadeDuration(float fadeOutAmount) { in mapToFadeDuration() argument
95 return Math.min(fadeOutAmount / endPoint, 1.0f); in mapToFadeDuration()
DStatusBarIconView.java467 float fadeOutAmount = mDotAppearAmount - 1.0f; in onDraw() local
468 alpha = alpha * (1.0f - fadeOutAmount); in onDraw()
469 radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4, fadeOutAmount); in onDraw()