Searched refs:delta_x (Results 1 - 25 of 73) sorted by relevance

123

/external/chromium_org/ui/events/
H A Dgesture_event_details.cc20 float delta_x,
27 data.scroll_begin.x_hint = delta_x;
32 data.scroll_update.x = delta_x;
37 data.fling_velocity.x = delta_x;
42 data.first_finger_enclosing_rectangle.width = delta_x;
47 data.swipe.left = delta_x < 0;
48 data.swipe.right = delta_x > 0;
19 GestureEventDetails(ui::EventType type, float delta_x, float delta_y) argument
H A Dgesture_event_details.h20 GestureEventDetails(EventType type, float delta_x, float delta_y);
/external/chromium_org/ash/wm/
H A Dwindow_resizer.h82 void AdjustDeltaForTouchResize(int* delta_x, int* delta_y);
86 gfx::Point GetOriginForDrag(int delta_x, int delta_y);
89 gfx::Size GetSizeForDrag(int* delta_x, int* delta_y);
92 int GetWidthForDrag(int min_width, int* delta_x);
H A Dwindow_resizer.cc127 int delta_x = location.x() - details().initial_location_in_parent.x(); local
130 AdjustDeltaForTouchResize(&delta_x, &delta_y);
135 gfx::Size size = GetSizeForDrag(&delta_x, &delta_y);
136 gfx::Point origin = GetOriginForDrag(delta_x, delta_y);
248 void WindowResizer::AdjustDeltaForTouchResize(int* delta_x, int* delta_y) { argument
255 *delta_x += details().initial_location_in_parent.x() -
258 *delta_x += details().initial_location_in_parent.x() -
273 gfx::Point WindowResizer::GetOriginForDrag(int delta_x, int delta_y) { argument
279 origin.Offset(delta_x, 0);
286 gfx::Size WindowResizer::GetSizeForDrag(int* delta_x, in argument
298 GetWidthForDrag(int min_width, int* delta_x) argument
[all...]
/external/chromium_org/content/browser/renderer_host/
H A Doverscroll_controller_delegate.h28 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) = 0;
H A Doverscroll_controller.h96 bool ProcessOverscroll(float delta_x,
/external/chromium_org/content/browser/web_contents/aura/
H A Dgesture_nav_simple.h35 bool ApplyEffectsForDelta(float delta_x);
40 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
H A Dgesture_nav_simple.cc151 bool GestureNavSimple::ApplyEffectsForDelta(float delta_x) { argument
155 CHECK_GE(delta_x, 0.f);
156 double complete = std::min(1.f, delta_x / completion_threshold_);
170 bool GestureNavSimple::OnOverscrollUpdate(float delta_x, float delta_y) { argument
171 return ApplyEffectsForDelta(std::abs(delta_x) + 50.f);
/external/chromium_org/ppapi/c/
H A Dpp_input_event.h159 float delta_x; member in struct:PP_InputEvent_Wheel
184 * as for <code>delta_x</code> and <code>delta_y</code>.
202 * Indicates if the scroll <code>delta_x</code>/<code>delta_y</code>
/external/ceres-solver/internal/ceres/
H A Dlow_rank_inverse_hessian.cc88 bool LowRankInverseHessian::Update(const Vector& delta_x, argument
90 const double delta_x_dot_delta_gradient = delta_x.dot(delta_gradient);
111 delta_x_history_.col(next) = delta_x;
H A Dlow_rank_inverse_hessian.h78 // Update the low rank approximation. delta_x is the change in the
80 // gradient. The update copies the delta_x and delta_gradient
81 // vectors, and gets rid of the oldest delta_x and delta_gradient
84 bool Update(const Vector& delta_x, const Vector& delta_gradient);
H A Dline_search_direction.cc174 const Vector delta_x = previous.search_direction * previous.step_size; local
176 const double delta_x_dot_delta_gradient = delta_x.dot(delta_gradient);
266 // using: y_k = delta_gradient, s_k = delta_x:
298 Matrix A = delta_x * (delta_gradient.transpose() *
309 rankUpdate(delta_x, delta_x_times_delta_x_transpose_scale_factor);
/external/chromium_org/cc/test/
H A Danimation_test_common.cc87 int delta_x,
91 start_operations.AppendTranslate(delta_x, delta_y, 0.0);
95 operations.AppendTranslate(delta_x, delta_y, 0.0);
264 int delta_x,
268 delta_x,
306 int delta_x,
308 return AddAnimatedTransform(layer, duration, delta_x, delta_y);
313 int delta_x,
317 delta_x,
85 AddAnimatedTransform(Target* target, double duration, int delta_x, int delta_y) argument
262 AddAnimatedTransformToController(LayerAnimationController* controller, double duration, int delta_x, int delta_y) argument
304 AddAnimatedTransformToLayer(Layer* layer, double duration, int delta_x, int delta_y) argument
311 AddAnimatedTransformToLayer(LayerImpl* layer, double duration, int delta_x, int delta_y) argument
H A Danimation_test_common.h130 int delta_x,
152 int delta_x,
157 int delta_x,
/external/chromium_org/ppapi/api/
H A Dpp_input_event.idl150 float_t delta_x;
177 * as for <code>delta_x</code> and <code>delta_y</code>.
197 * Indicates if the scroll <code>delta_x</code>/<code>delta_y</code>
/external/chromium_org/chrome/browser/ui/panels/
H A Ddocked_panel_drag_handler.cc26 int delta_x = new_bounds.x() - panel->GetBounds().x(); local
36 if (delta_x) {
38 if (delta_x > 0)
/external/chromium_org/ui/events/gestures/
H A Dgesture_provider_aura.cc133 const float delta_x = previous_tap.x - current_tap.x; local
135 return (delta_x * delta_x + delta_y * delta_y < double_tap_slop_square);
/external/chromium_org/ui/gfx/geometry/
H A Dpoint_base.h31 void Offset(Type delta_x, Type delta_y) { argument
32 x_ += delta_x;
/external/qemu/distrib/sdl-1.2.15/test/
H A Dtestgl.c306 static int delta_x = 1; local
342 x += delta_x;
345 delta_x = -delta_x;
349 delta_x = -delta_x;
379 static int delta_x = 1; local
423 x += delta_x;
426 delta_x = -delta_x;
[all...]
/external/chromium_org/remoting/client/plugin/
H A Dpepper_input_handler.cc158 int delta_x = static_cast<int>(wheel_delta_x_); local
160 if (delta_x != 0 || delta_y != 0) {
161 wheel_delta_x_ -= delta_x;
164 mouse_event.set_wheel_delta_x(delta_x);
/external/chromium_org/ui/events/gesture_detection/
H A Dgesture_detector.cc333 const float delta_x = focus_x - down_focus_x_; local
335 const float distance_square = delta_x * delta_x + delta_y * delta_y;
521 const float delta_x = first_down.GetX() - second_down.GetX();
523 return (delta_x * delta_x + delta_y * delta_y < double_tap_slop_square_);
/external/chromium_org/athena/util/
H A Ddrag_handle_unittest.cc61 float delta_x) {
69 : ui::GestureEventDetails(type, delta_x, 0));
59 CreateGestureEvent(ui::EventType type, float x, float delta_x) argument
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura.h91 gfx::Vector2d GetTranslationForOverscroll(int delta_x, int delta_y);
98 // overscroll (|delta_x|, in pixels).
99 void UpdateOverscrollWindowBrightness(float delta_x);
148 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
/external/chromium_org/cc/output/
H A Ddirect_renderer.cc26 float delta_x = right - left; local
29 if (!delta_x || !delta_y)
31 proj.matrix().set(0, 0, 2.0f / delta_x);
32 proj.matrix().set(0, 3, -(right + left) / delta_x);
/external/chromium_org/mojo/examples/sample_app/
H A Dspinning_cube.cc203 float delta_x = right - left; local
215 frust.m[0][0] = 2.0f * near_z / delta_x;
221 frust.m[2][0] = (right + left) / delta_x;

Completed in 2037 milliseconds

123