Searched refs:strokePaint (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathDestructionActivity.java | 47 Paint strokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in PathDestructionActivity.MyView 53 strokePaint.setStyle(Paint.Style.STROKE); in MyView() 85 strokePaint.setColor(getRandomColor()); in onDraw() 86 canvas.drawPath(path, strokePaint); in onDraw()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | BakedOpDispatcherTests.cpp | 83 SkPaint strokePaint; in RENDERTHREAD_TEST() local 84 strokePaint.setStyle(SkPaint::kStroke_Style); in RENDERTHREAD_TEST() 85 strokePaint.setStrokeWidth(4); in RENDERTHREAD_TEST() 89 strokePaint.setPathEffect(dashEffect); in RENDERTHREAD_TEST() 110 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); in RENDERTHREAD_TEST() 113 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); in RENDERTHREAD_TEST()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/ |
D | VectorDrawable_Delegate.java | 1155 final Paint strokePaint = mStrokePaint; in drawPath() local 1157 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin); in drawPath() 1161 strokePaint.setStrokeCap(fullPath.mStrokeLineCap); in drawPath() 1164 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit); in drawPath() 1165 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha)); in drawPath() 1166 Paint_Delegate strokePaintDelegate = Paint_Delegate.getDelegate(strokePaint in drawPath() 1172 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale); in drawPath() 1174 Canvas_Delegate.native_drawPath(canvasPtr, mRenderPath.mNativePath, strokePaint in drawPath()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 1066 final Paint strokePaint = mStrokePaint; in drawPath() local 1068 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin); in drawPath() 1072 strokePaint.setStrokeCap(fullPath.mStrokeLineCap); in drawPath() 1075 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit); in drawPath() 1076 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha)); in drawPath() 1077 strokePaint.setColorFilter(filter); in drawPath() 1079 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale); in drawPath() 1080 canvas.drawPath(mRenderPath, strokePaint); in drawPath()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 926 final Paint strokePaint = mStrokePaint; 927 if (strokePaint != null) { 931 final int oldColor = strokePaint.getColor(); 933 strokePaint.setColor(newColor);
|