Searched refs:strokePaint (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathDestructionActivity.java | 49 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/ |
D | BakedOpDispatcherTests.cpp | 84 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/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 1191 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/ |
D | VectorDrawableCompat.java | 1236 final Paint strokePaint = mStrokePaint; in drawPath() local 1238 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin); in drawPath() 1242 strokePaint.setStrokeCap(fullPath.mStrokeLineCap); in drawPath() 1245 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit); in drawPath() 1246 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha)); in drawPath() 1247 strokePaint.setColorFilter(filter); in drawPath() 1249 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale); in drawPath() 1250 canvas.drawPath(mRenderPath, strokePaint); in drawPath()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 955 final Paint strokePaint = mStrokePaint; 956 if (strokePaint != null) { 960 final int oldColor = strokePaint.getColor(); 962 strokePaint.setColor(newColor);
|