/external/chromium_org/ui/views/controls/ |
H A D | scroll_view_unittest.cc | 5 #include "ui/views/controls/scroll_view.h" 48 ScrollView scroll_view; local 50 scroll_view.SetContents(contents); 51 scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); 52 scroll_view.Layout(); 58 ScrollView scroll_view; local 60 scroll_view.SetContents(contents); 61 scroll_view.SetBoundsRect(gfx::Rect(0, 0, 100, 100)); 65 scroll_view.Layout(); 66 EXPECT_EQ(100 - scroll_view 98 ScrollView scroll_view; local 126 ScrollView scroll_view; local 189 ScrollView scroll_view; local 220 ScrollView scroll_view; local [all...] |
H A D | scroll_view.h | 170 int GetPageScrollIncrement(ScrollView* scroll_view, 172 int GetLineScrollIncrement(ScrollView* scroll_view,
|
H A D | scroll_view.cc | 5 #include "ui/views/controls/scroll_view.h" 533 ScrollView* scroll_view, bool is_horizontal, bool is_positive) { 537 int y = abs(scroll_view->contents()->y()); 538 int vis_height = scroll_view->contents()->parent()->height(); 541 int bottom = std::min(scroll_view->contents()->height() - 1, 557 ScrollView* scroll_view, bool is_horizontal, bool is_positive) { 561 int y = abs(scroll_view->contents()->y()); 532 GetPageScrollIncrement( ScrollView* scroll_view, bool is_horizontal, bool is_positive) argument 556 GetLineScrollIncrement( ScrollView* scroll_view, bool is_horizontal, bool is_positive) argument
|
/external/chromium_org/chrome/browser/ui/views/ |
H A D | collected_cookies_views.cc | 43 #include "ui/views/controls/scroll_view.h" 487 views::ScrollView* scroll_view = new views::ScrollView(); local 488 scroll_view->SetContents(pane); 489 scroll_view->set_border( 491 return scroll_view;
|
H A D | profile_reset_bubble_view.cc | 33 #include "ui/views/controls/scroll_view.h" 362 views::ScrollView* scroll_view = new views::ScrollView(); local 363 scroll_view->set_background(views::Background::CreateSolidBackground( 365 scroll_view->SetContents(feedback_view); 368 layout->AddView(scroll_view, 1, 1, GridLayout::FILL,
|
/external/chromium_org/ui/views/controls/table/ |
H A D | table_view.cc | 17 #include "ui/views/controls/scroll_view.h" 161 ScrollView* scroll_view = ScrollView::CreateScrollViewWithBorder(); local 162 scroll_view->SetContents(this); 165 scroll_view->SetHeader(header_); 166 return scroll_view; 296 View* scroll_view = parent() ? parent()->parent() : NULL; local 297 if (scroll_view) { 298 const int scroll_view_width = scroll_view->GetContentsBounds().width();
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
H A D | media_galleries_dialog_views.cc | 23 #include "ui/views/controls/scroll_view.h" 183 views::ScrollView* scroll_view = local 185 scroll_view->SetContents(scroll_container); 188 layout->AddView(scroll_view, 1, 1,
|
/external/chromium_org/ui/views/focus/ |
H A D | focus_traversal_unittest.cc | 20 #include "ui/views/controls/scroll_view.h" 420 ScrollView* scroll_view = new ScrollView(); local 421 scroll_view->set_id(kScrollViewID); 422 inner_container->AddChildView(scroll_view); 423 scroll_view->SetBounds(1, 1, 148, 178); 429 scroll_view->SetContents(scroll_content);
|
/external/chromium_org/ui/views/ |
H A D | view.h | 982 virtual int GetPageScrollIncrement(ScrollView* scroll_view, 984 virtual int GetLineScrollIncrement(ScrollView* scroll_view,
|
H A D | view_unittest.cc | 26 #include "ui/views/controls/scroll_view.h" 1832 ScrollView* scroll_view = new ScrollView(); local 1833 scroll_view->SetContents(new ScrollableTestView()); 1835 new SimpleWidgetDelegate(scroll_view), 1838 EXPECT_EQ(0, scroll_view->GetVisibleRect().y()); 1850 EXPECT_EQ(20, scroll_view->GetVisibleRect().y()); 1855 EXPECT_EQ(80, scroll_view->GetVisibleRect().y()); 1860 EXPECT_EQ(80, scroll_view->GetVisibleRect().y());
|
H A D | view.cc | 1354 int View::GetPageScrollIncrement(ScrollView* scroll_view, argument 1359 int View::GetLineScrollIncrement(ScrollView* scroll_view, argument
|
/external/chromium_org/ui/views/controls/tree/ |
H A D | tree_view.cc | 22 #include "ui/views/controls/scroll_view.h" 104 ScrollView* scroll_view = ScrollView::CreateScrollViewWithBorder(); local 105 scroll_view->SetContents(this); 106 return scroll_view;
|
/external/chromium_org/ui/views/widget/ |
H A D | widget_unittest.cc | 1439 EventCountView* scroll_view = new ScrollableEventCountView; local 1442 scroll_view->SetBounds(60, 0, 40, 40); 1446 widget->GetRootView()->AddChildView(scroll_view); 1487 EXPECT_EQ(1, scroll_view->GetEventCount(ui::ET_GESTURE_SCROLL_BEGIN)); 1488 EXPECT_EQ(1, scroll_view->GetEventCount(ui::ET_GESTURE_SCROLL_UPDATE)); 1489 EXPECT_EQ(1, scroll_view->GetEventCount(ui::ET_GESTURE_SCROLL_END));
|
/external/chromium_org/ui/views/controls/menu/ |
H A D | menu_controller.cc | 1403 MenuScrollViewContainer* scroll_view = source->GetScrollViewContainer(); local 1405 scroll_view->GetEventHandlerForPoint(gfx::Point(x, y)); 1407 if (child_under_mouse == scroll_view->scroll_up_button()) { 1411 if (child_under_mouse == scroll_view->scroll_down_button()) {
|