Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/utils/
DMathUtils.h25 #define NON_ZERO_EPSILON (0.001f) macro
34 return (value >= -NON_ZERO_EPSILON) && (value <= NON_ZERO_EPSILON); in isZero()
41 inline static bool isPositive(float value) { return value >= NON_ZERO_EPSILON; } in isPositive()
/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp55 if (casterZ >= -NON_ZERO_EPSILON) { // draw only children with negative Z in onDraw()
89 && zChildren[drawIndex]->getNodeProperties().getZ() <= NON_ZERO_EPSILON) in onDraw()