/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 56 float strokeWidth = fmax(textSize * kStdUnderline_Thickness, 1.0f); local 58 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; 59 SkScalar bottom = y + textSize * kStdUnderline_Offset + 0.5f * strokeWidth; 63 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; 64 SkScalar bottom = y + textSize * kStdStrikeThru_Offset + 0.5f * strokeWidth;
|
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.h | 208 float strokeWidth = 0; member in struct:android::uirenderer::VectorDrawable::FullPath::FullPathProperties::PrimitiveFields 250 return mPrimitiveFields.strokeWidth; 252 void setStrokeWidth(float strokeWidth) { argument 253 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(strokeWidth, strokeWidth); 311 void updateProperties(float strokeWidth, SkColor strokeColor, float strokeAlpha, argument 315 mPrimitiveFields.strokeWidth = strokeWidth; 336 strokeWidth = 0, member in class:android::uirenderer::VectorDrawable::FullPath::FullPathProperties::Property
|
H A D | TessellationCache.cpp | 44 , strokeWidth(1.0f) { 54 , strokeWidth(paint.getStrokeWidth()) { 67 if (strokeWidth != rhs.strokeWidth) return false; 83 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth)); 95 paint->setStrokeWidth(strokeWidth); 444 float outset = description.strokeWidth / 2;
|
H A D | PathCache.cpp | 64 , strokeWidth(1.0f) 76 , strokeWidth(paint->getStrokeWidth()) 88 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth)); 100 if (strokeWidth != rhs.strokeWidth) return false;
|
H A D | PathCache.h | 129 float strokeWidth; member in struct:android::uirenderer::PathDescription
|
H A D | TessellationCache.h | 67 float strokeWidth; member in struct:android::uirenderer::TessellationCache::Description
|
H A D | VectorDrawable.cpp | 287 case Property::strokeWidth:
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ShapeAnimation.cpp | 71 // each combination of strokeWidth + style gets a column 79 for (auto strokeWidth : { 0.0f, 0.5f, 8.0f }) { 80 paint.setStrokeWidth(strokeWidth);
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | AndroidResources.java | 49 android.R.attr.strokeColor, android.R.attr.strokeWidth, android.R.attr.trimPathStart,
|
H A D | VectorDrawableCompat.java | 1596 mStrokeWidth = TypedArrayUtils.getNamedFloat(a, parser, "strokeWidth", 1636 void setStrokeWidth(float strokeWidth) { argument 1637 mStrokeWidth = strokeWidth;
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | MaterialProgressDrawable.java | 131 double centerRadius, double strokeWidth, float arrowWidth, float arrowHeight) { 138 ring.setStrokeWidth((float) strokeWidth * screenDensity); 653 * @param strokeWidth Set the stroke width of the progress spinner in pixels. 655 public void setStrokeWidth(float strokeWidth) { argument 656 mStrokeWidth = strokeWidth; 657 mPaint.setStrokeWidth(strokeWidth); 130 setSizeParameters(double progressCircleWidth, double progressCircleHeight, double centerRadius, double strokeWidth, float arrowWidth, float arrowHeight) argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_drawable_VectorDrawable.cpp | 132 jfloat strokeWidth, jint strokeColor, jfloat strokeAlpha, jint fillColor, jfloat fillAlpha, 136 fullPath->mutateStagingProperties()->updateProperties(strokeWidth, strokeColor, strokeAlpha, 277 static void setStrokeWidth(JNIEnv*, jobject, jlong fullPathPtr, jfloat strokeWidth) { argument 279 fullPath->mutateStagingProperties()->setStrokeWidth(strokeWidth); 131 updateFullPathPropertiesAndStrokeStyles(JNIEnv*, jobject, jlong fullPathPtr, jfloat strokeWidth, jint strokeColor, jfloat strokeAlpha, jint fillColor, jfloat fillAlpha, jfloat trimPathStart, jfloat trimPathEnd, jfloat trimPathOffset, jfloat strokeMiterLimit, jint strokeLineCap, jint strokeLineJoin, jint fillType) argument
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpStateTests.cpp | 94 float strokeWidth; member in struct:android::uirenderer::StrokeTestCase 163 strokedPaint.setStrokeWidth(testCase.strokeWidth);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 189 static void nUpdateFullPathProperties(long pathPtr, float strokeWidth, argument 195 path.setStrokeWidth(strokeWidth); 699 private void setStrokeWidth(float strokeWidth) { argument 700 mStrokeWidth = strokeWidth;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 146 * <dt><code>android:strokeWidth</code></dt> 1421 put("strokeWidth", STROKE_WIDTH_INDEX); 1528 float strokeWidth = properties.getFloat(STROKE_WIDTH_INDEX * 4); 1607 strokeWidth = a.getFloat(R.styleable.VectorDrawablePath_strokeWidth, 1608 strokeWidth); 1617 nUpdateFullPathProperties(mNativePtr, strokeWidth, strokeColor, strokeAlpha, 1697 void setStrokeWidth(float strokeWidth) { argument 1699 nSetStrokeWidth(mNativePtr, strokeWidth); 1809 private static native void nUpdateFullPathProperties(long pathPtr, float strokeWidth, argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 732 // If the strokeWidth is not 0, we use it to consider the size of the 734 float strokeWidth = paintDelegate.getStrokeWidth(); 735 if (strokeWidth <= 0.0f) { 739 Math.max(strokeWidth, bounds.getWidth()), 740 Math.max(strokeWidth, bounds.getHeight()));
|