Searched refs:thumb_bounds (Results 1 - 4 of 4) sorted by relevance

/external/chromium_org/ui/views/controls/scrollbar/
H A Dbase_scroll_bar_thumb.cc35 gfx::Rect thumb_bounds = bounds(); local
37 thumb_bounds.set_width(size);
39 thumb_bounds.set_height(size);
41 SetBoundsRect(thumb_bounds);
51 gfx::Rect thumb_bounds = bounds(); local
54 thumb_bounds.set_x(track_bounds.x() + position);
56 thumb_bounds.set_y(track_bounds.y() + position);
58 SetBoundsRect(thumb_bounds);
H A Dkennedy_scroll_bar.cc85 gfx::Rect thumb_bounds = GetTrackBounds(); local
88 thumb_bounds.set_x(thumb->x());
89 thumb_bounds.set_width(thumb->width());
91 thumb_bounds.set_y(thumb->y());
92 thumb_bounds.set_height(thumb->height());
94 thumb->SetBoundsRect(thumb_bounds);
H A Doverlay_scroll_bar.cc146 gfx::Rect thumb_bounds = GetTrackBounds(); local
149 thumb_bounds.set_x(thumb->x());
150 thumb_bounds.set_width(thumb->width());
152 thumb_bounds.set_y(thumb->y());
153 thumb_bounds.set_height(thumb->height());
155 thumb->SetBoundsRect(thumb_bounds);
H A Dbase_scroll_bar.cc456 gfx::Rect thumb_bounds = thumb_->bounds(); local
458 if (GetMirroredXInView(event.x()) < thumb_bounds.x()) {
460 } else if (GetMirroredXInView(event.x()) > thumb_bounds.right()) {
464 if (event.y() < thumb_bounds.y()) {
466 } else if (event.y() > thumb_bounds.bottom()) {

Completed in 54 milliseconds