Home
last modified time | relevance | path

Searched refs:delta_y (Results 1 – 25 of 1649) sorted by relevance

12345678910>>...66

/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/input/
H A Dscroll_state_unittest.cc22 const float delta_y = 3.9f; in TEST_F() local
29 scroll_state_data.delta_y = delta_y; in TEST_F()
33 EXPECT_FLOAT_EQ(delta_y, scroll_state.delta_y()); in TEST_F()
38 EXPECT_FLOAT_EQ(delta_y, scroll_state.delta_y()); in TEST_F()
43 EXPECT_FLOAT_EQ(delta_y, scroll_state.delta_y()); in TEST_F()
48 EXPECT_FLOAT_EQ(delta_y - delta_y_to_consume, scroll_state.delta_y()); in TEST_F()
51 scroll_state.ConsumeDelta(scroll_state.delta_x(), scroll_state.delta_y()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/input/
H A Dscroll_state_unittest.cc22 const float delta_y = 3.9f; in TEST_F() local
29 scroll_state_data.delta_y = delta_y; in TEST_F()
33 EXPECT_FLOAT_EQ(delta_y, scroll_state.delta_y()); in TEST_F()
38 EXPECT_FLOAT_EQ(delta_y, scroll_state.delta_y()); in TEST_F()
43 EXPECT_FLOAT_EQ(delta_y, scroll_state.delta_y()); in TEST_F()
48 EXPECT_FLOAT_EQ(delta_y - delta_y_to_consume, scroll_state.delta_y()); in TEST_F()
51 scroll_state.ConsumeDelta(scroll_state.delta_x(), scroll_state.delta_y()); in TEST_F()
/dports/biology/garlic/garlic-1.6/
H A Dwrite_hints.c56 screen_y += delta_y; in WriteHints_()
80 screen_y += delta_y; in WriteHints_()
85 screen_y += delta_y; in WriteHints_()
90 screen_y += delta_y; in WriteHints_()
95 screen_y += delta_y; in WriteHints_()
100 screen_y += delta_y; in WriteHints_()
105 screen_y += delta_y; in WriteHints_()
115 screen_y += delta_y; in WriteHints_()
120 screen_y += delta_y; in WriteHints_()
125 screen_y += delta_y; in WriteHints_()
[all …]
H A Dwheel_bottom_view.c83 double angle, delta_x, delta_y; in WheelBottomView_() local
249 delta_y *= -1; in WheelBottomView_()
251 screen_y2 = screen_y1 + (int) delta_y; in WheelBottomView_()
260 delta_y *= -1; in WheelBottomView_()
276 delta_y *= -1; in WheelBottomView_()
376 delta_y *= -1; in WheelBottomView_()
385 delta_y *= -1; in WheelBottomView_()
396 delta_y *= -1; in WheelBottomView_()
407 delta_y *= -1; in WheelBottomView_()
418 delta_y *= -1; in WheelBottomView_()
[all …]
H A Dwheel_top_view.c83 double angle, delta_x, delta_y; in WheelTopView_() local
249 delta_y *= -1; in WheelTopView_()
251 screen_y2 = screen_y1 + (int) delta_y; in WheelTopView_()
260 delta_y *= -1; in WheelTopView_()
276 delta_y *= -1; in WheelTopView_()
376 delta_y *= -1; in WheelTopView_()
385 delta_y *= -1; in WheelTopView_()
396 delta_y *= -1; in WheelTopView_()
407 delta_y *= -1; in WheelTopView_()
418 delta_y *= -1; in WheelTopView_()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/nuvie/misc/
H A Du6_line_walker.cpp39 sint32 delta_y = end_y - start_y; in U6LineWalker() local
51 if (delta_y >= 0) { in U6LineWalker()
54 delta_y = -delta_y; in U6LineWalker()
58 if (delta_x < delta_y) { in U6LineWalker()
60 delta_x = delta_y; in U6LineWalker()
61 delta_y = tmp_var; in U6LineWalker()
69 line_counter = delta_y + delta_y - delta_x; in U6LineWalker()
70 line_inc[0] = delta_y + delta_y; in U6LineWalker()
71 line_inc[1] = (delta_y - delta_x) * 2; in U6LineWalker()
/dports/games/hinversi/hinversi-0.8.2/lib/
H A Dothello.c156 int delta_x, delta_y; in changeInDirection() local
157 delta_x = delta_y = 0; in changeInDirection()
161 case (DO): delta_y=0 ;delta_x=1 ; break; in changeInDirection()
163 case (RI): delta_y=1 ;delta_x=0 ; break; in changeInDirection()
167 case (DR): delta_y=1 ;delta_x=1 ; break; in changeInDirection()
173 y+=delta_y; in changeInDirection()
238 int delta_x, delta_y; in moveToDirection() local
239 delta_x = delta_y = 0; in moveToDirection()
243 case (DO): delta_y=0 ;delta_x=1 ; break; in moveToDirection()
253 y+=delta_y; in moveToDirection()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/geometry/include/pcl/geometry/
H A Dline_iterator.h176 int delta_y = y_end_ - y_start_; in init() local
179 int y_dir = ((delta_y > 0) ? 1 : -1); in init()
182 delta_y *= y_dir; in init()
184 if (delta_x >= delta_y) { in init()
186 error_max_ = delta_x - delta_y; in init()
193 error_plus_ = (delta_y * 2); in init()
196 error_max_ = delta_x - (delta_y * 2); in init()
203 error_plus_ = (delta_y * 2); in init()
208 error_max_ = delta_y - delta_x; in init()
214 error_minus_ = -(delta_y * 2); in init()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/events/gesture_detection/
H A Dsnap_scroll_controller_unittest.cc77 float delta_y = event.GetY(0); in TEST() local
78 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
84 delta_y = 10; in TEST()
85 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
91 delta_y = 10; in TEST()
92 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
116 float delta_y = event.GetY(0); in TEST() local
117 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
123 delta_y = 5; in TEST()
130 delta_y = 100; in TEST()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/events/gesture_detection/
H A Dsnap_scroll_controller_unittest.cc77 float delta_y = event.GetY(0); in TEST() local
78 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
84 delta_y = 10; in TEST()
85 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
91 delta_y = 10; in TEST()
92 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
116 float delta_y = event.GetY(0); in TEST() local
117 controller.UpdateSnapScrollMode(delta_x, delta_y); in TEST()
123 delta_y = 5; in TEST()
130 delta_y = 100; in TEST()
[all …]
/dports/databases/grass7/grass-7.8.6/lib/htmldriver/
H A Dpolygon.c59 int delta_x, delta_y; in html_polygon() local
84 delta_y = y[i] - y[i + 1]; in html_polygon()
85 if (delta_y < 0) in html_polygon()
86 delta_y = -delta_y; in html_polygon()
89 (delta_x <= html.MINIMUM_DIST && delta_y <= html.MINIMUM_DIST)) { in html_polygon()
103 delta_y = y[0] - y[n - 1]; in html_polygon()
104 if (delta_y < 0) in html_polygon()
105 delta_y = -delta_y; in html_polygon()
108 (delta_x <= html.MINIMUM_DIST && delta_y <= html.MINIMUM_DIST)) { in html_polygon()
137 delta_y = max_y - min_y; in html_polygon()
[all …]
/dports/science/mcstas-comps/mcstas-comps-2.5-src/share/
H A DESS_butterfly-geometry.c23 for (y0=-delta_y; y0<2*delta_y; y0+=2*delta_y) {
38 for (y0=-delta_y; y0<2*delta_y; y0+=2*delta_y) {
60 for (y0=-delta_y; y0<2*delta_y; y0+=2*delta_y) {
66 dashed_line(rC1_x, -delta_y, rC1_z, rC1_x, delta_y, rC1_z, 11);
67 dashed_line(rC2_x, -delta_y, rC2_z, rC2_x, delta_y, rC2_z, 11);
68 dashed_line(rC3_x, -delta_y, rC3_z, rC3_x, delta_y, rC3_z, 11);
69 dashed_line(rT1_x, -delta_y, rT1_z, rT1_x, delta_y, rT1_z, 11);
70 dashed_line(rT2_x, -delta_y, rT2_z, rT2_x, delta_y, rT2_z, 11);
71 dashed_line(rT3_x, -delta_y, rT3_z, rT3_x, delta_y, rT3_z, 11);
/dports/games/uqm/uqm-0.8.0/src/uqm/planets/
H A Dgentopo.c29 SIZE width, height, delta_y; in DeltaTopography() local
38 delta_y = (height - 1) << 1; in DeltaTopography()
63 if (LineDDA0.delta_x > delta_y) in DeltaTopography()
66 LineDDA0.error_term = -(delta_y >> 1); in DeltaTopography()
78 if (LineDDA1.delta_x > delta_y) in DeltaTopography()
81 LineDDA1.error_term = -(delta_y >> 1); in DeltaTopography()
166 if (delta_y >= LineDDA0.delta_x) in DeltaTopography()
172 LineDDA0.error_term -= delta_y; in DeltaTopography()
181 } while ((LineDDA0.error_term += delta_y) < 0); in DeltaTopography()
185 if (delta_y >= LineDDA1.delta_x) in DeltaTopography()
[all …]
/dports/games/uqm/uqm-0.8.0/src/uqm/ships/urquan/
H A Durquan.c207 SIZE delta_x, delta_y; in fighter_preprocess() local
213 delta_y = ElementPtr->life_span; in fighter_preprocess()
217 if (((delta_y & 1) || ElementPtr->hTarget in fighter_preprocess()
226 delta_y = eptr->current.location.y in fighter_preprocess()
230 delta_y = WRAP_DELTA_Y (delta_y); in fighter_preprocess()
238 if (delta_y < 0) in fighter_preprocess()
239 delta_y = -delta_y; in fighter_preprocess()
255 delta_y = eptr->current.location.y in fighter_preprocess()
259 delta_y = WRAP_DELTA_Y (delta_y); in fighter_preprocess()
264 && delta_x * delta_x + delta_y * delta_y < in fighter_preprocess()
[all …]
/dports/games/xboard/xboard-4.9.1/winboard/
H A Dwsnap.c135 int delta_y = 0; in OnMoving() local
146 AdjustToSnapPoint( snapData->y_grid, snapData->y_grid_len, lprc->top, &snap_size_y, &delta_y ); in OnMoving()
147 … AdjustToSnapPoint( snapData->y_grid, snapData->y_grid_len, lprc->bottom, &snap_size_y, &delta_y ); in OnMoving()
149 OffsetRect( lprc, delta_x, delta_y ); in OnMoving()
158 int delta_y = 0; in OnSizing() local
169 lprc->bottom += delta_y; side = 4; loc = lprc->bottom; in OnSizing()
173 lprc->bottom += delta_y; in OnSizing()
179 lprc->bottom += delta_y; in OnSizing()
193 lprc->top += delta_y; side = 3; loc = lprc->top; in OnSizing()
197 lprc->top += delta_y; in OnSizing()
[all …]
/dports/games/xboard-devel/xboard-f49e7e1/winboard/
H A Dwsnap.c135 int delta_y = 0; in OnMoving() local
146 AdjustToSnapPoint( snapData->y_grid, snapData->y_grid_len, lprc->top, &snap_size_y, &delta_y ); in OnMoving()
147 … AdjustToSnapPoint( snapData->y_grid, snapData->y_grid_len, lprc->bottom, &snap_size_y, &delta_y ); in OnMoving()
149 OffsetRect( lprc, delta_x, delta_y ); in OnMoving()
158 int delta_y = 0; in OnSizing() local
169 lprc->bottom += delta_y; side = 4; loc = lprc->bottom; in OnSizing()
173 lprc->bottom += delta_y; in OnSizing()
179 lprc->bottom += delta_y; in OnSizing()
193 lprc->top += delta_y; side = 3; loc = lprc->top; in OnSizing()
197 lprc->top += delta_y; in OnSizing()
[all …]
/dports/emulators/bochs/bochs-2.7/iodev/
H A Dbusmouse.cc358 ((bx_busm_c*)dev)->mouse_enq(delta_x, delta_y, delta_z, button_state); in mouse_enq_static()
366 if ((delta_y < -1) || (delta_y > 1)) in mouse_enq()
367 delta_y /= 2; in mouse_enq()
370 if (delta_y > 127) delta_y =127; in mouse_enq()
372 if (delta_y < -128) delta_y = -128; in mouse_enq()
375 BX_BUSM_THIS mouse_delayed_dy -= delta_y; in mouse_enq()
405 int delta_x, delta_y; in update_mouse_data() local
419 delta_y = 127; in update_mouse_data()
422 delta_y = -128; in update_mouse_data()
425 delta_y = BX_BUSM_THIS mouse_delayed_dy; in update_mouse_data()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/vr/elements/
H A Dscrollable_element_unittest.cc16 std::unique_ptr<InputEvent> CreateScrollUpdate(float delta_x, float delta_y) { in CreateScrollUpdate() argument
19 gesture->scroll_data.delta_y = delta_y; in CreateScrollUpdate()
38 float delta_y; in TEST() member
47 CreateScrollUpdate(test_cases[i].delta_x, test_cases[i].delta_y), {}); in TEST()
66 float delta_y; in TEST() member
73 CreateScrollUpdate(test_cases[i].delta_x, test_cases[i].delta_y), {}); in TEST()
91 float delta_y; in TEST() member
100 CreateScrollUpdate(test_cases[i].delta_x, test_cases[i].delta_y), {}); in TEST()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/common/input/
H A Dweb_mouse_wheel_event.cc65 GetUnacceleratedDelta(delta_y, acceleration_ratio_y) + in Coalesce()
66 GetUnacceleratedDelta(mouse_wheel_event.delta_y, in Coalesce()
69 float old_deltaY = delta_y; in Coalesce()
78 delta_y += old_deltaY; in Coalesce()
84 acceleration_ratio_y = GetAccelerationRatio(delta_y, unaccelerated_y); in Coalesce()
102 return delta_y / frame_scale_; in DeltaYInRootFrame()
108 result.delta_y /= result.frame_scale_; in FlattenTransform()
129 (event.delta_x != 0 && event.delta_y == 0)) { in GetPlatformSpecificDefaultEventAction()
134 (event.delta_x == 0 && event.delta_y != 0)) { in GetPlatformSpecificDefaultEventAction()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/widget/input/
H A Dscroll_predictor_unittest.cc46 float delta_y = 0, in CreateGestureScrollUpdate() argument
56 gesture->data.scroll_update.delta_y = delta_y; in CreateGestureScrollUpdate()
218 ->data.scroll_update.delta_y); in TEST_F()
224 ->data.scroll_update.delta_y); in TEST_F()
227 ->data.scroll_update.delta_y); in TEST_F()
242 ->data.scroll_update.delta_y); in TEST_F()
268 ->data.scroll_update.delta_y); in TEST_F()
281 ->data.scroll_update.delta_y); in TEST_F()
391 ->data.scroll_update.delta_y, in TEST_F()
400 ->data.scroll_update.delta_y); in TEST_F()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/events/blink/
H A Dscroll_predictor_unittest.cc48 float delta_y = 0, in CreateGestureScrollUpdate() argument
58 gesture.data.scroll_update.delta_y = delta_y; in CreateGestureScrollUpdate()
219 ->data.scroll_update.delta_y); in TEST_F()
226 ->data.scroll_update.delta_y); in TEST_F()
230 ->data.scroll_update.delta_y); in TEST_F()
246 ->data.scroll_update.delta_y); in TEST_F()
261 ->data.scroll_update.delta_y); in TEST_F()
301 ->data.scroll_update.delta_y); in TEST_F()
311 ->data.scroll_update.delta_y); in TEST_F()
319 ->data.scroll_update.delta_y); in TEST_F()
[all …]
/dports/devel/allegro/allegro-4.4.3.1/tests/
H A Dcpptest.cpp51 int delta_x, delta_y; member in rodent
66 delta_y = (rand() % 11) - 5; in rodent()
67 } while(!delta_y); in rodent()
76 if((y+sprite->h+delta_y >= SCREEN_H) || (y+delta_y < 0)) delta_y = -delta_y; in move()
79 y += delta_y; in move()
/dports/devel/libstroke/libstroke-0.5.1/javastroke/
H A DStroke.java120 int delta_x, delta_y; in stroke_trans() local
127 delta_y = max_y - min_y; in stroke_trans()
132 bound_y_1 = min_y + (delta_y / 3); in stroke_trans()
133 bound_y_2 = min_y + 2 * (delta_y / 3); in stroke_trans()
135 if (delta_x > SCALE_RATIO * delta_y) { in stroke_trans()
138 } else if (delta_y > SCALE_RATIO * delta_x) { in stroke_trans()
139 bound_x_1 = (max_x + min_x - delta_y) / 2 + (delta_y / 3); in stroke_trans()
140 bound_x_2 = (max_x + min_x - delta_y) / 2 + 2 * (delta_y / 3); in stroke_trans()
/dports/science/code_saturne/code_saturne-7.1.0/tests/
H A Dcs_moment_test.c152 double delta_y = yr[j] - m_y; in main() local
155 double r_y = delta_y * (wr[j] / (fmax(ws_n, 1e-100))); in main()
188 double delta_y = yr[j] - m_y; in main() local
190 double r_y = delta_y * (wr[j] / (fmax(ws_n, 1e-100))); in main()
193 c2 += wr[j] * delta_y * (xr[j]-m_n); in main()
224 double delta_y = yr[j] - m_y; in main() local
226 double r_y = delta_y * (wr[j] / (fmax(ws_n, 1e-100))); in main()
257 double delta_y = yr[j] - m_y; in main() local
262 c = (c*ws + (wr[j] * delta_y * (xr[j]-m_n))) / ws_n; in main()
289 double delta_y = yr[j] - m_y; in main() local
[all …]
/dports/x11-toolkits/lesstif/lesstif-0.95.2/clients/Motif-2.1/mwm/
H A Dpan.c226 *delta_y = 0; in PAN_PanDesktop()
287 *delta_y = -VertWarpSize; in PAN_PanDesktop()
289 *delta_y = VertWarpSize; in PAN_PanDesktop()
291 *delta_y = 0; in PAN_PanDesktop()
307 if (scr->virt_y + *delta_y < 0) in PAN_PanDesktop()
309 *delta_y = -scr->virt_y; in PAN_PanDesktop()
310 *yt = y - *delta_y; in PAN_PanDesktop()
314 *delta_y = scr->virt_y_max - scr->virt_y; in PAN_PanDesktop()
315 *yt = y - *delta_y; in PAN_PanDesktop()
318 *yt = y - *delta_y; in PAN_PanDesktop()
[all …]

12345678910>>...66