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.java100 public static void fadeOut(View view, float fadeOutAmount) { in fadeOut() argument
101 fadeOut(view, fadeOutAmount, true /* remap */); in fadeOut()
115 public static void fadeOut(View view, float fadeOutAmount, boolean remap) { in fadeOut() argument
117 if (fadeOutAmount == 1.0f && view.getVisibility() != View.GONE) { in fadeOut()
123 fadeOutAmount = mapToFadeDuration(fadeOutAmount); in fadeOut()
125 float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f - fadeOutAmount); in fadeOut()
130 private static float mapToFadeDuration(float fadeOutAmount) { in mapToFadeDuration() argument
134 return Math.min(fadeOutAmount / endPoint, 1.0f); in mapToFadeDuration()
DStatusBarIconView.java622 float fadeOutAmount = mDotAppearAmount - 1.0f; in onDraw() local
623 alpha = alpha * (1.0f - fadeOutAmount); in onDraw()
625 radius = NotificationUtils.interpolate(mDotRadius, (float) end, fadeOutAmount); in onDraw()