Searched refs:xDelta (Results 1 – 11 of 11) sorted by relevance
/haiku/src/add-ons/input_server/devices/mouse/ |
H A D | movement_maker.cpp | 88 scrolling_x += xDelta; in GetScrolling() 93 xDelta = stepsX; in GetScrolling() 96 xDelta = 0; in GetScrolling() 160 xDelta = fDeltaSumX / translation; in _GetRawMovement() 162 if (xDelta > 1.0) { in _GetRawMovement() 164 xDelta = 1.0 + (xDelta - 1.0) * acceleration; in _GetRawMovement() 165 } else if (xDelta < -1.0) { in _GetRawMovement() 167 xDelta = -1.0 + (xDelta + 1.0) * acceleration; in _GetRawMovement() 178 xDelta = make_small(xDelta); in _GetRawMovement() 189 acceleration = 1 + sqrtf(xDelta * xDelta in _ComputeAcceleration() [all …]
|
H A D | movement_maker.h | 20 float xDelta; variable
|
/haiku/src/apps/cortex/support/ |
H A D | ScrollHelpers.h | 47 virtual void handleScrollBy(float xDelta, float yDelta)=0; 59 float xDelta = where.x - Bounds().left; in ScrollTo() local 63 m_pTarget->handleScrollBy(xDelta, yDelta); in ScrollTo()
|
H A D | MouseTrackingHelpers.cpp | 117 float xDelta = m_trackingFlags & TRACK_HORIZONTAL ? in MouseMoved() local 124 m_pDest->mouseTrackingUpdate(buttons, xDelta, yDelta, point); in MouseMoved()
|
H A D | MouseTrackingHelpers.h | 72 float xDelta,
|
/haiku/src/servers/app/drawing/interface/remote/ |
H A D | RemoteEventStream.cpp | 157 float xDelta, yDelta; in EventReceived() local 158 message.Read(xDelta); in EventReceived() 160 event->AddFloat("be:wheel_delta_x", xDelta); in EventReceived()
|
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramView.cpp | 367 float xDelta = m_lastDragPoint.x - point.x; in MouseMoved() local 373 if(xDelta && hScroll) { in MouseMoved() 378 if(val + xDelta < min) in MouseMoved() 379 xDelta = 0; in MouseMoved() 381 if(val + xDelta > max) in MouseMoved() 382 xDelta = 0; in MouseMoved() 399 if(xDelta == 0.0 && yDelta == 0.0) in MouseMoved() 402 ScrollBy(xDelta, yDelta); in MouseMoved()
|
/haiku/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_standard_mouse.cpp | 104 int xDelta = ((packet[0] & 0x10) ? ~0xff : 0) | packet[1]; in ps2_packet_to_movement() local 140 xDelta, yDelta, buttons, cookie->click_count, xDeltaWheel, in ps2_packet_to_movement() 145 pos->xdelta = xDelta; in ps2_packet_to_movement() 156 xDelta, yDelta, buttons, cookie->click_count, currentTime); in ps2_packet_to_movement()
|
/haiku/src/apps/cortex/RouteApp/ |
H A D | RouteWindow.h | 168 float xDelta,
|
H A D | RouteWindow.cpp | 717 void RouteWindow::_movePalettesBy(float xDelta, float yDelta) in _movePalettesBy() argument 720 m_transportWindow->MoveBy(xDelta, yDelta); in _movePalettesBy() 723 m_dormantNodeWindow->MoveBy(xDelta, yDelta); in _movePalettesBy()
|
/haiku/src/apps/remotedesktop/ |
H A D | RemoteView.cpp | 291 float xDelta, yDelta; in MessageReceived() local 292 if (message->FindFloat("be:wheel_delta_x", &xDelta) != B_OK) in MessageReceived() 293 xDelta = 0; in MessageReceived() 299 message.Add(xDelta); in MessageReceived()
|