Home
last modified time | relevance | path

Searched refs:scroll_y_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ash/wm/gestures/
Doverview_gesture_handler.cc35 scroll_y_(0) { in OverviewGestureHandler()
45 scroll_x_ = scroll_y_ = 0; in ProcessScrollEvent()
50 scroll_y_ += event.y_offset(); in ProcessScrollEvent()
53 if (std::fabs(scroll_x_) >= std::fabs(scroll_y_)) { in ProcessScrollEvent()
54 scroll_x_ = scroll_y_ = 0; in ProcessScrollEvent()
62 if (scroll_y_ < 0) in ProcessScrollEvent()
63 scroll_x_ = scroll_y_ = 0; in ProcessScrollEvent()
64 if (scroll_y_ < kSwipeThresholdPixels) in ProcessScrollEvent()
67 if (scroll_y_ > 0) in ProcessScrollEvent()
68 scroll_x_ = scroll_y_ = 0; in ProcessScrollEvent()
[all …]
Doverview_gesture_handler.h42 float scroll_y_; variable
/external/chromium_org/ui/aura/gestures/
Dgesture_recognizer_unittest.cc91 scroll_y_(0), in GestureEventConsumeDelegate()
131 scroll_y_ = 0; in Reset()
180 float scroll_y() const { return scroll_y_; } in scroll_y()
232 scroll_y_ += gesture->details().scroll_y(); in OnGestureEvent()
317 float scroll_y_; member in aura::test::__anon1840509e0111::GestureEventConsumeDelegate