Home
last modified time | relevance | path

Searched refs:delta_x_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/content/browser/web_contents/aura/
Dwindow_slider.cc54 delta_x_(0.f), in WindowSlider()
97 if (delta_x_ < 0) in SetupSliderLayer()
111 delta_x_ += x_offset; in UpdateForScroll()
116 float old_delta = delta_x_; in UpdateForScroll()
117 delta_x_ += x_offset; in UpdateForScroll()
118 if (fabs(delta_x_) < active_start_threshold_ && !slider_.get()) in UpdateForScroll()
121 if ((old_delta < 0 && delta_x_ > 0) || in UpdateForScroll()
122 (old_delta > 0 && delta_x_ < 0)) { in UpdateForScroll()
131 slider_.reset(delta_x_ < 0 ? delegate_->CreateFrontLayer() : in UpdateForScroll()
138 if (delta_x_ <= -active_start_threshold_) { in UpdateForScroll()
[all …]
Dwindow_slider.h135 float delta_x_; variable
/external/chromium_org/ui/gfx/android/
Dscroller.cc175 delta_x_(0), in Scroller()
309 curr_x_ = start_x_ + x * delta_x_; in ComputeScrollOffset()
321 curr_x_ = start_x_ + distance_coef * delta_x_; in ComputeScrollOffset()
402 return !finished_ && Signum(xvel) == Signum(delta_x_) && in IsScrollingInDirection()
407 delta_x_ = final_x_ - start_x_; in RecomputeDeltas()
410 const float hyp = std::sqrt(delta_x_ * delta_x_ + delta_y_ * delta_y_); in RecomputeDeltas()
412 delta_x_norm_ = delta_x_ / hyp; in RecomputeDeltas()
Dscroller.h130 float delta_x_; variable
/external/chromium_org/cc/base/
Dtiling_data.cc463 delta_x_(1), in SpiralDifferenceIterator()
568 index_x_ += delta_x_; in operator ++()
602 index_x_ += steps_to_take * delta_x_; in operator ++()
634 index_x_ += steps_to_take * delta_x_; in operator ++()
656 delta_y_ = -delta_x_; in switch_direction()
657 delta_x_ = new_delta_x_; in switch_direction()
Dtiling_data.h178 int delta_x_; variable
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_aura_unittest.cc104 delta_x_(0.f), in TestOverscrollDelegate()
111 float delta_x() const { return delta_x_; } in delta_x()
117 delta_x_ = delta_y_ = 0.f; in Reset()
127 delta_x_ = delta_x; in OnOverscrollUpdate()
142 delta_x_ = delta_y_ = 0.f; in OnOverscrollModeChange()
148 float delta_x_; member in content::__anon7b485c170111::TestOverscrollDelegate