Lines Matching refs:delta_x
191 int delta_x = location.x() - details.initial_location_in_parent.x();
194 AdjustDeltaForTouchResize(details, &delta_x, &delta_y);
199 gfx::Size size = GetSizeForDrag(details, &delta_x, &delta_y);
200 gfx::Point origin = GetOriginForDrag(details, delta_x, delta_y);
295 int* delta_x,
303 *delta_x += details.initial_location_in_parent.x() -
306 *delta_x += details.initial_location_in_parent.x() -
323 int delta_x,
330 origin.Offset(delta_x, 0);
339 int* delta_x,
344 size.SetSize(GetWidthForDrag(details, min_size.width(), delta_x),
355 int* delta_x) {
358 // Along the right edge, positive delta_x increases the window size.
360 width += x_multiplier * (*delta_x);
362 // Ensure we don't shrink past the minimum width and clamp delta_x
366 *delta_x = -x_multiplier * (details.initial_bounds_in_parent.width() -
378 *delta_x = -x_multiplier * (details.initial_bounds_in_parent.width() -