Home
last modified time | relevance | path

Searched refs:delta_x (Results 1 – 25 of 75) sorted by relevance

123

/external/chromium_org/ui/events/
Dgesture_event_details.cc20 float delta_x, in GestureEventDetails() argument
27 data.scroll_begin.x_hint = delta_x; in GestureEventDetails()
32 data.scroll_update.x = delta_x; in GestureEventDetails()
37 data.fling_velocity.x = delta_x; in GestureEventDetails()
42 data.first_finger_enclosing_rectangle.width = delta_x; in GestureEventDetails()
47 data.swipe.left = delta_x < 0; in GestureEventDetails()
48 data.swipe.right = delta_x > 0; in GestureEventDetails()
/external/chromium_org/ash/wm/
Dwindow_resizer.cc127 int delta_x = location.x() - details().initial_location_in_parent.x(); in CalculateBoundsForDrag() local
130 AdjustDeltaForTouchResize(&delta_x, &delta_y); in CalculateBoundsForDrag()
135 gfx::Size size = GetSizeForDrag(&delta_x, &delta_y); in CalculateBoundsForDrag()
136 gfx::Point origin = GetOriginForDrag(delta_x, delta_y); in CalculateBoundsForDrag()
248 void WindowResizer::AdjustDeltaForTouchResize(int* delta_x, int* delta_y) { in AdjustDeltaForTouchResize() argument
255 *delta_x += details().initial_location_in_parent.x() - in AdjustDeltaForTouchResize()
258 *delta_x += details().initial_location_in_parent.x() - in AdjustDeltaForTouchResize()
273 gfx::Point WindowResizer::GetOriginForDrag(int delta_x, int delta_y) { in GetOriginForDrag() argument
279 origin.Offset(delta_x, 0); in GetOriginForDrag()
286 gfx::Size WindowResizer::GetSizeForDrag(int* delta_x, int* delta_y) { in GetSizeForDrag() argument
[all …]
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);
/external/chromium_org/cc/test/
Danimation_test_common.cc87 int delta_x, in AddAnimatedTransform() argument
91 start_operations.AppendTranslate(delta_x, delta_y, 0.0); in AddAnimatedTransform()
95 operations.AppendTranslate(delta_x, delta_y, 0.0); in AddAnimatedTransform()
264 int delta_x, in AddAnimatedTransformToController() argument
268 delta_x, in AddAnimatedTransformToController()
306 int delta_x, in AddAnimatedTransformToLayer() argument
308 return AddAnimatedTransform(layer, duration, delta_x, delta_y); in AddAnimatedTransformToLayer()
313 int delta_x, in AddAnimatedTransformToLayer() argument
317 delta_x, in AddAnimatedTransformToLayer()
Danimation_test_common.h130 int delta_x,
152 int delta_x,
157 int delta_x,
/external/qemu/distrib/sdl-1.2.15/test/
Dtestgl.c306 static int delta_x = 1; in DrawLogoTexture() local
342 x += delta_x; in DrawLogoTexture()
345 delta_x = -delta_x; in DrawLogoTexture()
349 delta_x = -delta_x; in DrawLogoTexture()
379 static int delta_x = 1; in DrawLogoBlit() local
423 x += delta_x; in DrawLogoBlit()
426 delta_x = -delta_x; in DrawLogoBlit()
430 delta_x = -delta_x; in DrawLogoBlit()
/external/ceres-solver/internal/ceres/
Dlow_rank_inverse_hessian.cc88 bool LowRankInverseHessian::Update(const Vector& delta_x, in Update() argument
90 const double delta_x_dot_delta_gradient = delta_x.dot(delta_gradient); in Update()
111 delta_x_history_.col(next) = delta_x; in Update()
Dline_search_direction.cc174 const Vector delta_x = previous.search_direction * previous.step_size; in NextDirection() local
176 const double delta_x_dot_delta_gradient = delta_x.dot(delta_gradient); in NextDirection()
298 Matrix A = delta_x * (delta_gradient.transpose() * in NextDirection()
309 rankUpdate(delta_x, delta_x_times_delta_x_transpose_scale_factor); in NextDirection()
Dlow_rank_inverse_hessian.h84 bool Update(const Vector& delta_x, const Vector& delta_gradient);
/external/chromium_org/content/browser/web_contents/aura/
Dgesture_nav_simple.cc151 bool GestureNavSimple::ApplyEffectsForDelta(float delta_x) { in ApplyEffectsForDelta() argument
155 CHECK_GE(delta_x, 0.f); in ApplyEffectsForDelta()
156 double complete = std::min(1.f, delta_x / completion_threshold_); in ApplyEffectsForDelta()
170 bool GestureNavSimple::OnOverscrollUpdate(float delta_x, float delta_y) { in OnOverscrollUpdate() argument
171 return ApplyEffectsForDelta(std::abs(delta_x) + 50.f); in OnOverscrollUpdate()
Dgesture_nav_simple.h35 bool ApplyEffectsForDelta(float delta_x);
40 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
/external/chromium_org/chrome/browser/ui/panels/
Ddocked_panel_drag_handler.cc26 int delta_x = new_bounds.x() - panel->GetBounds().x(); in HandleDrag() local
36 if (delta_x) { in HandleDrag()
38 if (delta_x > 0) in HandleDrag()
/external/chromium_org/ui/events/gestures/
Dgesture_provider_aura.cc133 const float delta_x = previous_tap.x - current_tap.x; in IsConsideredDoubleTap() local
135 return (delta_x * delta_x + delta_y * delta_y < double_tap_slop_square); in IsConsideredDoubleTap()
/external/chromium_org/remoting/client/plugin/
Dpepper_input_handler.cc158 int delta_x = static_cast<int>(wheel_delta_x_); in HandleInputEvent() local
160 if (delta_x != 0 || delta_y != 0) { in HandleInputEvent()
161 wheel_delta_x_ -= delta_x; in HandleInputEvent()
164 mouse_event.set_wheel_delta_x(delta_x); in HandleInputEvent()
/external/chromium_org/ui/gfx/geometry/
Dpoint_base.h31 void Offset(Type delta_x, Type delta_y) { in Offset() argument
32 x_ += delta_x; in Offset()
/external/chromium_org/ui/events/gesture_detection/
Dgesture_detector.cc333 const float delta_x = focus_x - down_focus_x_; in OnTouchEvent() local
335 const float distance_square = delta_x * delta_x + delta_y * delta_y; in OnTouchEvent()
521 const float delta_x = first_down.GetX() - second_down.GetX(); in IsConsideredDoubleTap() local
523 return (delta_x * delta_x + delta_y * delta_y < double_tap_slop_square_); in IsConsideredDoubleTap()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura.h91 gfx::Vector2d GetTranslationForOverscroll(int delta_x, int delta_y);
99 void UpdateOverscrollWindowBrightness(float delta_x);
148 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE;
/external/chromium_org/athena/util/
Ddrag_handle_unittest.cc61 float delta_x) { in CreateGestureEvent() argument
69 : ui::GestureEventDetails(type, delta_x, 0)); in CreateGestureEvent()
/external/opencv/cvaux/src/
Dcvscanlines.cpp1130 float delta_x; in icvBuildScanlineLeft() local
1156 delta_x = (l_start_end[2] - l_start_end[0]) / height; in icvBuildScanlineLeft()
1158 l_start_end[0] += delta_x; in icvBuildScanlineLeft()
1159 l_start_end[2] -= delta_x; in icvBuildScanlineLeft()
1161 delta_x = (l_start_end[2] - l_start_end[0]) / height; in icvBuildScanlineLeft()
1172 l_point[0] = l_start_end[0] + i * delta_x; in icvBuildScanlineLeft()
1216 float delta_x; in icvBuildScanlineRight() local
1241 delta_x = (r_start_end[2] - r_start_end[0]) / height; in icvBuildScanlineRight()
1243 r_start_end[0] += delta_x; in icvBuildScanlineRight()
1244 r_start_end[2] -= delta_x; in icvBuildScanlineRight()
[all …]
/external/chromium_org/content/browser/renderer_host/
Doverscroll_controller_delegate.h28 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) = 0;
Drender_widget_host_view_aura_unittest.cc111 float delta_x() const { return delta_x_; } in delta_x() function in content::__anon7b485c170111::TestOverscrollDelegate
126 virtual bool OnOverscrollUpdate(float delta_x, float delta_y) OVERRIDE { in OnOverscrollUpdate() argument
127 delta_x_ = delta_x; in OnOverscrollUpdate()
1900 EXPECT_EQ(-31.f, overscroll_delegate()->delta_x()); in TEST_F()
2001 EXPECT_EQ(10.f, overscroll_delegate()->delta_x()); in TEST_F()
2028 EXPECT_EQ(-25.f, overscroll_delegate()->delta_x()); in TEST_F()
2061 EXPECT_EQ(10.f, overscroll_delegate()->delta_x()); in TEST_F()
2103 EXPECT_EQ(10.f, overscroll_delegate()->delta_x()); in TEST_F()
2183 EXPECT_EQ(5.f, overscroll_delegate()->delta_x()); in TEST_F()
2195 EXPECT_EQ(15.f, overscroll_delegate()->delta_x()); in TEST_F()
[all …]
/external/chromium_org/ppapi/c/
Dpp_input_event.h159 float delta_x; member
/external/chromium_org/cc/output/
Ddirect_renderer.cc26 float delta_x = right - left; in OrthoProjectionMatrix() local
29 if (!delta_x || !delta_y) in OrthoProjectionMatrix()
31 proj.matrix().set(0, 0, 2.0f / delta_x); in OrthoProjectionMatrix()
32 proj.matrix().set(0, 3, -(right + left) / delta_x); in OrthoProjectionMatrix()
/external/chromium_org/ppapi/examples/compositor/
Dspinning_cube.cc187 float delta_x = right - left; in Frustum() local
199 frust.m[0][0] = 2.0f * near_z / delta_x; in Frustum()
205 frust.m[2][0] = (right + left) / delta_x; in Frustum()
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
Dspinning_cube.cc203 float delta_x = right - left; in Frustum() local
215 frust.m[0][0] = 2.0f * near_z / delta_x; in Frustum()
221 frust.m[2][0] = (right + left) / delta_x; in Frustum()

123