Home
last modified time | relevance | path

Searched refs:computeLog (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSystemUIInterpolators.java37 mOutputScale = 1f / computeLog(1f); in LogDecelerateInterpolator()
40 private float computeLog(float t) { in computeLog() method in SystemUIInterpolators.LogDecelerateInterpolator
46 return computeLog(t) * mOutputScale; in getInterpolation()
62 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogAccelerateInterpolator()
65 private static float computeLog(float t, int base, int drift) { in computeLog() method in SystemUIInterpolators.LogAccelerateInterpolator
71 return 1 - computeLog(1 - t, mBase, mDrift) * mLogScale; in getInterpolation()
/frameworks/base/services/core/java/com/android/server/policy/
DLogDecelerateInterpolator.java31 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogDecelerateInterpolator()
34 private static float computeLog(float t, int base, int drift) { in computeLog() method in LogDecelerateInterpolator
40 return computeLog(t, mBase, mDrift) * mLogScale; in getInterpolation()
/frameworks/base/core/java/com/android/internal/widget/
DFloatingToolbar.java1595 private static final float LOGS_SCALE = 1f / computeLog(1, BASE);
1597 private static float computeLog(float t, int base) { in computeLog() method in FloatingToolbar.FloatingToolbarPopup.LogAccelerateInterpolator
1603 return 1 - computeLog(1 - t, BASE) * LOGS_SCALE; in getInterpolation()