Home
last modified time | relevance | path

Searched refs:thumb_x (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/views/controls/scrollbar/
Dbase_scroll_bar_thumb.cc101 int thumb_x = event.x() - mouse_offset_; in OnMouseDragged() local
103 thumb_x *= -1; in OnMouseDragged()
104 scroll_bar_->ScrollToThumbPosition(GetPosition() + thumb_x, false); in OnMouseDragged()
/external/chromium_org/ui/views/controls/
Dslider.cc119 const int thumb_x = value * (content.width() - thumb_->width()); in PrepareForMove() local
122 point.x() - inset.left()) - thumb_x; in PrepareForMove()
260 int thumb_x = content.width() / 2 - thumb_->width() / 2; in OnPaint() local
261 canvas->DrawImageInt(*thumb_, thumb_x, button_cy); in OnPaint()