Searched refs:GetTrackSize (Results 1 – 2 of 2) sorted by relevance
402 int thumb_size = static_cast<int>(ratio * GetTrackSize()); in Update()474 int BaseScrollBar::GetTrackSize() const { in GetTrackSize() function in views::BaseScrollBar484 int track_size = GetTrackSize(); in CalculateThumbPosition()485 return track_size - (viewport_size_ * GetTrackSize() / contents_size_); in CalculateThumbPosition()487 return (contents_scroll_offset * GetTrackSize()) / contents_size_; in CalculateThumbPosition()494 return (thumb_position * contents_size_) / GetTrackSize(); in CalculateContentsOffset()
133 int GetTrackSize() const;