/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_result_view.cc | 98 int remaining_width(int x) const { function in class:AutocompleteResultView::MirroringContext 365 int remaining_width = mirroring_context_->remaining_width(x); local 367 if (i->pixel_width > remaining_width) { 371 if (j->pixel_width > remaining_width) { 378 Elide(&runs, remaining_width); 381 remaining_width -= j->pixel_width; 385 remaining_width -= i->pixel_width; 412 void AutocompleteResultView::Elide(Runs* runs, int remaining_width) const { 437 remaining_width += j->pixel_width [all...] |
autocomplete_result_view.h | 83 // Elides |runs| to fit in |remaining_width|. The runs in |runs| should be in 97 void Elide(Runs* runs, int remaining_width) const;
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_instructions_view.cc | 60 int remaining_width = width(); local 71 int view_width = std::min(remaining_width, pref.width()); 74 remaining_width = std::max(0, width() - x);
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_instructions_view.cc | 72 int remaining_width = width(); local 83 int view_width = std::min(remaining_width, pref.width()); 86 remaining_width = std::max(0, width() - x);
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
omnibox_result_view.cc | 95 int remaining_width(int x) const { function in class:OmniboxResultView::MirroringContext 437 int remaining_width = mirroring_context_->remaining_width(x); local 439 if (i->pixel_width > remaining_width) { 444 if (width > remaining_width) { 451 Elide(&runs, remaining_width); 454 remaining_width -= width; 458 remaining_width -= i->pixel_width; 486 void OmniboxResultView::Elide(Runs* runs, int remaining_width) const { 506 remaining_width += (*j)->GetStringSize().width() [all...] |
omnibox_result_view.h | 114 // Elides |runs| to fit in |remaining_width|. The runs in |runs| should be in 128 void Elide(Runs* runs, int remaining_width) const;
|
/external/chromium_org/ui/views/layout/ |
grid_layout.cc | 334 remaining_width(0), 362 int remaining_width; member in struct:views::ViewState 528 view_state->remaining_width -= columns_[i]->Size(); 537 int width = view_state->remaining_width; 562 int remaining_width = width; local 566 int delta = (resize_i == resizable_columns) ? remaining_width : 569 remaining_width -= delta; 618 view_state->remaining_width = pref.width(); 633 view_state->remaining_width -= column->Size(); 643 // Update the remaining_width from columns this view_state touches [all...] |
/external/chromium_org/ash/system/user/ |
tray_user.cc | 702 int remaining_width = contents_area.width() - logout_area.width(); local 715 user_card_area.set_width(std::max(0, remaining_width + 1)); 725 remaining_width -= kTrayPopupPaddingBetweenItems; 727 user_card_area.set_width(remaining_width); [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
avatar_menu_bubble_view.cc | 568 int remaining_width = local 573 managed_user_info_->GetHeightForWidth(remaining_width) + kItemMarginY);
|