Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DLogAccelerateInterpolator.java14 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogAccelerateInterpolator()
17 static float computeLog(float t, int base, int drift) { in computeLog() method in LogAccelerateInterpolator
25 return Float.compare(t, 1f) == 0 ? 1f : 1 - computeLog(1 - t, mBase, mDrift) * mLogScale; in getInterpolation()
DLogDecelerateInterpolator.java15 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogDecelerateInterpolator()
18 static float computeLog(float t, int base, int drift) { in computeLog() method in LogDecelerateInterpolator
26 return Float.compare(t, 1f) == 0 ? 1f : computeLog(t, mBase, mDrift) * mLogScale; in getInterpolation()