/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
H A D | StyleInheritedData.cpp | 32 , line_height(RenderStyle::initialLineHeight()) 46 , line_height(o.line_height) 55 return line_height == o.line_height
|
H A D | StyleInheritedData.h | 54 Length line_height; member in class:WebCore::StyleInheritedData
|
H A D | RenderStyle.cpp | 494 if (inherited->line_height != other->inherited->line_height 1203 Length RenderStyle::specifiedLineHeight() const { return inherited->line_height; } 1206 const Length& lh = inherited->line_height; 1217 void RenderStyle::setLineHeight(Length specifiedLineHeight) { SET_VAR(inherited, line_height, specifiedLineHeight); }
|
/external/chromium_org/ui/gfx/ |
H A D | canvas_android.cc | 16 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 D | canvas_unittest.cc | 20 gfx::Size SizeStringInt(const char *text, int width, int line_height) { argument 25 Canvas::SizeStringInt(text16, font_, &width, &height, line_height, flags);
|
H A D | canvas_skia.cc | 163 int line_height, 196 h += (i > 0 && line_height > 0) ? line_height : string_size.height(); 224 int line_height, 265 if (line_height > 0) 266 line_padding = line_height - render_text->GetStringSize().height(); 268 line_height = render_text->GetStringSize().height(); 274 const int text_height = strings.size() * line_height - line_padding; 279 rect.set_height(line_height - line_padding); 285 rect += Vector2d(0, line_height); 160 SizeStringFloat(const base::string16& text, const FontList& font_list, float* width, float* height, int line_height, int flags) argument 220 DrawStringRectWithShadows(const base::string16& text, const FontList& font_list, SkColor color, const Rect& text_bounds, int line_height, int flags, const ShadowValues& shadows) argument 421 const int line_height = render_text->GetStringSize().height(); local [all...] |
H A D | text_elider_unittest.cc | 566 const int line_height = font_list.GetHeight(); local 580 { "Test", test_width, line_height, false, "Test" }, 581 { "Test Test", test_width, line_height, true, "Test" }, 582 { "Test Test", test_width, line_height + 1, false, "Test|Test" }, 583 { "Test Test", test_width, line_height * 2, false, "Test|Test" }, 584 { "Test Test", test_width, line_height * 3, false, "Test|Test" }, 585 { "Test Test", test_width * 2, line_height * 2, false, "Test|Test" }, 586 { "Test Test", test_width * 3, line_height, false, "Test Test" }, 587 { "Test\nTest", test_width * 3, line_height * 2, false, "Test|Test" }, 588 { "Te\nst Te", test_width, line_height * 623 const int line_height = font_list.GetHeight(); local [all...] |
H A D | canvas.h | 125 // supports multiple lines. On Skia only a line_height can be specified and 131 int line_height, 138 int line_height, 147 int line_height, 391 // Currently it's only implemented for canvas skia. Specifying a 0 line_height 397 int line_height, 405 int line_height,
|
H A D | canvas.cc | 91 int line_height, 96 &factional_height, line_height, flags); 106 int line_height, 108 SizeStringInt(text, FontList(font), width, height, line_height, flags); 539 int line_height, 543 line_height, flags, shadows); 87 SizeStringInt(const base::string16& text, const FontList& font_list, int* width, int* height, int line_height, int flags) argument 102 SizeStringInt(const base::string16& text, const Font& font, int* width, int* height, int line_height, int flags) argument 535 DrawStringWithShadows(const base::string16& text, const Font& font, SkColor color, const Rect& text_bounds, int line_height, int flags, const ShadowValues& shadows) argument
|
/external/chromium_org/ui/views/controls/ |
H A D | styled_label.cc | 158 const int line_height = CalculateLineHeight(); local 182 const gfx::Rect chunk_bounds(x, 0, width - x, 2 * line_height); 256 DCHECK_EQ(line_height, view_size.height() - 2 * overlap); 260 GetInsets().top() + line * line_height - overlap), 269 return (line + 1) * line_height + GetInsets().height();
|
H A D | label.h | 127 int line_height() const { return line_height_; } function in class:views::Label
|
/external/chromium_org/ui/message_center/views/ |
H A D | bounded_label.cc | 128 // Restrict line limit to ensure (lines + 1) * line_height <= INT_MAX and 132 int line_height = std::max(font().GetHeight(), 2); // At least 2 pixels. local 133 int max_lines = std::numeric_limits<int>::max() / line_height - 1; 135 height = (lines + 1) * line_height; 290 return label_->line_height();
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/htmlfiles/ |
H A D | coverage_html.js | 251 line_height = l2.offset().top - l1_top, 252 nlines = (pos - l1_top) / line_height;
|
/external/chromium_org/ash/system/user/ |
H A D | tray_user.cc | 637 const int line_height = font_list.GetHeight(); local 639 link_size.height() - learn_more_->GetInsets().top() - line_height, 0); 642 line_count * line_height + link_extra_height + insets.height());
|