Searched refs:maxLengthSeconds (Results 1 – 1 of 1) sorted by relevance
41 private float maxLengthSeconds; field in FlingAnimationUtils46 public FlingAnimationUtils(Context ctx, float maxLengthSeconds) { in FlingAnimationUtils() argument47 this.maxLengthSeconds = maxLengthSeconds; in FlingAnimationUtils()124 float maxLengthSeconds = in getProperties() local125 (float) (this.maxLengthSeconds * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties()129 if (durationSeconds <= maxLengthSeconds) { in getProperties()134 durationSeconds = maxLengthSeconds; in getProperties()142 durationSeconds = maxLengthSeconds; in getProperties()195 float maxLengthSeconds = in getDismissingProperties() local197 (this.maxLengthSeconds * Math.pow(Math.abs(endValue - currValue) / maxDistance, 0.5f)); in getDismissingProperties()[all …]