Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DPath.java816 public float[] approximate(@FloatRange(from = 0) float acceptableError) { in approximate()
817 if (acceptableError < 0) { in approximate()
820 return nApproximate(mNativePath, acceptableError); in approximate()
/frameworks/base/core/jni/android/graphics/
DPath.cpp411 float acceptableError) { in approximate() argument
419 float errorSquared = acceptableError * acceptableError; in approximate()
420 float errorConic = acceptableError / 2; // somewhat arbitrary in approximate()