Home
last modified time | relevance | path

Searched refs:snapPoint (Results 1 – 2 of 2) sorted by relevance

/haiku/src/apps/mediaplayer/interface/
H A DVolumeSlider.cpp76 float snapPoint = _PointForValue(fSnapValue); in MouseMoved() local
80 fMinSnap = snapPoint - kMaxSnapOffset; in MouseMoved()
81 fMaxSnap = snapPoint + 1; in MouseMoved()
84 fMinSnap = snapPoint - 1; in MouseMoved()
85 fMaxSnap = snapPoint + kMaxSnapOffset; in MouseMoved()
/haiku/src/bin/desklink/
H A DVolumeControl.cpp235 float snapPoint = _PointForValue(0); in MouseMoved() local
241 if (fabs(snapPoint - fMinSnap) < kMinSnapOffset) in MouseMoved()
242 fMinSnap = snapPoint - kMinSnapOffset; in MouseMoved()
249 if (fabs(snapPoint - fMaxSnap) < kMinSnapOffset) in MouseMoved()
250 fMaxSnap = snapPoint + kMinSnapOffset; in MouseMoved()