/external/chromium_org/third_party/skia/gm/ |
D | image.cpp | 153 SkPaint textPaint; in onDraw() local 154 textPaint.setAntiAlias(true); in onDraw() 155 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw() 156 textPaint.setTextSize(8); in onDraw() 158 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint); in onDraw() 159 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint); in onDraw() 160 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint); in onDraw() 161 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint); in onDraw() 162 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint); in onDraw() 163 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint); in onDraw() [all …]
|
D | imageblur.cpp | 45 SkPaint textPaint; in onDraw() local 46 textPaint.setAntiAlias(true); in onDraw() 47 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw() 51 textPaint.setColor(rand.nextBits(24) | 0xFF000000); in onDraw() 52 textPaint.setTextSize(rand.nextRangeScalar(0, 300)); in onDraw() 54 SkIntToScalar(y), textPaint); in onDraw()
|
D | imageblur2.cpp | 68 SkPaint textPaint; in onDraw() local 69 textPaint.setAntiAlias(false); in onDraw() 70 textPaint.setColor(rand.nextBits(24) | 0xFF000000); in onDraw() 71 textPaint.setTextSize(textSize); in onDraw() 78 textPaint); in onDraw()
|
D | imageblurtiled.cpp | 51 SkPaint textPaint; in onDraw() local 52 textPaint.setAntiAlias(true); in onDraw() 53 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw() 54 textPaint.setTextSize(SkIntToScalar(100)); in onDraw() 59 SkIntToScalar(posY), textPaint); in onDraw()
|
D | imageresizetiled.cpp | 58 SkPaint textPaint; in onDraw() local 59 textPaint.setAntiAlias(true); in onDraw() 60 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw() 61 textPaint.setTextSize(SkIntToScalar(100)); in onDraw() 66 SkIntToScalar(posY), textPaint); in onDraw()
|
D | simpleaaclip.cpp | 155 SkPaint textPaint; in onDraw() local 156 textPaint.setAntiAlias(true); in onDraw() 157 sk_tool_utils::set_portable_typeface(&textPaint); in onDraw() 158 textPaint.setTextSize(SK_Scalar1*24); in onDraw() 164 textPaint); in onDraw()
|
/external/skia/gm/ |
D | image.cpp | 159 SkPaint textPaint; in onDraw() local 160 textPaint.setAntiAlias(true); in onDraw() 161 textPaint.setTextSize(8); in onDraw() 163 canvas->drawText(kLabel1, strlen(kLabel1), 10, 60, textPaint); in onDraw() 164 canvas->drawText(kLabel2, strlen(kLabel2), 10, 140, textPaint); in onDraw() 165 canvas->drawText(kLabel3, strlen(kLabel3), 10, 220, textPaint); in onDraw() 166 canvas->drawText(kLabel4, strlen(kLabel4), 10, 300, textPaint); in onDraw() 167 canvas->drawText(kLabel5, strlen(kLabel5), 10, 380, textPaint); in onDraw() 168 canvas->drawText(kLabel6, strlen(kLabel6), 10, 460, textPaint); in onDraw() 169 canvas->drawText(kLabel7, strlen(kLabel7), 10, 540, textPaint); in onDraw() [all …]
|
D | imageblur.cpp | 45 SkPaint textPaint; in onDraw() local 46 textPaint.setAntiAlias(true); in onDraw() 50 textPaint.setColor(rand.nextBits(24) | 0xFF000000); in onDraw() 51 textPaint.setTextSize(rand.nextRangeScalar(0, 300)); in onDraw() 53 SkIntToScalar(y), textPaint); in onDraw()
|
D | imageblurtiled.cpp | 51 SkPaint textPaint; in onDraw() local 52 textPaint.setAntiAlias(true); in onDraw() 53 textPaint.setTextSize(SkIntToScalar(100)); in onDraw() 58 SkIntToScalar(posY), textPaint); in onDraw()
|
D | imageresizetiled.cpp | 56 SkPaint textPaint; in onDraw() local 57 textPaint.setAntiAlias(true); in onDraw() 58 textPaint.setTextSize(SkIntToScalar(100)); in onDraw() 63 SkIntToScalar(posY), textPaint); in onDraw()
|
D | simpleaaclip.cpp | 159 SkPaint textPaint; in onDraw() local 160 textPaint.setAntiAlias(true); in onDraw() 161 textPaint.setTextSize(SK_Scalar1*24); in onDraw() 167 textPaint); in onDraw()
|
/external/chromium_org/third_party/skia/samplecode/ |
D | SampleRegion.cpp | 370 SkPaint textPaint; in onDrawContent() local 371 textPaint.setAntiAlias(true); in onDrawContent() 372 textPaint.setTextSize(SK_Scalar1*24); in onDrawContent() 383 …>drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint); in onDrawContent()
|
/external/skia/samplecode/ |
D | SampleRegion.cpp | 370 SkPaint textPaint; in onDrawContent() local 371 textPaint.setAntiAlias(true); in onDrawContent() 372 textPaint.setTextSize(SK_Scalar1*24); in onDrawContent() 383 …>drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint); in onDrawContent()
|
/external/chromium_org/third_party/skia/src/pdf/ |
D | SkPDFDevice.cpp | 1120 SkPaint textPaint = calculate_text_paint(paint); in drawText() local 1121 ScopedContentEntry content(this, d, textPaint, true); in drawText() 1129 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in drawText() 1131 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc(); in drawText() 1132 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y); in drawText() 1134 set_text_transform(x, y, textPaint.getTextSkewX(), in drawText() 1138 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry()); in drawText() 1166 SkPaint textPaint = calculate_text_paint(paint); in drawPosText() local 1167 ScopedContentEntry content(this, d, textPaint, true); in drawPosText() 1175 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in drawPosText() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFDevice.cpp | 1121 SkPaint textPaint = calculate_text_paint(paint); in drawText() local 1122 ScopedContentEntry content(this, d, textPaint, true); in drawText() 1130 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in drawText() 1132 SkDrawCacheProc glyphCacheProc = textPaint.getDrawCacheProc(); in drawText() 1133 align_text(glyphCacheProc, textPaint, glyphIDs, numGlyphs, &x, &y); in drawText() 1135 set_text_transform(x, y, textPaint.getTextSkewX(), in drawText() 1139 updateFont(textPaint, glyphIDs[consumedGlyphCount], content.entry()); in drawText() 1166 SkPaint textPaint = calculate_text_paint(paint); in drawPosText() local 1167 ScopedContentEntry content(this, d, textPaint, true); in drawPosText() 1286 textPaint.setTextEncoding(SkPaint::kGlyphID_TextEncoding); in drawPosText() [all …]
|