Searched refs:strokePaint (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java49 Paint strokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in class:PathDestructionActivity.MyView
55 strokePaint.setStyle(Paint.Style.STROKE);
89 strokePaint.setColor(getRandomColor());
90 canvas.drawPath(path, strokePaint);
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp84 SkPaint strokePaint; local
85 strokePaint.setStyle(SkPaint::kStroke_Style);
86 strokePaint.setStrokeWidth(4);
89 strokePaint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0));
109 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); local
112 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); local
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java1191 final Paint strokePaint = mStrokePaint;
1193 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin);
1197 strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
1200 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);
1201 strokePaint.setColor(applyAlpha(applyAlpha(fullPath.mStrokeColor, fullPath
1203 Paint_Delegate strokePaintDelegate = Paint_Delegate.getDelegate(strokePaint
1209 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale);
1211 BaseCanvas_Delegate.nDrawPath(canvasPtr, mRenderPath.mNativePath, strokePaint
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1236 final Paint strokePaint = mStrokePaint;
1238 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin);
1242 strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
1245 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);
1246 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha));
1247 strokePaint.setColorFilter(filter);
1249 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale);
1250 canvas.drawPath(mRenderPath, strokePaint);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java955 final Paint strokePaint = mStrokePaint;
956 if (strokePaint != null) {
960 final int oldColor = strokePaint.getColor();
962 strokePaint.setColor(newColor);

Completed in 1356 milliseconds