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

/frameworks/base/libs/hwui/
H A DLayer.h62 const float texX = 1.0f / float(texture.width); local
66 regionRect.left * texX, (height - regionRect.top) * texY,
67 regionRect.right * texX, (height - regionRect.bottom) * texY);
H A DLayerRenderer.cpp160 const float texX = 1.0f / float(mLayer->getWidth()); local
170 const float u1 = r->left * texX;
172 const float u2 = r->right * texX;
H A DOpenGLRenderer.cpp996 const float texX = 1.0f / float(layer->getWidth()); local
1028 const float u1 = r->left * texX;
1030 const float u2 = r->right * texX;

Completed in 733 milliseconds