Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DLayer.h97 const float texX = 1.0f / float(texture.width); in setRegionAsRect() local
101 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()
102 regionRect.right * texX, (height - regionRect.bottom) * texY); in setRegionAsRect()
DLayerRenderer.cpp161 const float texX = 1.0f / float(mLayer->getWidth()); in generateMesh() local
170 const float u1 = r->left * texX; in generateMesh()
172 const float u2 = r->right * texX; in generateMesh()
DOpenGLRenderer.cpp1001 const float texX = 1.0f / float(layer->getWidth()); in composeLayerRegion() local
1010 const float u1 = r->left * texX; in composeLayerRegion()
1012 const float u2 = r->right * texX; in composeLayerRegion()