Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DGLConsumer.cpp815 float shrinkAmount = 0.0f; in computeTransformMatrix() local
833 shrinkAmount = 0.5; in computeTransformMatrix()
839 shrinkAmount = 1.0; in computeTransformMatrix()
846 tx = (float(cropRect.left) + shrinkAmount) / bufferWidth; in computeTransformMatrix()
847 sx = (float(cropRect.width()) - (2.0f * shrinkAmount)) / in computeTransformMatrix()
851 ty = (float(bufferHeight - cropRect.bottom) + shrinkAmount) / in computeTransformMatrix()
853 sy = (float(cropRect.height()) - (2.0f * shrinkAmount)) / in computeTransformMatrix()