HomeSort by relevance Sort by last modified time
    Searched refs:line_height (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/ui/gfx/
canvas_android.cc 17 int line_height,
26 int line_height,
canvas_unittest.cc 20 gfx::Size SizeStringInt(const char *text, int width, int line_height) {
25 Canvas::SizeStringInt(text16, font_, &width, &height, line_height, flags);
canvas_skia.cc 173 int line_height,
206 h += (i > 0 && line_height > 0) ? line_height : string_size.height();
233 int line_height,
275 if (line_height > 0)
276 line_padding = line_height - render_text->GetStringSize().height();
278 line_height = render_text->GetStringSize().height();
284 const int text_height = strings.size() * line_height - line_padding;
289 rect.set_height(line_height - line_padding);
295 rect += Vector2d(0, line_height);
442 const int line_height = render_text->GetStringSize().height(); local
    [all...]
canvas.h 127 // supports multiple lines. On Skia only a line_height can be specified and
132 int line_height,
327 // Currently it's only implemented for canvas skia. Specifying a 0 line_height
333 int line_height,
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
StyleInheritedData.cpp 32 , line_height(RenderStyle::initialLineHeight())
46 , line_height(o.line_height)
55 return line_height == o.line_height
StyleInheritedData.h 54 Length line_height; member in class:WebCore::StyleInheritedData
RenderStyle.cpp 471 if (inherited->line_height != other->inherited->line_height
    [all...]
  /external/chromium_org/ui/base/text/
text_elider_unittest.cc 556 const int line_height = font.GetHeight(); local
570 { "Test", test_width, line_height, false, "Test" },
571 { "Test Test", test_width, line_height, true, "Test" },
572 { "Test Test", test_width, line_height + 1, false, "Test|Test" },
573 { "Test Test", test_width, line_height * 2, false, "Test|Test" },
574 { "Test Test", test_width, line_height * 3, false, "Test|Test" },
575 { "Test Test", test_width * 2, line_height * 2, false, "Test|Test" },
576 { "Test Test", test_width * 3, line_height, false, "Test Test" },
577 { "Test\nTest", test_width * 3, line_height * 2, false, "Test|Test" },
578 { "Te\nst Te", test_width, line_height * 3, false, "Te|st|Te" }
613 const int line_height = font.GetHeight(); local
    [all...]
  /external/chromium_org/ui/views/controls/
styled_label.cc 157 const int line_height = CalculateLineHeight(); local
181 const gfx::Rect chunk_bounds(x, 0, width - x, 2 * line_height);
254 DCHECK_EQ(line_height, view_size.height() - 2 * overlap);
258 GetInsets().top() + line * line_height - overlap),
267 return (line + 1) * line_height + GetInsets().height();
label.h 123 int line_height() const { return line_height_; } function in class:views::Label
  /external/chromium_org/ui/message_center/views/
bounded_label.cc 129 // Restrict line limit to ensure (lines + 1) * line_height <= INT_MAX and
133 int line_height = std::max(font().GetHeight(), 2); // At least 2 pixels. local
134 int max_lines = std::numeric_limits<int>::max() / line_height - 1;
136 height = (lines + 1) * line_height;
292 return label_->line_height();
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/htmlfiles/
coverage_html.js 251 line_height = l2.offset().top - l1_top,
252 nlines = (pos - l1_top) / line_height;
  /external/chromium_org/ash/system/user/
tray_user.cc 574 const int line_height = font.GetHeight(); local
576 link_size.height() - learn_more_->GetInsets().top() - line_height, 0);
579 line_count * line_height + link_extra_height + insets.height());
    [all...]

Completed in 6771 milliseconds