HomeSort by relevance Sort by last modified time
    Searched full:prefsize (Results 1 - 13 of 13) sorted by null

  /external/chromium_org/ui/views/
button_drag_utils.cc 52 gfx::Size prefsize = button.GetPreferredSize(); local
53 button.SetBounds(0, 0, prefsize.width(), prefsize.height());
59 press_point = gfx::Vector2d(prefsize.width() / 2, prefsize.height() / 2);
63 views::GetCanvasForDragImage(widget, prefsize));
view.cc 387 gfx::Size prefsize = GetPreferredSize(); local
388 if ((prefsize.width() != width()) || (prefsize.height() != height()))
389 SetBounds(x(), y(), prefsize.width(), prefsize.height());
    [all...]
  /external/chromium_org/ui/views/controls/button/
text_button.cc 285 gfx::Size prefsize(std::max(max_text_size_.width(),
291 prefsize.set_width(std::min(max_width_, prefsize.width()));
293 prefsize.set_width(std::max(prefsize.width(), min_width_));
294 prefsize.set_height(std::max(prefsize.height(), min_height_));
296 return prefsize;
602 gfx::Size prefsize(TextButtonBase::GetPreferredSize());
603 prefsize.Enlarge(icon_.width(), 0)
    [all...]
menu_button.cc 151 gfx::Size prefsize = LabelButton::GetPreferredSize(); local
153 prefsize.Enlarge(menu_marker_->width() + kMenuMarkerPaddingLeft +
157 return prefsize;
  /external/chromium_org/ui/views/controls/scrollbar/
base_scroll_bar_thumb.cc 32 gfx::Size prefsize = GetPreferredSize(); local
33 size = std::max(size, scroll_bar_->IsHorizontal() ? prefsize.width() :
34 prefsize.height());
  /external/chromium_org/chrome/browser/ui/views/
find_bar_host.cc 270 gfx::Size prefsize = view()->GetPreferredSize();
273 if (widget_bounds.width() < prefsize.width())
274 prefsize.set_width(widget_bounds.width());
277 if (widget_bounds.height() < prefsize.height())
285 x += widget_bounds.width() - prefsize.width();
287 view_location.SetRect(x, y, prefsize.width(), prefsize.height());
find_bar_view.cc 342 gfx::Size prefsize = find_text_->GetPreferredSize(); local
343 prefsize.set_height(preferred_height_);
346 prefsize.Enlarge(kMarginLeftOfCloseButton + kMarginRightOfCloseButton +
349 prefsize.Enlarge(find_previous_button_->GetPreferredSize().width(), 0);
350 prefsize.Enlarge(find_next_button_->GetPreferredSize().width(), 0);
351 prefsize.Enlarge(close_button_->GetPreferredSize().width(), 0);
352 return prefsize;
  /external/chromium_org/chrome/browser/ui/views/download/
download_shelf_view.cc 173 gfx::Size prefsize(kRightPadding + kLeftPadding + kCloseAndLinkPadding, 0);
174 AdjustSize(close_button_, &prefsize);
175 AdjustSize(show_all_view_, &prefsize);
178 AdjustSize(*download_views_.begin(), &prefsize);
179 prefsize.Enlarge(kDownloadPadding, 0);
181 prefsize.Enlarge(0, kTopBottomPadding + kTopBottomPadding);
183 prefsize.set_height(static_cast<int>(
184 static_cast<double>(prefsize.height()) *
187 return prefsize;
  /external/chromium_org/ui/views/controls/menu/
menu_scroll_view_container.cc 247 gfx::Size prefsize = scroll_view_->GetContents()->GetPreferredSize(); local
249 prefsize.Enlarge(insets.width(), insets.height());
250 return prefsize;
  /packages/apps/Settings/src/com/android/settings/sim/
SimSettings.java 142 final int prefSize = prefScreen.getPreferenceCount();
143 for (int i = 0; i < prefSize; ++i) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_gl.py 61 'prefposition', 'prefsize', 'pupmode', 'pushattributes', 'pushmatrix',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_gl.py 61 'prefposition', 'prefsize', 'pupmode', 'pushattributes', 'pushmatrix',
  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_bar_view.cc 710 gfx::Size prefsize; local
712 prefsize.set_height(
718 prefsize.set_height(static_cast<int>(chrome::kBookmarkBarHeight *
721 return prefsize;
    [all...]

Completed in 1224 milliseconds