OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:text_paint
(Results
1 - 3
of
3
) 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_org/chrome/common/
badge_util.cc
65
static SkPaint*
text_paint
= NULL;
local
66
if (!
text_paint
) {
67
text_paint
= new SkPaint;
68
text_paint
->setAntiAlias(true);
69
text_paint
->setTextAlign(SkPaint::kLeft_Align);
76
text_paint
->setFakeBoldText(true);
89
text_paint
->setTypeface(typeface.get());
90
// |
text_paint
| adds its own ref. Release the ref from CreateFontName.
92
return
text_paint
;
162
SkPaint*
text_paint
= badge_util::GetBadgeTextPaintSingleton()
local
[
all
...]
/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 1106 milliseconds