Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRect.h194 left = floorf(left + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
195 top = floorf(top + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
196 right = ceilf(right - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
197 bottom = ceilf(bottom - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
203 left = floorf(left + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
204 top = floorf(top + 0.5f - Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
205 right = floorf(right + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
206 bottom = floorf(bottom + 0.5f + Vertex::GeometryFudgeFactor()); in snapGeometryToPixelBoundaries()
DVertex.h38 static float GeometryFudgeFactor() { return 0.0656f; } in GeometryFudgeFactor() function