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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java47 Paint strokePaint = new Paint(Paint.ANTI_ALIAS_FLAG); field in class:PathDestructionActivity.MyView
53 strokePaint.setStyle(Paint.Style.STROKE);
85 strokePaint.setColor(getRandomColor());
86 canvas.drawPath(path, strokePaint);
/frameworks/base/libs/hwui/tests/unit/
H A DBakedOpDispatcherTests.cpp83 SkPaint strokePaint; local
84 strokePaint.setStyle(SkPaint::kStroke_Style);
85 strokePaint.setStrokeWidth(4);
89 strokePaint.setPathEffect(dashEffect);
110 ArcOp arcOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint, 0, 270, true); local
113 OvalOp ovalOp(Rect(10, 15, 20, 25), Matrix4::identity(), nullptr, &strokePaint); local
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
H A DVectorDrawable_Delegate.java1155 final Paint strokePaint = mStrokePaint;
1157 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin);
1161 strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
1164 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);
1165 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha));
1166 Paint_Delegate strokePaintDelegate = Paint_Delegate.getDelegate(strokePaint
1172 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale);
1174 Canvas_Delegate.native_drawPath(canvasPtr, mRenderPath.mNativePath, strokePaint
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCompat.java1066 final Paint strokePaint = mStrokePaint;
1068 strokePaint.setStrokeJoin(fullPath.mStrokeLineJoin);
1072 strokePaint.setStrokeCap(fullPath.mStrokeLineCap);
1075 strokePaint.setStrokeMiter(fullPath.mStrokeMiterlimit);
1076 strokePaint.setColor(applyAlpha(fullPath.mStrokeColor, fullPath.mStrokeAlpha));
1077 strokePaint.setColorFilter(filter);
1079 strokePaint.setStrokeWidth(fullPath.mStrokeWidth * finalStrokeScale);
1080 canvas.drawPath(mRenderPath, strokePaint);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java926 final Paint strokePaint = mStrokePaint;
927 if (strokePaint != null) {
931 final int oldColor = strokePaint.getColor();
933 strokePaint.setColor(newColor);

Completed in 274 milliseconds