Home
last modified time | relevance | path

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

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