Home
last modified time | relevance | path

Searched refs:aDisplacement (Results 1 – 19 of 19) sorted by relevance

/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/apz/src/
H A DOverscroll.h68 void HandlePanMomentum(const ParentLayerPoint& aDisplacement) { in HandlePanMomentum() argument
70 if ((xOverscroll > 0 && aDisplacement.x > 0) || in HandlePanMomentum()
71 (xOverscroll < 0 && aDisplacement.x < 0)) { in HandlePanMomentum()
79 } else if ((xOverscroll > 0 && aDisplacement.x < 0) || in HandlePanMomentum()
80 (xOverscroll < 0 && aDisplacement.x > 0)) { in HandlePanMomentum()
88 if ((yOverscroll > 0 && aDisplacement.y > 0) || in HandlePanMomentum()
89 (yOverscroll < 0 && aDisplacement.y < 0)) { in HandlePanMomentum()
93 } else if ((yOverscroll > 0 && aDisplacement.y < 0) || in HandlePanMomentum()
94 (yOverscroll < 0 && aDisplacement.y > 0)) { in HandlePanMomentum()
H A DAxis.cpp87 ParentLayerCoord aDisplacement, in AdjustDisplacement() argument
97 aOverscrollAmountOut = aDisplacement; in AdjustDisplacement()
102 ParentLayerCoord displacement = aDisplacement; in AdjustDisplacement()
106 if (mOverscroll > 0 && aDisplacement < 0) { in AdjustDisplacement()
107 consumedOverscroll = std::min(mOverscroll, -aDisplacement); in AdjustDisplacement()
108 } else if (mOverscroll < 0 && aDisplacement > 0) { in AdjustDisplacement()
109 consumedOverscroll = 0.f - std::min(-mOverscroll, aDisplacement); in AdjustDisplacement()
341 ParentLayerCoord aDisplacement) const { in DisplacementWillOverscrollAmount()
342 ParentLayerCoord newOrigin = GetOrigin() + aDisplacement; in DisplacementWillOverscrollAmount()
343 ParentLayerCoord newCompositionEnd = GetCompositionEnd() + aDisplacement; in DisplacementWillOverscrollAmount()
H A DAxis.h122 bool AdjustDisplacement(ParentLayerCoord aDisplacement,
261 ParentLayerCoord aDisplacement) const;
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/apz/src/
H A DOverscroll.h68 void HandlePanMomentum(const ParentLayerPoint& aDisplacement) { in HandlePanMomentum() argument
70 if ((xOverscroll > 0 && aDisplacement.x > 0) || in HandlePanMomentum()
71 (xOverscroll < 0 && aDisplacement.x < 0)) { in HandlePanMomentum()
79 } else if ((xOverscroll > 0 && aDisplacement.x < 0) || in HandlePanMomentum()
80 (xOverscroll < 0 && aDisplacement.x > 0)) { in HandlePanMomentum()
88 if ((yOverscroll > 0 && aDisplacement.y > 0) || in HandlePanMomentum()
89 (yOverscroll < 0 && aDisplacement.y < 0)) { in HandlePanMomentum()
93 } else if ((yOverscroll > 0 && aDisplacement.y < 0) || in HandlePanMomentum()
94 (yOverscroll < 0 && aDisplacement.y > 0)) { in HandlePanMomentum()
H A DAxis.cpp87 ParentLayerCoord aDisplacement, in AdjustDisplacement() argument
97 aOverscrollAmountOut = aDisplacement; in AdjustDisplacement()
102 ParentLayerCoord displacement = aDisplacement; in AdjustDisplacement()
106 if (mOverscroll > 0 && aDisplacement < 0) { in AdjustDisplacement()
107 consumedOverscroll = std::min(mOverscroll, -aDisplacement); in AdjustDisplacement()
108 } else if (mOverscroll < 0 && aDisplacement > 0) { in AdjustDisplacement()
109 consumedOverscroll = 0.f - std::min(-mOverscroll, aDisplacement); in AdjustDisplacement()
341 ParentLayerCoord aDisplacement) const { in DisplacementWillOverscrollAmount()
342 ParentLayerCoord newOrigin = GetOrigin() + aDisplacement; in DisplacementWillOverscrollAmount()
343 ParentLayerCoord newCompositionEnd = GetCompositionEnd() + aDisplacement; in DisplacementWillOverscrollAmount()
H A DAxis.h122 bool AdjustDisplacement(ParentLayerCoord aDisplacement,
261 ParentLayerCoord aDisplacement) const;
/dports/www/firefox/firefox-99.0/gfx/layers/apz/src/
H A DOverscroll.h75 void HandlePanMomentum(const ParentLayerPoint& aDisplacement) { in HandlePanMomentum() argument
77 if ((xOverscroll > 0 && aDisplacement.x > 0) || in HandlePanMomentum()
78 (xOverscroll < 0 && aDisplacement.x < 0)) { in HandlePanMomentum()
88 } else if ((xOverscroll > 0 && aDisplacement.x < 0) || in HandlePanMomentum()
89 (xOverscroll < 0 && aDisplacement.x > 0)) { in HandlePanMomentum()
97 if ((yOverscroll > 0 && aDisplacement.y > 0) || in HandlePanMomentum()
98 (yOverscroll < 0 && aDisplacement.y < 0)) { in HandlePanMomentum()
104 } else if ((yOverscroll > 0 && aDisplacement.y < 0) || in HandlePanMomentum()
105 (yOverscroll < 0 && aDisplacement.y > 0)) { in HandlePanMomentum()
H A DAxis.cpp87 ParentLayerCoord aDisplacement, in AdjustDisplacement() argument
97 aOverscrollAmountOut = aDisplacement; in AdjustDisplacement()
102 ParentLayerCoord displacement = aDisplacement; in AdjustDisplacement()
106 if (mOverscroll > 0 && aDisplacement < 0) { in AdjustDisplacement()
107 consumedOverscroll = std::min(mOverscroll, -aDisplacement); in AdjustDisplacement()
108 } else if (mOverscroll < 0 && aDisplacement > 0) { in AdjustDisplacement()
109 consumedOverscroll = 0.f - std::min(-mOverscroll, aDisplacement); in AdjustDisplacement()
352 ParentLayerCoord aDisplacement) const { in DisplacementWillOverscrollAmount()
353 ParentLayerCoord newOrigin = GetOrigin() + aDisplacement; in DisplacementWillOverscrollAmount()
354 ParentLayerCoord newCompositionEnd = GetCompositionEnd() + aDisplacement; in DisplacementWillOverscrollAmount()
H A DAxis.h122 bool AdjustDisplacement(ParentLayerCoord aDisplacement,
263 ParentLayerCoord aDisplacement) const;
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/apz/src/
H A DAxis.cpp85 ParentLayerCoord aDisplacement, in AdjustDisplacement() argument
95 aOverscrollAmountOut = aDisplacement; in AdjustDisplacement()
102 ParentLayerCoord displacement = aDisplacement; in AdjustDisplacement()
106 if (mOverscroll > 0 && aDisplacement < 0) { in AdjustDisplacement()
107 consumedOverscroll = std::min(mOverscroll, -aDisplacement); in AdjustDisplacement()
108 } else if (mOverscroll < 0 && aDisplacement > 0) { in AdjustDisplacement()
109 consumedOverscroll = 0.f - std::min(-mOverscroll, aDisplacement); in AdjustDisplacement()
293 ParentLayerCoord aDisplacement) const { in DisplacementWillOverscrollAmount()
294 ParentLayerCoord newOrigin = GetOrigin() + aDisplacement; in DisplacementWillOverscrollAmount()
295 ParentLayerCoord newCompositionEnd = GetCompositionEnd() + aDisplacement; in DisplacementWillOverscrollAmount()
H A DAxis.h121 bool AdjustDisplacement(ParentLayerCoord aDisplacement,
231 ParentLayerCoord aDisplacement) const;
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/apz/src/
H A DAxis.cpp168 ParentLayerCoord aDisplacement, in AdjustDisplacement() argument
178 aOverscrollAmountOut = aDisplacement; in AdjustDisplacement()
185 ParentLayerCoord displacement = aDisplacement; in AdjustDisplacement()
189 if (mOverscroll > 0 && aDisplacement < 0) { in AdjustDisplacement()
190 consumedOverscroll = std::min(mOverscroll, -aDisplacement); in AdjustDisplacement()
191 } else if (mOverscroll < 0 && aDisplacement > 0) { in AdjustDisplacement()
192 consumedOverscroll = 0.f - std::min(-mOverscroll, aDisplacement); in AdjustDisplacement()
392 ParentLayerCoord aDisplacement) const { in DisplacementWillOverscrollAmount()
393 ParentLayerCoord newOrigin = GetOrigin() + aDisplacement; in DisplacementWillOverscrollAmount()
394 ParentLayerCoord newCompositionEnd = GetCompositionEnd() + aDisplacement; in DisplacementWillOverscrollAmount()
H A DAxis.h92 bool AdjustDisplacement(ParentLayerCoord aDisplacement,
214 ParentLayerCoord aDisplacement) const;
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/layers/apz/src/
H A DAxis.cpp163 bool Axis::AdjustDisplacement(ParentLayerCoord aDisplacement, in Do()
174 aOverscrollAmountOut = aDisplacement; in Do()
181 ParentLayerCoord displacement = aDisplacement; in Do()
185 if (mOverscroll > 0 && aDisplacement < 0) { in Do()
186 consumedOverscroll = std::min(mOverscroll, -aDisplacement); in Do()
187 } else if (mOverscroll < 0 && aDisplacement > 0) { in Do()
188 consumedOverscroll = 0.f - std::min(-mOverscroll, aDisplacement); in Do()
503 ParentLayerCoord Axis::DisplacementWillOverscrollAmount(ParentLayerCoord aDisplacement) const { in Do()
504 ParentLayerCoord newOrigin = GetOrigin() + aDisplacement; in Do()
505 ParentLayerCoord newCompositionEnd = GetCompositionEnd() + aDisplacement; in Do()
H A DAxis.h89 bool AdjustDisplacement(ParentLayerCoord aDisplacement,
211 ParentLayerCoord DisplacementWillOverscrollAmount(ParentLayerCoord aDisplacement) const;
/dports/cad/opencascade/opencascade-7.6.0/src/RWStepDimTol/
H A DRWStepDimTol_RWUnequallyDisposedGeometricTolerance.cxx65 Handle(StepBasic_LengthMeasureWithUnit) aDisplacement; in ReadStep() local
66 …ntity (num, 5, "displacement", ach, STANDARD_TYPE(StepBasic_LengthMeasureWithUnit), aDisplacement); in ReadStep()
73 aDisplacement); in ReadStep()
H A DRWStepDimTol_RWGeoTolAndGeoTolWthDatRefAndUneqDisGeoTol.cxx84 Handle (StepBasic_LengthMeasureWithUnit) aDisplacement; in ReadStep() local
85 …Entity(num, 1, "displacement", ach, STANDARD_TYPE(StepBasic_LengthMeasureWithUnit), aDisplacement); in ReadStep()
89 anUDGT->SetDisplacement(aDisplacement); in ReadStep()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/emfio/source/reader/
H A Dmtftools.cxx1571 …Point aDisplacement( ( ( mnTextAlign & TA_RIGHT_CENTER ) == TA_RIGHT ) ? nTextWidth : nTextWidth >… in DrawText() local
1572 Point().RotateAround(aDisplacement, maFont.GetOrientation()); in DrawText()
1573 rPosition -= aDisplacement; in DrawText()
/dports/editors/libreoffice/libreoffice-7.2.6.2/emfio/source/reader/
H A Dmtftools.cxx1843 …Point aDisplacement( ( ( mnTextAlign & TA_RIGHT_CENTER ) == TA_RIGHT ) ? nTextWidth : nTextWidth >… in DrawText() local
1844 Point().RotateAround(aDisplacement, maFont.GetOrientation()); in DrawText()
1845 rPosition -= aDisplacement; in DrawText()