Home
last modified time | relevance | path

Searched refs:xDelta (Results 1 – 11 of 11) sorted by relevance

/haiku/src/add-ons/input_server/devices/mouse/
H A Dmovement_maker.cpp88 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 Dmovement_maker.h20 float xDelta; variable
/haiku/src/apps/cortex/support/
H A DScrollHelpers.h47 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 DMouseTrackingHelpers.cpp117 float xDelta = m_trackingFlags & TRACK_HORIZONTAL ? in MouseMoved() local
124 m_pDest->mouseTrackingUpdate(buttons, xDelta, yDelta, point); in MouseMoved()
H A DMouseTrackingHelpers.h72 float xDelta,
/haiku/src/servers/app/drawing/interface/remote/
H A DRemoteEventStream.cpp157 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 DDiagramView.cpp367 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 Dps2_standard_mouse.cpp104 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 DRouteWindow.h168 float xDelta,
H A DRouteWindow.cpp717 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 DRemoteView.cpp291 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()