Searched refs:x_diff (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/ui/events/gesture_detection/
H A Dsnap_scroll_controller.cc85 int x_diff = static_cast<int>(std::abs(event.GetX() - first_touch_x_)); local
87 if (x_diff > kSnapBound && y_diff < kSnapBound) {
89 } else if (x_diff < kSnapBound && y_diff > kSnapBound) {
/external/chromium_org/ash/magnifier/
H A Dmagnification_controller.cc330 int x_diff = 0; local
334 x_diff = mouse.x() - (left + margin);
338 x_diff = mouse.x() - (right - margin);
341 x = left + x_diff;
365 if (x_diff != 0 || y_diff != 0)

Completed in 101 milliseconds