/external/chromium_org/ui/gfx/ |
H A D | canvas_notimplemented.cc | 33 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 D | canvas_skia.cc | 219 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 D | label_unittest.cc | 343 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 D | label.cc | 316 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 D | omnibox_result_view.h | 112 const gfx::Rect& text_bounds() const { return text_bounds_; } function in class:OmniboxResultView
|
/external/chromium_org/cc/layers/ |
H A D | heads_up_display_layer_impl.cc | 369 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 D | menu_item_view.cc | 836 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()),
|