Searched refs:deltaY (Results 1 - 23 of 23) sorted by relevance

/haiku/src/add-ons/input_server/filters/switch_workspace/
H A DSwitchWorkspaceInputFilter.cpp63 int32 deltaY = 0; local
68 deltaY = -1;
72 deltaY = 1;
96 int32 nextRow = current / columns + deltaY;
/haiku/src/add-ons/input_server/devices/mouse/
H A DMouseInputDevice.cpp129 int32 deltaX, int32 deltaY) const;
132 int32& deltaX, int32& deltaY,
473 int32 deltaX, deltaY; local
474 _ComputeAcceleration(movements, deltaX, deltaY, historyDeltaX,
483 deltaX, deltaY, historyDeltaX, historyDeltaY);
491 movements.timestamp, remappedButtons, deltaX, deltaY);
506 movements.timestamp, remappedButtons, deltaX, deltaY);
633 int32 deltaX, int32 deltaY) const
642 || message->AddInt32("y", deltaY) < B_OK) {
659 float deltaY local
[all...]
/haiku/src/system/kernel/debug/
H A Dblue_screen.cpp329 int32 deltaY = argCount > 0 ? -args[0] : -1; local
330 if (deltaY == 0)
331 deltaY = -1;
332 move_cursor(sScreen.x, sScreen.y + deltaY);
338 int32 deltaY = argCount > 0 ? args[0] : 1; local
339 if (deltaY == 0)
340 deltaY = 1;
341 move_cursor(sScreen.x, sScreen.y + deltaY);
/haiku/src/add-ons/kernel/drivers/common/
H A Dconsole.cpp406 int32 deltaY = argCount > 0 ? -args[0] : -1; local
407 if (deltaY == 0)
408 deltaY = -1;
409 gotoxy(console, console->x, console->y + deltaY);
415 int32 deltaY = argCount > 0 ? args[0] : 1; local
416 if (deltaY == 0)
417 deltaY = 1;
418 gotoxy(console, console->x, console->y + deltaY);
/haiku/src/bin/desklink/
H A DVolumeControl.cpp272 float deltaY = 0.0f; local
274 msg->FindFloat("be:wheel_delta_y", &deltaY);
276 if (deltaY == 0.0f)
280 int32 newValue = currentValue - int32(deltaY) * 3;
H A DMediaReplicant.cpp375 float deltaY; local
376 if (message->FindFloat("be:wheel_delta_y", &deltaY) == B_OK
377 && deltaY != 0.0 && fMixerControl != NULL) {
378 fMixerControl->ChangeVolumeBy(deltaY < 0 ? 6 : -6);
/haiku/src/servers/app/stackandtile/
H A DSATWindow.cpp521 float deltaY = 0; local
531 deltaY = mousePosition.y - newFrame.bottom;
533 deltaY -= mousePosition.y - frame.bottom;
535 fDesktop->MoveWindowBy(fWindow, deltaX, deltaY);
/haiku/src/add-ons/input_server/devices/wacom/
H A DTabletDevice.cpp515 float deltaY = 0.0; local
525 deltaY = y - fPosY;
528 absDeltaY = fabsf(deltaY);
574 deltaY *= absDeltaY / accelerationY;
577 fFakeMouseY = min_c(1.0, max_c(0.0, fFakeMouseY + deltaY));
/haiku/src/apps/debuganalyzer/gui/chart/
H A DChart.cpp288 float deltaY; local
290 || message->FindFloat("be:wheel_delta_y", &deltaY) != B_OK
295 _Zoom(fLastMousePos.x, deltaY);
/haiku/src/apps/deskbar/
H A DExpandoMenuBar.cpp168 float deltaY = 0; local
169 message->FindFloat("be:wheel_delta_y", &deltaY);
170 if (deltaY == 0)
184 deltaY *= largeStep;
186 deltaY *= smallStep;
188 scrollView->ScrollBy(deltaY);
/haiku/src/kits/interface/
H A DTabView.cpp673 float deltaY = 0.0f;
675 message->FindFloat("be:wheel_delta_y", &deltaY);
677 if (deltaX == 0.0f && deltaY == 0.0f)
680 if (deltaY == 0.0f)
681 deltaY = deltaX;
685 if (deltaY > 0 && selection < numTabs - 1) {
688 } else if (deltaY < 0 && selection > 0 && numTabs > 1) {
H A DScrollBar.cpp555 float deltaY = 0.0f; local
557 message->FindFloat("be:wheel_delta_y", &deltaY);
559 if (deltaX == 0.0f && deltaY == 0.0f)
562 if (deltaX != 0.0f && deltaY == 0.0f)
563 deltaY = deltaX;
565 ScrollWithMouseWheelDelta(this, deltaY);
H A DMenu.cpp479 float deltaY = 0; local
480 message->FindFloat("be:wheel_delta_y", &deltaY);
481 if (deltaY == 0)
494 deltaY *= largeStep;
496 deltaY *= smallStep;
498 window->TryScrollBy(deltaY);
577 int32 deltaY = bytes[0] == B_PAGE_UP ? -1 : 1; local
581 window->TryScrollBy(deltaY * largeStep);
H A DView.cpp1715 BView::ScrollBy(float deltaX, float deltaY) argument
1717 ScrollTo(BPoint(fBounds.left + deltaX, fBounds.top + deltaY));
1768 // we modify our bounds rectangle by deltaX/deltaY coord units hor/ver.
4813 BView::MoveBy(float deltaX, float deltaY) argument
4815 MoveTo(fParentOffset.x + roundf(deltaX), fParentOffset.y + roundf(deltaY));
5168 float deltaY = 0.0f; local
5174 message->FindFloat("be:wheel_delta_y", &deltaY);
5176 if (deltaX == 0.0f && deltaY == 0.0f)
5185 if (vertical != NULL && deltaY != 0.0f)
5186 ScrollWithMouseWheelDelta(vertical, deltaY);
[all...]
/haiku/src/apps/mandelbrot/
H A DMandelbrot.cpp247 double deltaY = originY - fLocationY; local
252 deltaY /= zoomFactor;
255 fLocationY = originY - deltaY;
/haiku/src/apps/showimage/
H A DFilter.cpp672 const float deltaY = (srcH + 1.0) / (destH + 1.0); local
673 const float deltaXY = deltaX * deltaY;
689 const float fFromY = y * deltaY;
690 const float fToY = fFromY + deltaY;
H A DShowImageView.cpp1354 // |deltaY| is the number of notches scrolled up or down.
1355 // When the wheel is scrolled down (towards the user) deltaY > 0
1356 // When the wheel is scrolled up (away from the user) deltaY < 0
1358 float deltaY; local
1366 if (message->FindFloat("be:wheel_delta_y", &deltaY) == B_OK)
1367 y = deltaY * kscrollBy;
1382 if (deltaY < 0)
1384 else if (deltaY > 0)
1795 const int32 deltaY = (int32)rect.top; local
1800 uchar* d = dest + (y + deltaY) * destBP
[all...]
/haiku/src/apps/activitymonitor/
H A DActivityView.cpp1173 float deltaY = 0.0f; local
1174 if (message->FindFloat("be:wheel_delta_y", &deltaY) != B_OK
1175 || deltaY == 0.0f)
1179 if (deltaY > 0)
/haiku/src/apps/workspaces/
H A DWorkspaces.cpp539 float deltaY = message->FindFloat("be:wheel_delta_y"); local
540 if (deltaY > 0.1)
542 else if (deltaY < -0.1)
/haiku/src/apps/terminal/
H A DTermView.cpp1802 float deltaY = 0; local
1804 && message->FindFloat("be:wheel_delta_y", &deltaY) == B_OK
1805 && deltaY != 0) {
1817 stepString = deltaY > 0
1819 steps = abs((int)deltaY);
1822 stepString = deltaY > 0
1824 steps = 3 * abs((int)deltaY);
/haiku/src/apps/debuganalyzer/gui/main_window/
H A DSchedulingPage.cpp743 float deltaY; local
745 || message->FindFloat("be:wheel_delta_y", &deltaY)
750 _Zoom(fLastMousePos.x, deltaY);
/haiku/src/apps/webpositive/
H A DBrowserWindow.cpp800 float deltaY; local
801 if (message->FindFloat("be:wheel_delta_y", &deltaY) == B_OK) {
802 if (deltaY < 0)
/haiku/src/tools/html5_remote_desktop/
H A DHaikuRemoteDesktop.js2217 this.sendMessage.dataView.writeFloat32(event.deltaY);

Completed in 308 milliseconds