Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPatch.cpp222 float stepX = mXDivs[i]; in generateRow() local
225 const float segment = stepX - previousStepX; in generateRow()
228 x2 = x1 + stepX - previousStepX; in generateRow()
230 float u2 = fmax(0.0f, stepX - 0.5f) / bitmapWidth; in generateRow()
232 if (stepX > 0.0f) { in generateRow()
244 u1 = (stepX + 0.5f) / bitmapWidth; in generateRow()
246 previousStepX = stepX; in generateRow()