Searched refs:fPadRect (Results 1 – 2 of 2) sorted by relevance
53 fPadRect = fPrefRect; in TouchpadView()54 fPadRect.InsetBy(10, 10); in TouchpadView()55 fXScrollRange = fPadRect.Width(); in TouchpadView()56 fYScrollRange = fPadRect.Height(); in TouchpadView()145 fXScrollRange = fPadRect.Width() * (1 - rightRange); in SetValues()146 fYScrollRange = fPadRect.Height() * (1 - bottomRange); in SetValues()165 if (point.x > fPadRect.right) in MouseMoved()166 fXScrollRange = fPadRect.Width(); in MouseMoved()167 else if (point.x < fPadRect.left) in MouseMoved()170 fXScrollRange = point.x - fPadRect.left; in MouseMoved()[all …]
59 { return 1 - fXScrollRange / fPadRect.Width(); } in GetRightScrollRatio()62 - fYScrollRange / fPadRect.Height(); } in GetBottomScrollRatio()67 BRect fPadRect; variable