Searched refs:track_bounds (Results 1 – 3 of 3) sorted by relevance
222 gfx::Rect track_bounds(prefsize.width(), 0, new_width, prefsize.height()); in GetTrackBounds() local223 return track_bounds; in GetTrackBounds()227 gfx::Rect track_bounds(0, prefsize.height(), prefsize.width(), in GetTrackBounds() local229 return track_bounds; in GetTrackBounds()263 gfx::Rect track_bounds = GetTrackBounds(); in Layout() local279 if ((IsHorizontal() && (track_bounds.width() < thumb_prefsize.width()) || in Layout()280 (!IsHorizontal() && (track_bounds.height() < thumb_prefsize.height())))) { in Layout()292 gfx::Rect track_bounds = GetTrackBounds(); in OnPaint() local294 track_bounds.x(), track_bounds.y(), in OnPaint()295 track_bounds.width(), track_bounds.height()); in OnPaint()
52 gfx::Rect track_bounds = scroll_bar_->GetTrackBounds(); in SetPosition() local54 thumb_bounds.set_x(track_bounds.x() + position); in SetPosition()56 thumb_bounds.set_y(track_bounds.y() + position); in SetPosition()62 gfx::Rect track_bounds = scroll_bar_->GetTrackBounds(); in GetPosition() local64 return x() - track_bounds.x(); in GetPosition()65 return y() - track_bounds.y(); in GetPosition()
475 gfx::Rect track_bounds = GetTrackBounds(); in GetTrackSize() local476 return IsHorizontal() ? track_bounds.width() : track_bounds.height(); in GetTrackSize()