OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fadeOutAmount
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
CrossFadeHelper.java
50
public static void fadeOut(View view, float
fadeOutAmount
) {
51
fadeOut(view,
fadeOutAmount
, true /* remap */);
57
* @param
fadeOutAmount
how much the view is faded out. 0 means not at all and 1 means fully
65
public static void fadeOut(View view, float
fadeOutAmount
, boolean remap) {
67
if (
fadeOutAmount
== 1.0f) {
73
fadeOutAmount
= mapToFadeDuration(
fadeOutAmount
);
75
float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f -
fadeOutAmount
);
80
private static float mapToFadeDuration(float
fadeOutAmount
) {
84
return Math.min(
fadeOutAmount
/ endPoint, 1.0f)
[
all
...]
StatusBarIconView.java
407
float
fadeOutAmount
= mDotAppearAmount - 1.0f;
408
alpha = 1.0f -
fadeOutAmount
;
409
radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4,
fadeOutAmount
);
Completed in 63 milliseconds