/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...] |
label.h | 133 const gfx::Rect& text_bounds, 172 gfx::Rect* text_bounds,
|
/external/chromium_org/ui/app_list/views/ |
search_result_view.cc | 226 gfx::Rect text_bounds(rect); 227 text_bounds.set_x(GetIconViewWidth()); 229 text_bounds.set_width( 234 text_bounds.set_width(rect.width() - GetIconViewWidth() - 238 text_bounds.set_x(GetMirroredXWithWidthInView(text_bounds.x(), 239 text_bounds.width())); 242 gfx::Size title_size(text_bounds.width(), 244 gfx::Size details_size(text_bounds.width(), 247 int y = text_bounds.y() + (text_bounds.height() - total_height) / 2 [all...] |
folder_header_view.cc | 171 gfx::Rect text_bounds(rect); 180 text_bounds.set_x(back_bounds.x() + (rect.width() - text_width) / 2); 181 text_bounds.set_width(text_width); 182 text_bounds.ClampToCenteredSize(gfx::Size(text_bounds.width(), 184 folder_name_view_->SetBoundsRect(text_bounds);
|
/external/chromium_org/ui/gfx/ |
canvas_notimplemented.cc | 33 const Rect& text_bounds,
|
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,
|
canvas.h | 369 const Rect& text_bounds,
|
/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/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/ui/views/controls/tree/ |
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/ |
find_bar_view.cc | 249 const gfx::Rect text_bounds(find_text_x, find_next_button_->y(), 253 gfx::Rect background_bounds = text_bounds; 261 views::Painter::PaintPainterAt(canvas, find_text_border_.get(), text_bounds);
|
/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...] |
/external/chromium_org/ui/views/controls/combobox/ |
combobox.cc | 674 gfx::Rect text_bounds(x, y, text_width, text_height); 675 AdjustBoundsForRTLUI(&text_bounds); 676 canvas->DrawStringRect(text, font_list, text_color, text_bounds);
|