Searched refs:scroll_view (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/ui/views/controls/
H A Dscroll_view_unittest.cc5 #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 Dscroll_view.h170 int GetPageScrollIncrement(ScrollView* scroll_view,
172 int GetLineScrollIncrement(ScrollView* scroll_view,
H A Dscroll_view.cc5 #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 Dcollected_cookies_views.cc43 #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 Dprofile_reset_bubble_view.cc33 #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 Dtable_view.cc17 #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 Dmedia_galleries_dialog_views.cc23 #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 Dfocus_traversal_unittest.cc20 #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 Dview.h982 virtual int GetPageScrollIncrement(ScrollView* scroll_view,
984 virtual int GetLineScrollIncrement(ScrollView* scroll_view,
H A Dview_unittest.cc26 #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 Dview.cc1354 int View::GetPageScrollIncrement(ScrollView* scroll_view, argument
1359 int View::GetLineScrollIncrement(ScrollView* scroll_view, argument
/external/chromium_org/ui/views/controls/tree/
H A Dtree_view.cc22 #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 Dwidget_unittest.cc1439 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 Dmenu_controller.cc1403 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()) {

Completed in 209 milliseconds