Searched refs:computeLog (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LogAccelerateInterpolator.java | 14 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()
|
D | LogDecelerateInterpolator.java | 15 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()
|