OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:textPaint
(Results
1 - 10
of
10
) sorted by null
/cts/tests/tests/text/src/android/text/cts/
TextPaintTest.java
22
import android.text.
TextPaint
;
25
* Test {@link
TextPaint
}.
28
private static final int DEFAULT_PAINT_FLAGS =
TextPaint
.DEV_KERN_TEXT_FLAG
29
|
TextPaint
.EMBEDDED_BITMAP_TEXT_FLAG;
32
TextPaint
textPaint
;
34
textPaint
= new
TextPaint
();
35
assertEquals(DEFAULT_PAINT_FLAGS,
textPaint
.getFlags());
37
textPaint
= new TextPaint(TextPaint.DITHER_FLAG)
[
all
...]
/external/chromium_org/third_party/skia/gm/
imageblur.cpp
45
SkPaint
textPaint
;
46
textPaint
.setAntiAlias(true);
47
sk_tool_utils::set_portable_typeface(&
textPaint
);
51
textPaint
.setColor(rand.nextBits(24) | 0xFF000000);
52
textPaint
.setTextSize(rand.nextRangeScalar(0, 300));
54
SkIntToScalar(y),
textPaint
);
imageblur2.cpp
68
SkPaint
textPaint
;
69
textPaint
.setAntiAlias(false);
70
textPaint
.setColor(rand.nextBits(24) | 0xFF000000);
71
textPaint
.setTextSize(textSize);
78
textPaint
);
imageblurtiled.cpp
51
SkPaint
textPaint
;
52
textPaint
.setAntiAlias(true);
53
sk_tool_utils::set_portable_typeface(&
textPaint
);
54
textPaint
.setTextSize(SkIntToScalar(100));
59
SkIntToScalar(posY),
textPaint
);
imageresizetiled.cpp
58
SkPaint
textPaint
;
59
textPaint
.setAntiAlias(true);
60
sk_tool_utils::set_portable_typeface(&
textPaint
);
61
textPaint
.setTextSize(SkIntToScalar(100));
66
SkIntToScalar(posY),
textPaint
);
image.cpp
153
SkPaint
textPaint
;
154
textPaint
.setAntiAlias(true);
155
sk_tool_utils::set_portable_typeface(&
textPaint
);
156
textPaint
.setTextSize(8);
158
canvas->drawText(kLabel1, strlen(kLabel1), 10, 60,
textPaint
);
159
canvas->drawText(kLabel2, strlen(kLabel2), 10, 140,
textPaint
);
160
canvas->drawText(kLabel3, strlen(kLabel3), 10, 220,
textPaint
);
161
canvas->drawText(kLabel4, strlen(kLabel4), 10, 300,
textPaint
);
162
canvas->drawText(kLabel5, strlen(kLabel5), 10, 380,
textPaint
);
163
canvas->drawText(kLabel6, strlen(kLabel6), 10, 460,
textPaint
);
[
all
...]
simpleaaclip.cpp
155
SkPaint
textPaint
;
156
textPaint
.setAntiAlias(true);
157
sk_tool_utils::set_portable_typeface(&
textPaint
);
158
textPaint
.setTextSize(SK_Scalar1*24);
164
textPaint
);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
LabelMaker.java
139
* @param
textPaint
the paint of the label
142
public int add(GL10 gl, String text, Paint
textPaint
) {
143
return add(gl, null, text,
textPaint
);
151
* @param
textPaint
the paint of the label
154
public int add(GL10 gl, Drawable background, String text, Paint
textPaint
) {
155
return add(gl, background, text,
textPaint
, 0, 0);
171
* @param
textPaint
the paint of the label
174
public int add(GL10 gl, Drawable background, String text, Paint
textPaint
,
178
boolean drawText = (text != null) && (
textPaint
!= null);
192
ascent = (int) Math.ceil(-
textPaint
.ascent())
[
all
...]
/external/chromium_org/third_party/skia/samplecode/
SampleRegion.cpp
370
SkPaint
textPaint
;
371
textPaint
.setAntiAlias(true);
372
textPaint
.setTextSize(SK_Scalar1*24);
383
canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50),
textPaint
);
/external/chromium_org/third_party/skia/src/pdf/
SkPDFDevice.cpp
[
all
...]
Completed in 471 milliseconds