Searched refs:scroll_offset_ (Results 1 - 7 of 7) sorted by relevance

/external/chromium/chrome/browser/ui/touch/tabs/
H A Dtouch_tab_strip.cc30 scroll_offset_(0),
141 int x = tab_x + scroll_offset_;
202 initial_scroll_offset_ = scroll_offset_;
243 scroll_offset_ = initial_scroll_offset_ + delta_x;
250 if (scroll_offset_ > max_scroll_offset) {
252 scroll_offset_ = max_scroll_offset
253 + std::min((scroll_offset_ - max_scroll_offset) / 4,
256 scroll_offset_ = max_scroll_offset;
259 if (scroll_offset_ < min_scroll_offset_) {
261 scroll_offset_
[all...]
H A Dtouch_tab_strip.h117 int scroll_offset_; member in class:TouchTabStrip
128 // The minimum value that |scroll_offset_| can have. Based on the total
/external/chromium_org/ash/launcher/
H A Doverflow_bubble.cc87 gfx::Vector2d scroll_offset_; member in class:ash::internal::__anon3521::OverflowBubbleView
126 std::max(0, scroll_offset_.x() + x_offset));
127 scroll_offset_.set_x(x);
135 std::max(0, scroll_offset_.y() + y_offset));
136 scroll_offset_.set_y(y);
163 gfx::PointAtOffsetFromOrigin(-scroll_offset_), GetContentsSize()));
/external/chromium_org/cc/layers/
H A Dlayer_impl.cc264 gfx::Vector2dF min_delta = -scroll_offset_;
265 gfx::Vector2dF max_delta = max_scroll_offset_ - scroll_offset_;
290 scroll_offset_ += sent_scroll_delta_;
422 layer->SetScrollOffset(scroll_offset_);
828 gfx::Vector2dF current_offset = scroll_offset_ + ScrollDelta();
868 scroll_offset_delegate_->GetTotalScrollOffset() - scroll_offset_;
884 if (scroll_offset_ == scroll_offset)
887 scroll_offset_ = scroll_offset;
898 return scroll_offset_delegate_->GetTotalScrollOffset() - scroll_offset_;
921 scroll_offset_
[all...]
H A Dlayer.cc564 if (scroll_offset_ == scroll_offset)
566 scroll_offset_ = scroll_offset;
575 if (scroll_offset_ == scroll_offset)
577 scroll_offset_ = scroll_offset;
779 layer->SetScrollOffset(scroll_offset_);
H A Dlayer.h206 gfx::Vector2d scroll_offset() const { return scroll_offset_; }
479 gfx::Vector2d scroll_offset_; member in class:cc::Layer
H A Dlayer_impl.h315 gfx::Vector2d scroll_offset() const { return scroll_offset_; }
493 gfx::Vector2d scroll_offset_; member in class:cc::LayerImpl

Completed in 326 milliseconds