Searched refs:gnMaxScrollDistance (Results 1 – 1 of 1) sorted by relevance
263 const static sal_Int32 gnMaxScrollDistance = 300; variable279 if (abs(aStart.X()-aEnd.X()) > gnMaxScrollDistance) in VisibleAreaScroller()282 maStart.X() = aEnd.X()-gnMaxScrollDistance; in VisibleAreaScroller()284 maStart.X() = aEnd.X()+gnMaxScrollDistance; in VisibleAreaScroller()286 if (abs(aStart.Y()-aEnd.Y()) > gnMaxScrollDistance) in VisibleAreaScroller()289 maStart.Y() = aEnd.Y()-gnMaxScrollDistance; in VisibleAreaScroller()291 maStart.Y() = aEnd.Y()+gnMaxScrollDistance; in VisibleAreaScroller()
Completed in 17 milliseconds