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 ALOGW("Points are too far apart %f", dsq); in drawArc()
207 float adjust = (float) (sqrt(dsq) / 1.99999); in drawArc()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java618 double dsq = dx * dx + dy * dy; in drawArc() local
619 if (dsq == 0.0) { in drawArc()
623 double disc = 1.0 / dsq - 1.0 / 4.0; in drawArc()
625 Log.w(LOGTAG, "Points are too far apart " + dsq); in drawArc()
626 float adjust = (float) (Math.sqrt(dsq) / 1.99999); in drawArc()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java720 double dsq = dx * dx + dy * dy; in drawArc() local
721 if (dsq == 0.0) { in drawArc()
725 double disc = 1.0 / dsq - 1.0 / 4.0; in drawArc()
727 LOGGER.log(Level.FINE, "Points are too far apart " + dsq); in drawArc()
728 float adjust = (float) (Math.sqrt(dsq) / 1.99999); in drawArc()