Searched refs:thumb_bounds (Results 1 – 4 of 4) sorted by relevance
35 gfx::Rect thumb_bounds = bounds(); in SetSize() local37 thumb_bounds.set_width(size); in SetSize()39 thumb_bounds.set_height(size); in SetSize()41 SetBoundsRect(thumb_bounds); in SetSize()51 gfx::Rect thumb_bounds = bounds(); in SetPosition() local54 thumb_bounds.set_x(track_bounds.x() + position); in SetPosition()56 thumb_bounds.set_y(track_bounds.y() + position); in SetPosition()58 SetBoundsRect(thumb_bounds); in SetPosition()
85 gfx::Rect thumb_bounds = GetTrackBounds(); in Layout() local88 thumb_bounds.set_x(thumb->x()); in Layout()89 thumb_bounds.set_width(thumb->width()); in Layout()91 thumb_bounds.set_y(thumb->y()); in Layout()92 thumb_bounds.set_height(thumb->height()); in Layout()94 thumb->SetBoundsRect(thumb_bounds); in Layout()
148 gfx::Rect thumb_bounds = GetTrackBounds(); in Layout() local151 thumb_bounds.set_x(thumb->x()); in Layout()152 thumb_bounds.set_width(thumb->width()); in Layout()154 thumb_bounds.set_y(thumb->y()); in Layout()155 thumb_bounds.set_height(thumb->height()); in Layout()157 thumb->SetBoundsRect(thumb_bounds); in Layout()
441 gfx::Rect thumb_bounds = thumb_->bounds(); in ProcessPressEvent() local443 if (GetMirroredXInView(event.x()) < thumb_bounds.x()) { in ProcessPressEvent()445 } else if (GetMirroredXInView(event.x()) > thumb_bounds.right()) { in ProcessPressEvent()449 if (event.y() < thumb_bounds.y()) { in ProcessPressEvent()451 } else if (event.y() > thumb_bounds.bottom()) { in ProcessPressEvent()