Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DPath.java823 public float[] approximate(@FloatRange(from = 0) float acceptableError) { in approximate()
824 if (acceptableError < 0) { in approximate()
827 return nApproximate(mNativePath, acceptableError); in approximate()
/frameworks/base/libs/hwui/jni/
DPath.cpp409 float acceptableError) { in approximate() argument
417 float errorSquared = acceptableError * acceptableError; in approximate()
418 float errorConic = acceptableError / 2; // somewhat arbitrary in approximate()