Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRect.h219 left = floorf(left + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
220 top = floorf(top + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
221 right = ceilf(right - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
222 bottom = ceilf(bottom - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
228 left = floorf(left + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
229 top = floorf(top + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
230 right = floorf(right + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
231 bottom = floorf(bottom + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
DProgram.cpp168 p.translate(Vertex::GeometryFudgeFactor(), Vertex::GeometryFudgeFactor()); in set()
DVertex.h38 static float GeometryFudgeFactor() { return 0.0656f; } in GeometryFudgeFactor() function
DPathTessellator.cpp173 bounds->outset(fabs(inverseScaleX) * (0.5f + Vertex::GeometryFudgeFactor()), in expandBoundsForStroke()
174 fabs(inverseScaleY) * (0.5f + Vertex::GeometryFudgeFactor())); in expandBoundsForStroke()
177 bounds->outset(halfStrokeWidth + fabs(inverseScaleX) * Vertex::GeometryFudgeFactor(), in expandBoundsForStroke()
178 halfStrokeWidth + fabs(inverseScaleY) * Vertex::GeometryFudgeFactor()); in expandBoundsForStroke()