Home
last modified time | relevance | path

Searched refs:drift (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSystemUIInterpolators.java32 private LogDecelerateInterpolator(float base, float timeScale, float drift) { in LogDecelerateInterpolator() argument
34 mDrift = drift; in LogDecelerateInterpolator()
59 private LogAccelerateInterpolator(int base, int drift) { in LogAccelerateInterpolator() argument
61 mDrift = drift; in LogAccelerateInterpolator()
65 private static float computeLog(float t, int base, int drift) { in computeLog() argument
66 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()
/frameworks/base/services/core/java/com/android/server/policy/
DLogDecelerateInterpolator.java27 public LogDecelerateInterpolator(int base, int drift) { in LogDecelerateInterpolator() argument
29 mDrift = drift; in LogDecelerateInterpolator()
34 private static float computeLog(float t, int base, int drift) { in computeLog() argument
35 return (float) -Math.pow(base, -t) + 1 + (drift * t); in computeLog()