Searched refs:mDrift (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LogAccelerateInterpolator.java | 8 int mDrift; field in LogAccelerateInterpolator 13 mDrift = drift; in LogAccelerateInterpolator() 14 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogAccelerateInterpolator() 25 return Float.compare(t, 1f) == 0 ? 1f : 1 - computeLog(1 - t, mBase, mDrift) * mLogScale; in getInterpolation()
|
D | LogDecelerateInterpolator.java | 8 int mDrift; field in LogDecelerateInterpolator 13 mDrift = drift; in LogDecelerateInterpolator() 15 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogDecelerateInterpolator() 26 return Float.compare(t, 1f) == 0 ? 1f : computeLog(t, mBase, mDrift) * mLogScale; in getInterpolation()
|