Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPatch.cpp159 float stepY = mYDivs[i]; in updateVertices() local
162 const float segment = stepY - previousStepY; in updateVertices()
165 y2 = y1 + stepY - previousStepY; in updateVertices()
167 float v2 = fmax(0.0f, stepY - 0.5f) / bitmapHeight; in updateVertices()
169 if (stepY > 0.0f) { in updateVertices()
182 v1 = (stepY + 0.5f) / bitmapHeight; in updateVertices()
184 previousStepY = stepY; in updateVertices()