/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
H A D | CircularProgressDrawableTest.java | 83 float strokeWidth = 4f; 85 mDrawableUnderTest.setStrokeWidth(strokeWidth); 93 assertEquals((radius + strokeWidth / 2f) * 2, boundsCaptor.getValue().width(), 0.5); 94 assertEquals((radius + strokeWidth / 2f) * 2, boundsCaptor.getValue().height(), 0.5);
|
/frameworks/base/libs/hwui/ |
H A D | VectorDrawable.h | 211 float strokeWidth = 0; member in struct:android::uirenderer::VectorDrawable::FullPath::FullPathProperties::PrimitiveFields 253 return mPrimitiveFields.strokeWidth; 255 void setStrokeWidth(float strokeWidth) { argument 256 VD_SET_PRIMITIVE_FIELD_AND_NOTIFY(strokeWidth, strokeWidth); 314 void updateProperties(float strokeWidth, SkColor strokeColor, float strokeAlpha, argument 318 mPrimitiveFields.strokeWidth = strokeWidth; 339 strokeWidth = 0, member in class:android::uirenderer::VectorDrawable::FullPath::FullPathProperties::Property
|
H A D | TessellationCache.cpp | 43 , strokeWidth(1.0f) { 53 , strokeWidth(paint.getStrokeWidth()) { 66 if (strokeWidth != rhs.strokeWidth) return false; 82 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth)); 94 paint->setStrokeWidth(strokeWidth); 428 float outset = description.strokeWidth / 2;
|
H A D | PathCache.cpp | 68 , strokeWidth(1.0f) 80 , strokeWidth(paint->getStrokeWidth()) 92 hash = JenkinsHashMix(hash, android::hash_type(strokeWidth)); 104 if (strokeWidth != rhs.strokeWidth) return false;
|
H A D | PathCache.h | 135 float strokeWidth; member in struct:android::uirenderer::PathDescription
|
H A D | TessellationCache.h | 66 float strokeWidth; member in struct:android::uirenderer::TessellationCache::Description
|
H A D | VectorDrawable.cpp | 240 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/core-ui/java/android/support/v4/widget/ |
H A D | CircularProgressDrawable.java | 146 private void setSizeParameters(float centerRadius, float strokeWidth, float arrowWidth, argument 152 ring.setStrokeWidth(strokeWidth * screenDensity); 186 * @param strokeWidth stroke width in pixels 188 public void setStrokeWidth(float strokeWidth) { argument 189 mRing.setStrokeWidth(strokeWidth); 832 * @param strokeWidth set the stroke width of the progress spinner in pixels. 834 void setStrokeWidth(float strokeWidth) { argument 835 mStrokeWidth = strokeWidth; 836 mPaint.setStrokeWidth(strokeWidth);
|
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | CircularProgressLayout.java | 319 * @param strokeWidth stroke width in pixels 321 public void setStrokeWidth(float strokeWidth) { argument 322 mProgressDrawable.setStrokeWidth(strokeWidth);
|
/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/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
H A D | AndroidResources.java | 51 android.R.attr.strokeColor, android.R.attr.strokeWidth, android.R.attr.trimPathStart,
|
H A D | VectorDrawableCompat.java | 157 * <dt><code>android:strokeWidth</code></dt> 1770 mStrokeWidth = TypedArrayUtils.getNamedFloat(a, parser, "strokeWidth", 1815 void setStrokeWidth(float strokeWidth) { argument 1816 mStrokeWidth = strokeWidth;
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 40 const SkScalar strokeWidth = fmax(thickness, 1.0f); local 41 const SkScalar bottom = top + strokeWidth;
|
/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/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 341 // If the strokeWidth is not 0, we use it to consider the size of the 343 float strokeWidth = paintDelegate.getStrokeWidth(); 344 if (strokeWidth <= 0.0f) { 348 Math.max(strokeWidth, bounds.getWidth()), 349 Math.max(strokeWidth, bounds.getHeight()));
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
H A D | VectorDrawable_Delegate.java | 202 static void nUpdateFullPathProperties(long pathPtr, float strokeWidth, argument 208 path.setStrokeWidth(strokeWidth); 725 private void setStrokeWidth(float strokeWidth) { argument 726 mStrokeWidth = strokeWidth;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | VectorDrawable.java | 155 * <dt><code>android:strokeWidth</code></dt> 1656 put("strokeWidth", STROKE_WIDTH_INDEX); 1669 new FloatProperty<VFullPath> ("strokeWidth") { 1775 put("strokeWidth", STROKE_WIDTH); 1903 float strokeWidth = properties.getFloat(STROKE_WIDTH_INDEX * 4); 1982 strokeWidth = a.getFloat(R.styleable.VectorDrawablePath_strokeWidth, 1983 strokeWidth); 1992 nUpdateFullPathProperties(mNativePtr, strokeWidth, strokeColor, strokeAlpha, 2072 void setStrokeWidth(float strokeWidth) { argument 2074 nSetStrokeWidth(mNativePtr, strokeWidth); 2202 nUpdateFullPathProperties(long pathPtr, float strokeWidth, int strokeColor, float strokeAlpha, int fillColor, float fillAlpha, float trimPathStart, float trimPathEnd, float trimPathOffset, float strokeMiterLimit, int strokeLineCap, int strokeLineJoin, int fillType) argument [all...] |