Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DPathTessellator.cpp104 , halfStrokeWidth(paint->getStrokeWidth() * 0.5f) in PaintInfo()
117 if (isAA && halfStrokeWidth != 0 && inverseScaleX == inverseScaleY && in PaintInfo()
118 2 * halfStrokeWidth < inverseScaleX) { in PaintInfo()
120 maxAlpha *= (2 * halfStrokeWidth) / inverseScaleX; in PaintInfo()
121 halfStrokeWidth = 0.0f; in PaintInfo()
130 float halfStrokeWidth; member
134 if (halfStrokeWidth == 0.0f) { in scaleOffsetForStrokeWidth()
139 offset *= halfStrokeWidth; in scaleOffsetForStrokeWidth()
158 if (halfStrokeWidth == 0.0f) return 2; in capExtraDivisions()
161 return MathUtils::divisionsNeededToApproximateArc(halfStrokeWidth, PI, threshold); in capExtraDivisions()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java1763 final float halfStrokeWidth = mStrokePaint == null ?
1766 final int top = (int) Math.floor(centerY - halfStrokeWidth);
1767 final int bottom = (int) Math.ceil(centerY + halfStrokeWidth);