Searched refs:GetMaxPosition (Results 1 – 4 of 4) sorted by relevance
62 offset = GetMaxPosition(); in ScrollByAmount()70 offset = std::min(GetMaxPosition(), offset); in ScrollByAmount()78 offset = std::min(GetMaxPosition(), offset); in ScrollByAmount()96 } else if (contents_scroll_offset_ > GetMaxPosition()) { in ScrollToThumbPosition()97 contents_scroll_offset_ = GetMaxPosition(); in ScrollToThumbPosition()108 } else if (contents_scroll_offset_ > GetMaxPosition()) { in ScrollByContentsOffset()109 contents_scroll_offset_ = GetMaxPosition(); in ScrollByContentsOffset()
111 EXPECT_EQ(scrollbar_->GetMaxPosition(), 100); in TEST_F()150 EXPECT_EQ(99, scrollbar_->GetMaxPosition()); in TEST_F()
26 int ScrollBar::GetMaxPosition() const { in GetMaxPosition() function in views::ScrollBar
78 int GetMaxPosition() const;