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.cpp86 SkPaint strokePaint; local
87 strokePaint.setStyle(SkPaint::kStroke_Style);
88 strokePaint.setStrokeWidth(4);
91 strokePaint.setPathEffect(SkDashPathEffect::Make(intervals, 2, 0));
111 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); local
114 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); local
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java1216 final Paint strokePaint = mStrokePaint;
1218 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin);
1222 strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
1225 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);
1226 strokePaint.setColor(applyAlpha(applyAlpha(fullPath.mStrokeColor, fullPath
1228 Paint_Delegate strokePaintDelegate = Paint_Delegate.getDelegate(strokePaint
1234 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale);
1236 BaseCanvas_Delegate.nDrawPath(canvasPtr, mRenderPath.mNativePath, strokePaint
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DVectorDrawableCompat.java1232 final Paint strokePaint = mStrokePaint;
1234 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin);
1238 strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
1241 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);
1242 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha));
1243 strokePaint.setColorFilter(filter);
1245 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale);
1246 canvas.drawPath(mRenderPath, strokePaint);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java974 final Paint strokePaint = mStrokePaint;
975 if (strokePaint != null) {
979 final int oldColor = strokePaint.getColor();
981 strokePaint.setColor(newColor);

Completed in 83 milliseconds