Searched refs:y_diff (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/ui/events/gesture_detection/
H A Dsnap_scroll_controller.cc86 int y_diff = static_cast<int>(std::abs(event.GetY() - first_touch_y_)); 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.cc346 int y_diff = 0; local
349 y_diff = mouse.y() - (top + margin);
353 y_diff = mouse.y() - (bottom - margin);
356 y = top + y_diff;
365 if (x_diff != 0 || y_diff != 0)
/external/chromium_org/ui/app_list/views/
H A Dapps_grid_view.cc1285 const int y_diff = target.y() - current.y(); local
1286 if (visible && y_diff && y_diff % GetTotalTileSize().height() == 0) {

Completed in 116 milliseconds