Searched refs:texX (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DLayer.h70 const float texX = 1.0f / float(texture.width); local
74 regionRect.left * texX, (height - regionRect.top) * texY,
75 regionRect.right * texX, (height - regionRect.bottom) * texY);
H A DLayerRenderer.cpp144 const float texX = 1.0f / float(mLayer->getWidth()); local
154 const float u1 = r->left * texX;
156 const float u2 = r->right * texX;
H A DOpenGLRenderer.cpp742 const float texX = 1.0f / float(layer->getWidth()); local
774 const float u1 = r->left * texX;
776 const float u2 = r->right * texX;

Completed in 53 milliseconds