/external/chromium_org/ui/views/controls/ |
H A D | 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 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); 495 gfx::Rect* text_bounds, 497 DCHECK(paint_text && text_bounds && flags); 508 *text_bounds 314 PaintText(gfx::Canvas* canvas, const base::string16& text, const gfx::Rect& text_bounds, int flags) argument 494 CalculateDrawStringParams(base::string16* paint_text, gfx::Rect* text_bounds, int* flags) const argument [all...] |
H A D | label.h | 162 const gfx::Rect& text_bounds, 202 gfx::Rect* text_bounds,
|
/external/chromium_org/ui/app_list/views/ |
H A D | search_result_view.cc | 223 gfx::Rect text_bounds(rect); 224 text_bounds.set_x(kIconViewWidth); 226 text_bounds.set_width( 231 text_bounds.set_width( 235 text_bounds.set_x(GetMirroredXWithWidthInView(text_bounds.x(), 236 text_bounds.width())); 239 gfx::Size title_size(text_bounds.width(), 241 gfx::Size details_size(text_bounds.width(), 244 int y = text_bounds [all...] |
H A D | folder_header_view.cc | 164 gfx::Rect text_bounds(rect); 172 text_bounds.set_x(back_bounds.x() + (rect.width() - text_width) / 2); 173 text_bounds.set_width(text_width); 174 text_bounds.ClampToCenteredSize(gfx::Size(text_bounds.width(), 176 folder_name_view_->SetBoundsRect(text_bounds);
|
/external/chromium_org/ui/gfx/ |
H A D | canvas_android.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 | 222 const Rect& text_bounds, 226 if (!IntersectsClipRect(text_bounds)) 229 Rect clip_rect(text_bounds); 235 Rect rect(text_bounds); 253 ElideRectangleText(adjusted_text, font_list, text_bounds.width(), 254 text_bounds.height(), wrap_behavior, &strings); 271 rect += Vector2d(0, (text_bounds.height() - text_height) / 2); 300 ElideTextAndAdjustRange(font_list, text_bounds.width(), &adjusted_text, 308 rect += Vector2d(0, (text_bounds.height() - text_height) / 2); 219 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.h | 369 const Rect& text_bounds,
|
/external/chromium_org/ui/views/controls/button/ |
H A D | 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 [all...] |
/external/chromium_org/cc/layers/ |
H A D | 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 [all...] |
/external/chromium_org/ui/views/controls/tree/ |
H A D | tree_view.cc | 793 gfx::Rect text_bounds(bounds.x() + text_offset_, bounds.y(), 796 text_bounds.set_x(bounds.x()); 800 canvas->FillRect(text_bounds, bg_color); 802 canvas->DrawFocusRect(text_bounds); 807 text_bounds.x() + kTextHorizontalPadding, 808 text_bounds.y() + kTextVerticalPadding, 809 text_bounds.width() - kTextHorizontalPadding * 2, 810 text_bounds.height() - kTextVerticalPadding * 2);
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | find_bar_view.cc | 246 const gfx::Rect text_bounds(find_text_x, find_next_button_->y(), 250 gfx::Rect background_bounds = text_bounds; 258 views::Painter::PaintPainterAt(canvas, find_text_border_.get(), text_bounds);
|
/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/ui/views/controls/menu/ |
H A D | 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()),
|
/external/chromium_org/ui/views/controls/combobox/ |
H A D | combobox.cc | 667 gfx::Rect text_bounds(x, y, text_width, text_height); 668 AdjustBoundsForRTLUI(&text_bounds); 669 canvas->DrawStringRect(text, font_list, text_color, text_bounds);
|