Searched defs:text_bounds (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dcanvas_notimplemented.cc33 const Rect& text_bounds,
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_skia.cc219 const Rect& text_bounds,
223 if (!IntersectsClipRect(text_bounds))
226 Rect clip_rect(text_bounds);
232 Rect rect(text_bounds);
250 ElideRectangleText(adjusted_text, font_list, text_bounds.width(),
251 text_bounds.height(), wrap_behavior, &strings);
268 rect += Vector2d(0, (text_bounds.height() - text_height) / 2);
297 ElideTextAndAdjustRange(font_list, text_bounds.width(), &adjusted_text,
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
/external/chromium_org/ui/views/controls/
H A Dlabel_unittest.cc343 gfx::Rect text_bounds; local
348 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags);
355 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags);
373 gfx::Rect text_bounds; local
377 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags);
380 EXPECT_EQ(extra.width() / 2, text_bounds.x());
381 EXPECT_EQ(0, text_bounds.y());
382 EXPECT_EQ(required_size.width(), text_bounds.width());
383 EXPECT_EQ(label.height(), text_bounds.height());
392 text_bounds
500 gfx::Rect text_bounds; local
627 gfx::Rect text_bounds; local
762 gfx::Rect text_bounds; local
[all...]
H A Dlabel.cc316 const gfx::Rect& text_bounds,
320 canvas->DrawFadedString(text, font_list_, color, text_bounds, flags);
322 canvas->DrawStringRectWithShadows(text, font_list_, color, text_bounds,
327 gfx::Rect focus_bounds = text_bounds;
370 gfx::Rect text_bounds; local
372 CalculateDrawStringParams(&paint_text, &text_bounds, &flags);
373 PaintText(canvas, paint_text, text_bounds, flags);
491 gfx::Rect* text_bounds,
493 DCHECK(paint_text && text_bounds && flags);
504 *text_bounds
314 PaintText(gfx::Canvas* canvas, const base::string16& text, const gfx::Rect& text_bounds, int flags) argument
490 CalculateDrawStringParams(base::string16* paint_text, gfx::Rect* text_bounds, int* flags) const argument
[all...]
/external/chromium_org/chrome/browser/ui/views/omnibox/
H A Domnibox_result_view.h112 const gfx::Rect& text_bounds() const { return text_bounds_; } function in class:OmniboxResultView
/external/chromium_org/cc/layers/
H A Dheads_up_display_layer_impl.cc369 SkRect text_bounds = local
375 text_bounds.bottom() + 2 * kPadding,
394 text_bounds.left(),
395 text_bounds.bottom());
401 text_bounds.right(),
402 text_bounds.bottom());
557 SkRect text_bounds = SkRect::MakeXYWH( local
560 text_bounds.bottom() + kPadding,
579 text_bounds.left(),
580 text_bounds
[all...]
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_item_view.cc836 gfx::Rect text_bounds(label_start, top_margin, width,
839 text_bounds.set_x(GetMirroredXForRect(text_bounds));
843 canvas->DrawStringRectWithFlags(title(), font_list, fg_color, text_bounds, local
851 text_bounds + gfx::Vector2d(0, font_list.GetHeight()),

Completed in 182 milliseconds