Searched refs:SWIPE_DISTANCE_WEIGHT_ON_ALPHA (Results 1 – 1 of 1) sorted by relevance
41 private static final float SWIPE_DISTANCE_WEIGHT_ON_ALPHA = 0.9F; field in DismissAnimationHelper136 return SWIPE_DISTANCE_WEIGHT_ON_ALPHA * (1 - Math.min(Math.abs(translateX / width), 1)) in calculateAlphaValue()137 + (1 - SWIPE_DISTANCE_WEIGHT_ON_ALPHA); in calculateAlphaValue()