Home
last modified time | relevance | path

Searched refs:kText (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/
Dbase64_unittest.cc12 const std::string kText = "hello world"; in TEST() local
19 Base64Encode(kText, &encoded); in TEST()
24 EXPECT_EQ(kText, decoded); in TEST()
28 const std::string kText = "hello world"; in TEST() local
30 std::string text(kText); in TEST()
37 EXPECT_EQ(text, kText); in TEST()
/external/skia/gm/
Dglyph_pos.cpp18 static const char kText[] = "Proportional Hamburgefons #% fi"; variable
98 SkScalar advance = paint.measureText(kText, sizeof(kText) - 1, &bounds); in drawTestCase()
116 canvas->drawText(kText, sizeof(kText) - 1, 0.0f, 0.0f, paint); in drawTestCase()
119 SkScalar widths[sizeof(kText) - 1]; in drawTestCase()
120 paint.getTextWidths(kText, sizeof(kText) - 1, widths, nullptr); in drawTestCase()
128 for (size_t i = 0; i < sizeof(kText) - 1; ++i) { in drawTestCase()
Dshadertext3.cpp44 static const char kText[] = "B"; variable
45 static const int kTextLen = SK_ARRAY_COUNT(kText) - 1;
115 canvas->drawText(kText, kTextLen, 0, 0, fillPaint); in onDraw()
116 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint); in onDraw()
117 SkScalar w = fillPaint.measureText(kText, kTextLen); in onDraw()
Dshadertext2.cpp44 static const char kText[] = "SKIA"; variable
45 static const int kTextLen = SK_ARRAY_COUNT(kText) - 1;
90 SkScalar w = fillPaint.measureText(kText, kTextLen);
147 canvas->drawText(kText, kTextLen, 0, 0, paint);
148 canvas->drawText(kText, kTextLen, 0, 0, outlinePaint);
163 canvas->drawTextOnPath(kText, kTextLen, path, nullptr, paint);
164 canvas->drawTextOnPath(kText, kTextLen, path, nullptr, outlinePaint);
/external/skia/src/core/
DSkTextToPathIter.h54 kText, enumerator
73 SkScalar xOffset = TextType::kText == fTextType && fXYIndex ? fXPos : 0; in setPosition()
DSkPaint.cpp1168 SkTextInterceptsIter::TextType::kText); in getTextIntercepts()
/external/libbrillo/brillo/
Dmime_utils_unittest.cc12 std::string mime_string = mime::Combine(mime::types::kText, "xml"); in TEST()
41 EXPECT_EQ(mime::types::kText, mime::GetType(mime::text::kPlain)); in TEST()
Dmime_utils.h26 BRILLO_EXPORT extern const char kText[]; // test
Dmime_utils.cc21 const char mime::types::kText[] = "text"; member in brillo::mime::types