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