Home
last modified time | relevance | path

Searched refs:mBestEdge (Results 1 – 6 of 6) sorted by relevance

/dports/www/firefox-esr/firefox-91.8.0/layout/generic/
H A DScrollSnap.cpp39 return std::abs(mBestEdge.x - mSecondBestEdge.x); in XDistanceBetweenBestAndSecondEdge()
42 return std::abs(mBestEdge.y - mSecondBestEdge.y); in YDistanceBetweenBestAndSecondEdge()
51 nsPoint mBestEdge; // keeps track of the position of the current best edge member in mozilla::CalcSnapPoints
80 mBestEdge = aDestination; in CalcSnapPoints()
87 return nsPoint(mVerticalEdgeFound ? mBestEdge.x : mStartPos.x, in GetBestEdge()
88 mHorizontalEdgeFound ? mBestEdge.y : mStartPos.y); in GetBestEdge()
93 &mBestEdge.y, &mSecondBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdge()
98 &mBestEdge.x, &mSecondBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdge()
/dports/www/firefox/firefox-99.0/layout/generic/
H A DScrollSnap.cpp39 return std::abs(mBestEdge.x - mSecondBestEdge.x); in XDistanceBetweenBestAndSecondEdge()
42 return std::abs(mBestEdge.y - mSecondBestEdge.y); in YDistanceBetweenBestAndSecondEdge()
51 nsPoint mBestEdge; // keeps track of the position of the current best edge member in mozilla::CalcSnapPoints
80 mBestEdge = aDestination; in CalcSnapPoints()
87 return nsPoint(mVerticalEdgeFound ? mBestEdge.x : mStartPos.x, in GetBestEdge()
88 mHorizontalEdgeFound ? mBestEdge.y : mStartPos.y); in GetBestEdge()
93 &mBestEdge.y, &mSecondBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdge()
98 &mBestEdge.x, &mSecondBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdge()
/dports/mail/thunderbird/thunderbird-91.8.0/layout/generic/
H A DScrollSnap.cpp39 return std::abs(mBestEdge.x - mSecondBestEdge.x); in XDistanceBetweenBestAndSecondEdge()
42 return std::abs(mBestEdge.y - mSecondBestEdge.y); in YDistanceBetweenBestAndSecondEdge()
51 nsPoint mBestEdge; // keeps track of the position of the current best edge member in mozilla::CalcSnapPoints
80 mBestEdge = aDestination; in CalcSnapPoints()
87 return nsPoint(mVerticalEdgeFound ? mBestEdge.x : mStartPos.x, in GetBestEdge()
88 mHorizontalEdgeFound ? mBestEdge.y : mStartPos.y); in GetBestEdge()
93 &mBestEdge.y, &mSecondBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdge()
98 &mBestEdge.x, &mSecondBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdge()
/dports/lang/spidermonkey78/firefox-78.9.0/layout/generic/
H A DScrollSnap.cpp39 return std::abs(mBestEdge.x - mSecondBestEdge.x); in XDistanceBetweenBestAndSecondEdge()
42 return std::abs(mBestEdge.y - mSecondBestEdge.y); in YDistanceBetweenBestAndSecondEdge()
51 nsPoint mBestEdge; // keeps track of the position of the current best edge member in mozilla::CalcSnapPoints
80 mBestEdge = aDestination; in CalcSnapPoints()
87 return nsPoint(mVerticalEdgeFound ? mBestEdge.x : mStartPos.x, in GetBestEdge()
88 mHorizontalEdgeFound ? mBestEdge.y : mStartPos.y); in GetBestEdge()
93 &mBestEdge.y, &mSecondBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdge()
98 &mBestEdge.x, &mSecondBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdge()
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/generic/
H A DScrollSnap.cpp70 nsPoint mBestEdge; // keeps track of the position of the current best edge member in mozilla::CalcSnapPoints
97 mBestEdge = aDestination; in CalcSnapPoints()
105 return nsPoint(mVerticalEdgeFound ? mBestEdge.x : mStartPos.x, in GetBestEdge()
106 mHorizontalEdgeFound ? mBestEdge.y : mStartPos.y); in GetBestEdge()
112 AddEdge(aEdge, mDestination.y, mStartPos.y, mScrollingDirection.y, &mBestEdge.y, in AddHorizontalEdge()
119 AddEdge(aEdge, mDestination.x, mStartPos.x, mScrollingDirection.x, &mBestEdge.x, in AddVerticalEdge()
129 &mBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdgeInterval()
138 &mBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdgeInterval()
/dports/lang/spidermonkey60/firefox-60.9.0/layout/generic/
H A DScrollSnap.cpp64 nsPoint mBestEdge; // keeps track of the position of the current best edge member in mozilla::CalcSnapPoints
92 mBestEdge = aDestination; in CalcSnapPoints()
98 return nsPoint(mVerticalEdgeFound ? mBestEdge.x : mStartPos.x, in GetBestEdge()
99 mHorizontalEdgeFound ? mBestEdge.y : mStartPos.y); in GetBestEdge()
104 &mBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdge()
109 &mBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdge()
117 &mBestEdge.y, &mHorizontalEdgeFound); in AddHorizontalEdgeInterval()
125 &mBestEdge.x, &mVerticalEdgeFound); in AddVerticalEdgeInterval()