/external/chromium_org/ui/views/controls/ |
label_unittest.cc | 339 gfx::Rect text_bounds; local 344 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 351 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 371 gfx::Rect text_bounds; local 375 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 378 EXPECT_EQ(extra.width() / 2, text_bounds.x()); 379 EXPECT_EQ(extra.height() / 2 , text_bounds.y()); 380 EXPECT_EQ(required_size.width(), text_bounds.width()); 381 EXPECT_EQ(required_size.height(), text_bounds.height()); 390 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); 495 gfx::Rect* text_bounds, 497 DCHECK(paint_text && text_bounds && flags); 508 *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 | 340 SkRect text_bounds = local 346 text_bounds.bottom() + 2 * kPadding, 365 text_bounds.left(), 366 text_bounds.bottom()); 372 text_bounds.right(), 373 text_bounds.bottom()); 528 SkRect text_bounds = SkRect::MakeXYWH( local 531 text_bounds.bottom() + kPadding, 550 text_bounds.left(), 551 text_bounds.bottom()) [all...] |
/external/chromium_org/ui/views/controls/button/ |
text_button.cc | 335 gfx::Rect text_bounds = GetTextBounds(); local 336 text_width = text_bounds.width(); 363 gfx::Rect text_bounds(GetTextBounds()); 364 if (text_bounds.width() > 0) { 373 text_bounds.set_x(GetMirroredXForRect(text_bounds)); 387 text_bounds, draw_string_flags); 390 text_bounds, draw_string_flags); 645 gfx::Rect text_bounds = GetTextBounds(); local 652 : text_bounds.x() - icon.width() - spacing [all...] |
/external/chromium_org/ui/views/controls/menu/ |
menu_item_view.cc | 824 gfx::Rect text_bounds(label_start, top_margin, width, 827 text_bounds.set_x(GetMirroredXForRect(text_bounds)); 831 canvas->DrawStringRectWithFlags(title(), font_list, fg_color, text_bounds, local 839 text_bounds + gfx::Vector2d(0, font_list.GetHeight()), [all...] |