OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mStrokePaint
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
ShapesActivity.java
38
private Paint
mStrokePaint
;
55
mStrokePaint
= new Paint();
56
mStrokePaint
.setAntiAlias(true);
57
mStrokePaint
.setColor(0xff0000ff);
58
mStrokePaint
.setStrokeWidth(6.0f);
59
mStrokePaint
.setStyle(Paint.Style.STROKE);
79
canvas.drawRoundRect(mRect, 6.0f, 6.0f,
mStrokePaint
);
90
canvas.drawCircle(80.0f, 45.0f, 45.0f,
mStrokePaint
);
101
canvas.drawOval(mOval,
mStrokePaint
);
112
canvas.drawRect(0.0f, 0.0f, 160.0f, 90.0f,
mStrokePaint
);
[
all
...]
/frameworks/base/graphics/java/android/graphics/drawable/
GradientDrawable.java
117
private Paint
mStrokePaint
; // optional, set by the caller
252
if (
mStrokePaint
== null) {
253
mStrokePaint
= new Paint(Paint.ANTI_ALIAS_FLAG);
254
mStrokePaint
.setStyle(Paint.Style.STROKE);
256
mStrokePaint
.setStrokeWidth(width);
257
mStrokePaint
.setColor(color);
263
mStrokePaint
.setPathEffect(e);
433
final int prevStrokeAlpha =
mStrokePaint
!= null ?
mStrokePaint
.getAlpha() : 0;
438
final boolean haveStroke = currStrokeAlpha > 0 &&
mStrokePaint
.getStrokeWidth() > 0
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java
60
private Paint
mStrokePaint
= new Paint(Paint.ANTI_ALIAS_FLAG);
64
mStrokePaint
.setStyle(Paint.Style.STROKE);
68
return
mStrokePaint
;
73
s.draw(c,
mStrokePaint
);
Completed in 58 milliseconds