/external/chromium/chrome/browser/chromeos/ |
drop_shadow_label.cc | 40 const gfx::Rect& text_bounds, 49 text_bounds.x() + i, text_bounds.y(), 50 text_bounds.width(), text_bounds.height(), flags); 52 text_bounds.x() + i, text_bounds.y() + i, 53 text_bounds.width(), text_bounds.height(), flags); 55 text_bounds.x(), text_bounds.y() + i [all...] |
drop_shadow_label.h | 40 const gfx::Rect& text_bounds,
|
/external/chromium_org/ui/views/controls/ |
label_unittest.cc | 301 gfx::Rect text_bounds; local 303 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 317 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 342 gfx::Rect text_bounds; local 346 label.CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 349 EXPECT_EQ(extra.width() / 2, text_bounds.x()); 350 EXPECT_EQ(extra.height() / 2 , text_bounds.y()); 351 EXPECT_EQ(required_size.width(), text_bounds.width()); 352 EXPECT_EQ(required_size.height(), text_bounds.height()); 361 text_bounds.SetRect(0, 0, 0, 0) 479 gfx::Rect text_bounds; local 618 gfx::Rect text_bounds; local 759 gfx::Rect text_bounds; local [all...] |
label.cc | 311 const gfx::Rect& text_bounds, 319 text_bounds, line_height_, flags, shadows); 322 gfx::Rect focus_bounds = text_bounds; 362 gfx::Rect text_bounds; local 364 CalculateDrawStringParams(&paint_text, &text_bounds, &flags); 365 PaintText(canvas, paint_text, text_bounds, flags); 489 gfx::Rect* text_bounds, 491 DCHECK(paint_text && text_bounds && flags); 509 *text_bounds = GetTextBounds();
|
label.h | 190 const gfx::Rect& text_bounds, 228 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(kIconViewWidth); 229 text_bounds.set_width( 234 text_bounds.set_width( 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 | 118 gfx::Rect text_bounds(rect); 120 text_bounds.set_x(back_bounds.x() + (rect.width() - text_width) / 2); 121 text_bounds.set_width(text_width); 122 text_bounds.ClampToCenteredSize(gfx::Size(text_bounds.width(), 124 folder_name_view_->SetBoundsRect(text_bounds);
|
/external/chromium_org/ui/gfx/ |
canvas_android.cc | 33 const Rect& text_bounds,
|
canvas_skia.cc | 223 const Rect& text_bounds, 227 if (!IntersectsClipRect(text_bounds)) 230 Rect clip_rect(text_bounds); 236 Rect rect(text_bounds); 256 text_bounds.width(), text_bounds.height(), 275 rect += Vector2d(0, (text_bounds.height() - text_height) / 2); 305 text_bounds.width(), 315 rect += Vector2d(0, (text_bounds.height() - text_height) / 2);
|
canvas.h | 396 const Rect& text_bounds, 404 const Rect& text_bounds,
|
canvas.cc | 538 const Rect& text_bounds, 542 DrawStringRectWithShadows(text, FontList(font), color, text_bounds,
|
/external/chromium_org/ui/views/controls/button/ |
text_button.cc | 365 gfx::Rect text_bounds = GetTextBounds(); local 366 text_width = text_bounds.width(); 478 gfx::Rect text_bounds(GetTextBounds()); 479 if (text_bounds.width() > 0) { 488 text_bounds.set_x(GetMirroredXForRect(text_bounds)); 505 text_bounds.x(), text_bounds.y(), text_bounds.width(), 506 text_bounds.height(), draw_string_flags) 683 gfx::Rect text_bounds = GetTextBounds(); local [all...] |
/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_result_view.h | 67 const gfx::Rect& text_bounds() const { return text_bounds_; } function in class:AutocompleteResultView
|
touch_autocomplete_popup_contents_view.cc | 36 text_bounds().y()); 40 text_bounds().y() + GetFontHeight());
|
/external/chromium_org/ui/views/controls/menu/ |
menu_item_view.cc | 813 gfx::Rect text_bounds(label_start, top_margin, width, 816 text_bounds.set_x(GetMirroredXForRect(text_bounds)); 821 text_bounds.x(), text_bounds.y(), text_bounds.width(), 822 text_bounds.height(), flags); 829 text_bounds.x(), 830 text_bounds.y() + GetFont().GetHeight(), 831 text_bounds.width() [all...] |
/external/chromium_org/cc/layers/ |
heads_up_display_layer_impl.cc | 335 SkRect text_bounds = local 341 text_bounds.bottom() + 2 * kPadding, 360 text_bounds.left(), 361 text_bounds.bottom()); 367 text_bounds.right(), 368 text_bounds.bottom()); 523 SkRect text_bounds = SkRect::MakeXYWH( local 526 text_bounds.bottom() + kPadding, 545 text_bounds.left(), 546 text_bounds.bottom()) [all...] |
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.h | 90 const gfx::Rect& text_bounds() const { return text_bounds_; } function in class:OmniboxResultView
|
touch_omnibox_popup_contents_view.cc | 36 int y = text_bounds().y();
|
/external/chromium_org/ash/accelerators/ |
exit_warning_handler.cc | 49 const gfx::Rect& text_bounds, 54 text_bounds,
|
/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); 808 text_bounds.x() + kTextHorizontalPadding, 809 text_bounds.y() + kTextVerticalPadding, 810 text_bounds.width() - kTextHorizontalPadding * 2, 811 text_bounds.height() - kTextVerticalPadding * 2);
|
/external/chromium_org/ui/views/controls/combobox/ |
combobox.cc | 653 gfx::Rect text_bounds(x, y, text_width, text_height); 654 AdjustBoundsForRTLUI(&text_bounds); 655 canvas->DrawStringInt(text, font, text_color, text_bounds);
|