Home
last modified time | relevance | path

Searched refs:thumb_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/ui/views/controls/
Dslider.cc119 const int thumb_x = value * (content.width() - thumb_->width()); in PrepareForMove()
123 if (candidate_x >= 0 && candidate_x < thumb_->width()) in PrepareForMove()
126 initial_button_offset_.set_x(thumb_->width() / 2); in PrepareForMove()
129 const int thumb_y = (1.0 - value) * (content.height() - thumb_->height()); in PrepareForMove()
131 if (candidate_y >= 0 && candidate_y < thumb_->height()) in PrepareForMove()
134 initial_button_offset_.set_y(thumb_->height() / 2); in PrepareForMove()
145 (width() - inset.width() - thumb_->width()), in MoveButtonTo()
150 (height() - thumb_->height()), in MoveButtonTo()
158 thumb_ = rb.GetImageNamed(IDR_SLIDER_ACTIVE_THUMB).ToImageSkia(); in UpdateState()
162 thumb_ = rb.GetImageNamed(IDR_SLIDER_DISABLED_THUMB).ToImageSkia(); in UpdateState()
[all …]
Dslider.h118 const gfx::ImageSkia* thumb_; variable
/external/chromium_org/ui/views/controls/scrollbar/
Dbase_scroll_bar.cc40 thumb_(thumb), in BaseScrollBar()
49 AddChildView(thumb_); in BaseScrollBar()
52 thumb_->set_context_menu_controller(this); in BaseScrollBar()
403 thumb_->SetSize(thumb_size); in Update()
406 thumb_->SetPosition(thumb_position); in Update()
410 return thumb_->GetPosition(); in GetPosition()
417 return thumb_; in GetThumb()
436 return thumb_->GetSize(); in GetThumbSizeForTest()
441 gfx::Rect thumb_bounds = thumb_->bounds(); in ProcessPressEvent()
471 thumb_->SetPosition(CalculateThumbPosition(contents_scroll_offset_)); in ScrollContentsToOffset()
[all …]
Dbase_scroll_bar.h149 BaseScrollBarThumb* thumb_; variable