Searched defs:line_height (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleInheritedData.h54 Length line_height; member in class:blink::StyleInheritedData
/external/chromium_org/ui/gfx/
H A Dcanvas_notimplemented.cc16 int line_height,
34 int line_height,
12 SizeStringFloat(const base::string16& text, const FontList& font_list, float* width, float* height, int line_height, int flags) argument
30 DrawStringRectWithShadows(const base::string16& text, const FontList& font_list, SkColor color, const Rect& text_bounds, int line_height, int flags, const ShadowValues& shadows) argument
H A Dcanvas_unittest.cc24 gfx::Size SizeStringInt(const char *text, int width, int line_height) { argument
29 Canvas::SizeStringInt(text16, font_list_, &width, &height, line_height,
H A Dcanvas_skia.cc160 int line_height,
192 h += (i > 0 && line_height > 0) ? line_height : string_size.height();
220 int line_height,
258 if (line_height > 0)
259 line_padding = line_height - render_text->GetStringSize().height();
261 line_height = render_text->GetStringSize().height();
267 const int text_height = strings.size() * line_height - line_padding;
272 rect.set_height(line_height - line_padding);
278 rect += Vector2d(0, line_height);
157 SizeStringFloat(const base::string16& text, const FontList& font_list, float* width, float* height, int line_height, int flags) argument
216 DrawStringRectWithShadows(const base::string16& text, const FontList& font_list, SkColor color, const Rect& text_bounds, int line_height, int flags, const ShadowValues& shadows) argument
[all...]
H A Dtext_elider_unittest.cc478 const int line_height = font_list.GetHeight(); local
492 { "Test", test_width, line_height, false, "Test" },
493 { "Test Test", test_width, line_height, true, "Test" },
494 { "Test Test", test_width, line_height + 1, false, "Test|Test" },
495 { "Test Test", test_width, line_height * 2, false, "Test|Test" },
496 { "Test Test", test_width, line_height * 3, false, "Test|Test" },
497 { "Test Test", test_width * 2, line_height * 2, false, "Test|Test" },
498 { "Test Test", test_width * 3, line_height, false, "Test Test" },
499 { "Test\nTest", test_width * 3, line_height * 2, false, "Test|Test" },
500 { "Te\nst Te", test_width, line_height *
542 const int line_height = font_list.GetHeight(); local
[all...]
H A Dcanvas.cc91 int line_height,
96 &factional_height, line_height, flags);
87 SizeStringInt(const base::string16& text, const FontList& font_list, int* width, int* height, int line_height, int flags) argument
/external/chromium_org/content/browser/renderer_host/input/
H A Dtouch_selection_controller_unittest.cc318 float line_height = 10.f; local
319 gfx::RectF start_rect(10, 0, 0, line_height);
517 float line_height = 10.f; local
518 gfx::RectF start_rect(0, 0, 0, line_height);
519 gfx::RectF end_rect(50, 0, 0, line_height);
571 float line_height = 10.f; local
572 gfx::RectF start_rect(0, 0, 0, line_height);
573 gfx::RectF end_rect(50, 0, 0, line_height);
/external/chromium_org/ui/views/controls/
H A Dlabel.h77 int line_height() const { return line_height_; } function in class:views::Label
H A Dstyled_label.cc137 void StyledLabel::SetLineHeight(int line_height) { argument
138 specified_line_height_ = line_height;
202 const int line_height = specified_line_height_ > 0 ? specified_line_height_ local
229 const gfx::Rect chunk_bounds(x, 0, width - x, 2 * line_height);
308 GetInsets().top() + line * line_height -
320 int total_height = line * line_height +
/external/chromium_org/ash/system/user/
H A Duser_card_view.cc327 const int line_height = font_list.GetHeight(); local
329 link_size.height() - learn_more_->GetInsets().top() - line_height, 0);
332 line_count * line_height + link_extra_height + insets.height());
/external/chromium_org/ui/message_center/views/
H A Dbounded_label.cc133 // Restrict line limit to ensure (lines + 1) * line_height <= INT_MAX and
137 int line_height = std::max(font_list().GetHeight(), local
139 int max_lines = std::numeric_limits<int>::max() / line_height - 1;
141 height = (lines + 1) * line_height;
297 return label_->line_height();

Completed in 4262 milliseconds