Home
last modified time | relevance | path

Searched refs:sweep (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DGradientDrawable_Delegate.java44 float sweep = useLevel ? (360.0f * level / 10000.0f) : 360f; in buildRing() local
46 if (sweep >= 360 || sweep <= -360) { in buildRing()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp122 double sweep) { in arcToBezier() argument
127 int numSegments = ceil(fabs(sweep * 4 / M_PI)); in arcToBezier()
137 double anglePerSegment = sweep / numSegments; in arcToBezier()
229 double sweep = (eta1 - eta0); in drawArc() local
230 if (isPositiveArc != (sweep >= 0)) { in drawArc()
231 if (sweep > 0) { in drawArc()
232 sweep -= 2 * M_PI; in drawArc()
234 sweep += 2 * M_PI; in drawArc()
244 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc()
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
DPathParser.java648 double sweep = (eta1 - eta0); in drawArc() local
649 if (isPositiveArc != (sweep >= 0)) { in drawArc()
650 if (sweep > 0) { in drawArc()
651 sweep -= 2 * Math.PI; in drawArc()
653 sweep += 2 * Math.PI; in drawArc()
663 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc()
689 double sweep) { in arcToBezier() argument
694 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI)); in arcToBezier()
704 double anglePerSegment = sweep / numSegments; in arcToBezier()
/frameworks/base/tools/layoutlib/bridge/src/android/util/
DPathParser_Delegate.java753 double sweep = (eta1 - eta0); in drawArc() local
754 if (isPositiveArc != (sweep >= 0)) { in drawArc()
755 if (sweep > 0) { in drawArc()
756 sweep -= 2 * Math.PI; in drawArc()
758 sweep += 2 * Math.PI; in drawArc()
772 + Math.toDegrees(eta0) + " , " + Math.toDegrees(sweep)); in drawArc()
774 arcToBezier(p, cx, cy, a, b, x0, y0, thetaD, eta0, sweep); in drawArc()
794 double sweep) { in arcToBezier() argument
799 int numSegments = (int) Math.ceil(Math.abs(sweep * 4 / Math.PI)); in arcToBezier()
810 double anglePerSegment = sweep / numSegments; in arcToBezier()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java802 float sweep = st.mUseLevelForShape ? (360.0f * getLevel() / 10000.0f) : 360f;
830 if (sweep < 360 && sweep > -360) {
837 ringPath.arcTo(bounds, 0.0f, sweep, false);
839 ringPath.arcTo(innerBounds, sweep, -sweep, false);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DCanvas_Delegate.java647 final float startAngle, final float sweep, in native_drawArc() argument
658 -startAngle, -sweep, in native_drawArc()
/frameworks/base/graphics/java/android/graphics/
DCanvas.java2075 float startAngle, float sweep, boolean useCenter, in native_drawArc() argument
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd1477 android:type=["linear" | "radial" | "sweep"]
1610 <tr><td>{@code "sweep"}</td>
/frameworks/rs/java/tests/Refocus/dataExtraction/
DN5.txt602 …0/com.example.xinyiwang.refocus I/art﹕ Background partial concurrent mark sweep GC freed 124(2MB) …