/external/chromium_org/ui/views/controls/ |
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.SetRect(0, 0, 0, 0) 500 gfx::Rect text_bounds; local 627 gfx::Rect text_bounds; local 762 gfx::Rect text_bounds; local [all...] |
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 = GetTextBounds() [all...] |
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.h | 112 const gfx::Rect& text_bounds() const { return text_bounds_; } function in class:OmniboxResultView
|
/external/chromium_org/cc/layers/ |
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.bottom()) [all...] |
/external/chromium_org/ui/views/controls/menu/ |
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()), [all...] |