Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DLayer.h71 const float texY = 1.0f / float(texture.height); in setRegionAsRect() local
74 regionRect.left * texX, (height - regionRect.top) * texY, in setRegionAsRect()
75 regionRect.right * texX, (height - regionRect.bottom) * texY); in setRegionAsRect()
DLayerRenderer.cpp139 const float texY = 1.0f / float(mLayer->getHeight()); in generateMesh() local
149 const float v1 = (height - r->top) * texY; in generateMesh()
151 const float v2 = (height - r->bottom) * texY; in generateMesh()
DOpenGLRenderer.cpp741 const float texY = 1.0f / float(layer->getHeight()); in composeLayerRegion() local
773 const float v1 = (height - r->top) * texY; in composeLayerRegion()
775 const float v2 = (height - r->bottom) * texY; in composeLayerRegion()