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.java63 public static void fadeOut(View view, float fadeOutAmount) { in fadeOut() argument
64 fadeOut(view, fadeOutAmount, true /* remap */); in fadeOut()
78 public static void fadeOut(View view, float fadeOutAmount, boolean remap) { in fadeOut() argument
80 if (fadeOutAmount == 1.0f && view.getVisibility() != View.GONE) { in fadeOut()
86 fadeOutAmount = mapToFadeDuration(fadeOutAmount); in fadeOut()
88 float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f - fadeOutAmount); in fadeOut()
93 private static float mapToFadeDuration(float fadeOutAmount) { in mapToFadeDuration() argument
97 return Math.min(fadeOutAmount / endPoint, 1.0f); in mapToFadeDuration()
DStatusBarIconView.java513 float fadeOutAmount = mDotAppearAmount - 1.0f; in onDraw() local
514 alpha = alpha * (1.0f - fadeOutAmount); in onDraw()
515 radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4, fadeOutAmount); in onDraw()