Searched refs:fadeAmount (Results 1 – 2 of 2) sorted by relevance
220 val fadeAmount = getPercentPastThreshold(amount, 0.5f) in setRevealAmountOnScrim() constant223 scrim.revealGradientEndColorAlpha = 1f - fadeAmount in setRevealAmountOnScrim()249 val fadeAmount = getPercentPastThreshold(interpolatedAmount, 0.5f) in setRevealAmountOnScrim() constant252 revealGradientEndColorAlpha = 1f - fadeAmount in setRevealAmountOnScrim()
223 public void setFadeAmount(float fadeAmount, boolean fadingOut) { in setFadeAmount() argument231 CrossFadeHelper.fadeOut(mView, 1 - fadeAmount, /* remap= */ false); in setFadeAmount()233 CrossFadeHelper.fadeIn(mView, fadeAmount, /* remap= */ false); in setFadeAmount()