Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DInterpolator.cpp136 float lutpos = input * (mSize - 1); in interpolate() local
137 if (lutpos >= (mSize - 1)) { in interpolate()
142 weight = modff(lutpos, &ipart); in interpolate()
151 i1, i2, input, lutpos, mSize, mValues.get(), ipart, weight); in interpolate()
/frameworks/layoutlib/bridge/src/com/android/internal/view/animation/
DNativeInterpolatorFactoryHelper_Delegate.java119 float lutpos = input * (mSize - 1); in getInterpolation() local
120 if (lutpos >= (mSize - 1)) { in getInterpolation()
124 int ipart = (int) lutpos; in getInterpolation()
125 float weight = lutpos - ipart; in getInterpolation()