Home
last modified time | relevance | path

Searched refs:dsq (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp199 double dsq = dx * dx + dy * dy; in drawArc() local
200 if (dsq == 0.0) { in drawArc()
204 double disc = 1.0 / dsq - 1.0 / 4.0; in drawArc()
206 VECTOR_DRAWABLE_LOGD("Points are too far apart %f", dsq); in drawArc()
207 float adjust = (float) (sqrt(dsq) / 1.99999); in drawArc()
/frameworks/support/compat/java/android/support/v4/graphics/
DPathParser.java640 double dsq = dx * dx + dy * dy; in drawArc() local
641 if (dsq == 0.0) { in drawArc()
645 double disc = 1.0 / dsq - 1.0 / 4.0; in drawArc()
647 Log.w(LOGTAG, "Points are too far apart " + dsq); in drawArc()
648 float adjust = (float) (Math.sqrt(dsq) / 1.99999); in drawArc()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java721 double dsq = dx * dx + dy * dy; in drawArc() local
722 if (dsq == 0.0) { in drawArc()
726 double disc = 1.0 / dsq - 1.0 / 4.0; in drawArc()
728 LOGGER.log(Level.FINE, "Points are too far apart " + dsq); in drawArc()
729 float adjust = (float) (Math.sqrt(dsq) / 1.99999); in drawArc()