OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:text_paint
(Results
1 - 2
of
2
) sorted by null
/external/chromium/chrome/common/
badge_util.cc
24
static SkPaint*
text_paint
= NULL;
local
25
if (!
text_paint
) {
26
text_paint
= new SkPaint;
27
text_paint
->setAntiAlias(true);
28
text_paint
->setTextAlign(SkPaint::kLeft_Align);
35
text_paint
->setFakeBoldText(true);
48
text_paint
->setTypeface(typeface);
49
// |
text_paint
| adds its own ref. Release the ref from CreateFontName.
52
return
text_paint
;
/external/chromium/chrome/common/extensions/
extension_action.cc
123
SkPaint*
text_paint
= badge_util::GetBadgeTextPaintSingleton();
local
124
text_paint
->setTextSize(SkFloatToScalar(kTextSize));
125
text_paint
->setColor(text_color);
128
SkScalar text_width =
text_paint
->measureText(text.c_str(), text.size());
192
*
text_paint
);
Completed in 4876 milliseconds