Home
last modified time | relevance | path

Searched refs:NSToCoordRoundWithClamp (Results 1 – 25 of 45) sorted by relevance

12

/dports/lang/spidermonkey60/firefox-60.9.0/layout/base/
H A DUnits.h307 return NSToCoordRoundWithClamp(aCoord * float(AppUnitsPerCSSPixel()));
312 NSToCoordRoundWithClamp(aPoint.x * float(AppUnitsPerCSSPixel())),
313 NSToCoordRoundWithClamp(aPoint.y * float(AppUnitsPerCSSPixel())));
319 NSToCoordRoundWithClamp(float(aPoint.y) *
325 NSToCoordRoundWithClamp(aSize.width * float(AppUnitsPerCSSPixel())),
330 return nsSize(NSToCoordRoundWithClamp(float(aSize.width) *
332 NSToCoordRoundWithClamp(float(aSize.height) *
338 NSToCoordRoundWithClamp(aRect.x * float(AppUnitsPerCSSPixel())),
339 NSToCoordRoundWithClamp(aRect.y * float(AppUnitsPerCSSPixel())),
348 NSToCoordRoundWithClamp(float(aRect.Width()) *
[all …]
H A DnsPresContext.h664 return NSToCoordRoundWithClamp(float(aPixels) * in CSSPixelsToAppUnits()
669 return NSToCoordRoundWithClamp(aPixels * float(AppUnitsPerCSSPixel())); in CSSPixelsToAppUnits()
731 return NSToCoordRoundWithClamp(mozilla::AppUnitsPerCSSInch() * in CSSTwipsToAppUnits()
/dports/lang/spidermonkey78/firefox-78.9.0/layout/base/
H A DUnits.h313 return NSToCoordRoundWithClamp(aCoord * float(AppUnitsPerCSSPixel()));
318 NSToCoordRoundWithClamp(aPoint.x * float(AppUnitsPerCSSPixel())),
319 NSToCoordRoundWithClamp(aPoint.y * float(AppUnitsPerCSSPixel())));
325 NSToCoordRoundWithClamp(float(aPoint.y) *
331 NSToCoordRoundWithClamp(aSize.width * float(AppUnitsPerCSSPixel())),
336 return nsSize(NSToCoordRoundWithClamp(float(aSize.width) *
338 NSToCoordRoundWithClamp(float(aSize.height) *
344 NSToCoordRoundWithClamp(aRect.x * float(AppUnitsPerCSSPixel())),
345 NSToCoordRoundWithClamp(aRect.y * float(AppUnitsPerCSSPixel())),
354 NSToCoordRoundWithClamp(float(aRect.Width()) *
[all …]
H A DnsPresContext.h572 return NSToCoordRoundWithClamp(float(aPixels) * in CSSPixelsToAppUnits()
577 return NSToCoordRoundWithClamp(aPixels * in CSSPixelsToAppUnits()
643 return NSToCoordRoundWithClamp(mozilla::AppUnitsPerCSSInch() * in CSSTwipsToAppUnits()
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/base/
H A DUnits.h242 return nsPoint(NSToCoordRoundWithClamp(aPoint.x * float(AppUnitsPerCSSPixel())),
243 NSToCoordRoundWithClamp(aPoint.y * float(AppUnitsPerCSSPixel())));
247 return nsPoint(NSToCoordRoundWithClamp(float(aPoint.x) * float(AppUnitsPerCSSPixel())),
252 return nsSize(NSToCoordRoundWithClamp(aSize.width * float(AppUnitsPerCSSPixel())),
253 NSToCoordRoundWithClamp(aSize.height * float(AppUnitsPerCSSPixel())));
262 return nsRect(NSToCoordRoundWithClamp(aRect.x * float(AppUnitsPerCSSPixel())),
263 NSToCoordRoundWithClamp(aRect.y * float(AppUnitsPerCSSPixel())),
264 NSToCoordRoundWithClamp(aRect.width * float(AppUnitsPerCSSPixel())),
265 NSToCoordRoundWithClamp(aRect.height * float(AppUnitsPerCSSPixel())));
269 return nsRect(NSToCoordRoundWithClamp(float(aRect.x) * float(AppUnitsPerCSSPixel())),
[all …]
H A DnsPresContext.h632 { return NSToCoordRoundWithClamp(float(aPixels) * in CSSPixelsToAppUnits()
636 { return NSToCoordRoundWithClamp(aPixels * in CSSPixelsToAppUnits()
694 { return NSToCoordRoundWithClamp( in CSSTwipsToAppUnits()
/dports/www/firefox-esr/firefox-91.8.0/layout/base/
H A DUnits.h330 return NSToCoordRoundWithClamp(aCoord * float(AppUnitsPerCSSPixel()));
335 NSToCoordRoundWithClamp(aPoint.x * float(AppUnitsPerCSSPixel())),
336 NSToCoordRoundWithClamp(aPoint.y * float(AppUnitsPerCSSPixel())));
342 NSToCoordRoundWithClamp(float(aPoint.y) *
348 NSToCoordRoundWithClamp(aSize.width * float(AppUnitsPerCSSPixel())),
353 return nsSize(NSToCoordRoundWithClamp(float(aSize.width) *
355 NSToCoordRoundWithClamp(float(aSize.height) *
361 NSToCoordRoundWithClamp(aRect.x * float(AppUnitsPerCSSPixel())),
362 NSToCoordRoundWithClamp(aRect.y * float(AppUnitsPerCSSPixel())),
371 NSToCoordRoundWithClamp(float(aRect.Width()) *
[all …]
H A DnsPresContext.h573 return NSToCoordRoundWithClamp(float(aPixels) * in CSSPixelsToAppUnits()
578 return NSToCoordRoundWithClamp(aPixels * in CSSPixelsToAppUnits()
651 return NSToCoordRoundWithClamp(mozilla::AppUnitsPerCSSInch() * in CSSTwipsToAppUnits()
/dports/www/firefox/firefox-99.0/layout/base/
H A DUnits.h341 return NSToCoordRoundWithClamp(aCoord * float(AppUnitsPerCSSPixel()));
346 NSToCoordRoundWithClamp(aPoint.x * float(AppUnitsPerCSSPixel())),
347 NSToCoordRoundWithClamp(aPoint.y * float(AppUnitsPerCSSPixel())));
353 NSToCoordRoundWithClamp(float(aPoint.y) *
359 NSToCoordRoundWithClamp(aSize.width * float(AppUnitsPerCSSPixel())),
364 return nsSize(NSToCoordRoundWithClamp(float(aSize.width) *
366 NSToCoordRoundWithClamp(float(aSize.height) *
372 NSToCoordRoundWithClamp(aRect.x * float(AppUnitsPerCSSPixel())),
373 NSToCoordRoundWithClamp(aRect.y * float(AppUnitsPerCSSPixel())),
382 NSToCoordRoundWithClamp(float(aRect.Width()) *
[all …]
H A DnsPresContext.h613 return NSToCoordRoundWithClamp(float(aPixels) * in CSSPixelsToAppUnits()
618 return NSToCoordRoundWithClamp(aPixels * in CSSPixelsToAppUnits()
691 return NSToCoordRoundWithClamp(mozilla::AppUnitsPerCSSInch() * in CSSTwipsToAppUnits()
/dports/mail/thunderbird/thunderbird-91.8.0/layout/base/
H A DUnits.h330 return NSToCoordRoundWithClamp(aCoord * float(AppUnitsPerCSSPixel()));
335 NSToCoordRoundWithClamp(aPoint.x * float(AppUnitsPerCSSPixel())),
336 NSToCoordRoundWithClamp(aPoint.y * float(AppUnitsPerCSSPixel())));
342 NSToCoordRoundWithClamp(float(aPoint.y) *
348 NSToCoordRoundWithClamp(aSize.width * float(AppUnitsPerCSSPixel())),
353 return nsSize(NSToCoordRoundWithClamp(float(aSize.width) *
355 NSToCoordRoundWithClamp(float(aSize.height) *
361 NSToCoordRoundWithClamp(aRect.x * float(AppUnitsPerCSSPixel())),
362 NSToCoordRoundWithClamp(aRect.y * float(AppUnitsPerCSSPixel())),
371 NSToCoordRoundWithClamp(float(aRect.Width()) *
[all …]
H A DnsPresContext.h573 return NSToCoordRoundWithClamp(float(aPixels) * in CSSPixelsToAppUnits()
578 return NSToCoordRoundWithClamp(aPixels * in CSSPixelsToAppUnits()
651 return NSToCoordRoundWithClamp(mozilla::AppUnitsPerCSSInch() * in CSSTwipsToAppUnits()
/dports/www/firefox-esr/firefox-91.8.0/gfx/src/
H A DnsCoord.h88 inline nscoord NSToCoordRoundWithClamp(float aValue) { in NSToCoordRoundWithClamp() function
119 return NSToCoordRoundWithClamp( in _nscoordSaturatingMultiply()
121 return NSToCoordRoundWithClamp(std::max<float>((float)nscoord_MIN, product)); in _nscoordSaturatingMultiply()
324 return NSToCoordRoundWithClamp(aPixels * aAppUnitsPerPixel); in NSFloatPixelsToAppUnits()
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/src/
H A DnsCoord.h92 inline nscoord NSToCoordRoundWithClamp(float aValue) { in NSToCoordRoundWithClamp() function
123 return NSToCoordRoundWithClamp( in _nscoordSaturatingMultiply()
125 return NSToCoordRoundWithClamp(std::max<float>((float)nscoord_MIN, product)); in _nscoordSaturatingMultiply()
329 return NSToCoordRoundWithClamp(aPixels * aAppUnitsPerPixel); in NSFloatPixelsToAppUnits()
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/src/
H A DnsCoord.h88 inline nscoord NSToCoordRoundWithClamp(float aValue) { in NSToCoordRoundWithClamp() function
119 return NSToCoordRoundWithClamp( in _nscoordSaturatingMultiply()
121 return NSToCoordRoundWithClamp(std::max<float>((float)nscoord_MIN, product)); in _nscoordSaturatingMultiply()
324 return NSToCoordRoundWithClamp(aPixels * aAppUnitsPerPixel); in NSFloatPixelsToAppUnits()
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/src/
H A DnsCoord.h103 inline nscoord NSToCoordRoundWithClamp(float aValue) in NSToCoordRoundWithClamp() function
135 return NSToCoordRoundWithClamp(std::min<float>(nscoord_MAX, product)); in _nscoordSaturatingMultiply()
136 return NSToCoordRoundWithClamp(std::max<float>(nscoord_MIN, product)); in _nscoordSaturatingMultiply()
375 return NSToCoordRoundWithClamp(aPixels * aAppUnitsPerPixel); in NSFloatPixelsToAppUnits()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/src/
H A DnsCoord.h108 inline nscoord NSToCoordRoundWithClamp(float aValue) { in NSToCoordRoundWithClamp() function
139 return NSToCoordRoundWithClamp( in _nscoordSaturatingMultiply()
141 return NSToCoordRoundWithClamp(std::max<float>((float)nscoord_MIN, product)); in _nscoordSaturatingMultiply()
345 return NSToCoordRoundWithClamp(aPixels * aAppUnitsPerPixel); in NSFloatPixelsToAppUnits()
/dports/www/firefox/firefox-99.0/gfx/src/
H A DnsCoord.h143 inline nscoord NSToCoordRoundWithClamp(float aValue) {
174 return NSToCoordRoundWithClamp(
176 return NSToCoordRoundWithClamp(std::max<float>((float)nscoord_MIN, product));
379 return NSToCoordRoundWithClamp(aPixels * aAppUnitsPerPixel);
/dports/lang/spidermonkey60/firefox-60.9.0/layout/svg/
H A DnsSVGOuterSVGFrame.cpp237 nsSize ratio(NSToCoordRoundWithClamp(width.GetAnimValue(content)), in GetIntrinsicRatio()
238 NSToCoordRoundWithClamp(height.GetAnimValue(content))); in GetIntrinsicRatio()
268 return nsSize(NSToCoordRoundWithClamp(viewBoxWidth), in GetIntrinsicRatio()
269 NSToCoordRoundWithClamp(viewBoxHeight)); in GetIntrinsicRatio()
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/svg/
H A DnsSVGOuterSVGFrame.cpp244 nsSize ratio(NSToCoordRoundWithClamp(width.GetAnimValue(content)), in GetIntrinsicRatio()
245 NSToCoordRoundWithClamp(height.GetAnimValue(content))); in GetIntrinsicRatio()
275 return nsSize(NSToCoordRoundWithClamp(viewBoxWidth), in GetIntrinsicRatio()
276 NSToCoordRoundWithClamp(viewBoxHeight)); in GetIntrinsicRatio()
/dports/www/firefox-esr/firefox-91.8.0/dom/base/
H A DDOMIntersectionObserver.cpp585 mRootMargin.Get(side).Resolve(basis, NSToCoordRoundWithClamp); in Update()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/base/
H A DDOMIntersectionObserver.cpp539 mRootMargin.Get(side).Resolve(basis, NSToCoordRoundWithClamp); in Update()
/dports/www/firefox/firefox-99.0/dom/base/
H A DDOMIntersectionObserver.cpp589 mRootMargin.Get(side).Resolve(basis, NSToCoordRoundWithClamp); in Update()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/base/
H A DDOMIntersectionObserver.cpp585 mRootMargin.Get(side).Resolve(basis, NSToCoordRoundWithClamp); in Update()
/dports/www/firefox-legacy/firefox-52.8.0esr/layout/generic/
H A DnsGfxScrollFrame.cpp2646 NSToCoordRoundWithClamp(nearestLayerVal*aAppUnitsPerPixel/aRes); in ClampAndAlignWithPixels()
2668 NSToCoordRoundWithClamp(oppositeLayerVal*aAppUnitsPerPixel/aRes); in ClampAndAlignWithPixels()
5757 return NSToCoordRoundWithClamp(snappedToLayerPixels*aAppUnitsPerPixel/aRes); in SnapCoord()

12