Home
last modified time | relevance | path

Searched refs:ApplyStyle (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ui/views/examples/
Dtextfield_example.cc129 name_->ApplyStyle(gfx::BOLD, false, big_range); in ButtonPressed()
130 name_->ApplyStyle(gfx::UNDERLINE, true, big_range); in ButtonPressed()
134 name_->ApplyStyle(gfx::ITALIC, true, small_range); in ButtonPressed()
135 name_->ApplyStyle(gfx::UNDERLINE, false, small_range); in ButtonPressed()
136 name_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, small_range); in ButtonPressed()
Dmultiline_example.cc98 render_text_->ApplyStyle(gfx::DIAGONAL_STRIKE, true, color_range); in SetText()
100 render_text_->ApplyStyle(gfx::UNDERLINE, true, color_range); in SetText()
101 render_text_->ApplyStyle(gfx::BOLD, true, bold_range); in SetText()
102 render_text_->ApplyStyle(gfx::ITALIC, true, italic_range); in SetText()
/external/chromium_org/ui/gfx/
Drender_text_unittest.cc131 render_text->ApplyStyle(BOLD, true, Range(2, 5)); in TEST_F()
153 render_text->ApplyStyle(BOLD, true, Range(2, text_length)); in TEST_F()
163 render_text->ApplyStyle(ITALIC, true, Range(0, 2)); in TEST_F()
164 render_text->ApplyStyle(ITALIC, true, Range(3, 6)); in TEST_F()
165 render_text->ApplyStyle(ITALIC, true, Range(7, text_length)); in TEST_F()
178 render_text->ApplyStyle(ITALIC, false, Range(2, 4)); in TEST_F()
181 render_text->ApplyStyle(ITALIC, false, Range(0, 1)); in TEST_F()
185 render_text->ApplyStyle(ITALIC, true, Range(2, 4)); in TEST_F()
195 render_text->ApplyStyle(UNDERLINE, true, Range(2, 5)); in TEST_F()
211 render_text->ApplyStyle(BOLD, true, Range(2, 4)); in TEST_F()
[all …]
Dcanvas_skia.cc275 render_text->ApplyStyle(UNDERLINE, true, range); in DrawStringRectWithShadows()
304 render_text->ApplyStyle(UNDERLINE, true, range); in DrawStringRectWithShadows()
Drender_text.h330 void ApplyStyle(TextStyle style, bool value, const Range& range);
Drender_text.cc658 void RenderText::ApplyStyle(TextStyle style, bool value, const Range& range) { in ApplyStyle() function in gfx::RenderText
/external/chromium_org/ui/app_list/views/
Dsearch_result_view.cc55 render_text->ApplyStyle(gfx::BOLD, true, it->range); in CreateRenderText()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield.h191 void ApplyStyle(gfx::TextStyle style, bool value, const gfx::Range& range);
Dtextfield.cc524 void Textfield::ApplyStyle(gfx::TextStyle style, in ApplyStyle() function in views::Textfield
527 GetRenderText()->ApplyStyle(style, value, range); in ApplyStyle()
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_result_view.cc367 render_text->ApplyStyle(gfx::BOLD, true, current_range); in CreateClassifiedRenderText()
Domnibox_view_views.cc624 ApplyStyle(gfx::DIAGONAL_STRIKE, strike, scheme_range); in EmphasizeURLComponents()