Searched defs:texY (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp55 const float texY = 1.0f / static_cast<float>(texture.height()); local
56 return Rect(0, viewportHeight * texY, viewportWidth * texX, 0);
77 const float texY = 1.0f / float(texture.height()); local
85 const float v1 = (viewportHeight - r->top) * texY;
87 const float v2 = (viewportHeight - r->bottom) * texY;
/frameworks/base/libs/hwui/
H A DLayerRenderer.cpp163 const float texY = 1.0f / float(mLayer->getHeight()); local
172 const float v1 = (height - r->top) * texY;
174 const float v2 = (height - r->bottom) * texY;
H A DLayer.h99 const float texY = 1.0f / float(texture.mHeight); local
102 regionRect.left * texX, (height - regionRect.top) * texY,
103 regionRect.right * texX, (height - regionRect.bottom) * texY);
H A DOpenGLRenderer.cpp942 const float texY = 1.0f / float(layer->getHeight()); local
951 const float v1 = (height - r->top) * texY;
953 const float v2 = (height - r->bottom) * texY;

Completed in 1349 milliseconds