Home
last modified time | relevance | path

Searched refs:NSToIntRound (Results 1 – 25 of 229) sorted by relevance

12345678910

/dports/www/firefox-legacy/firefox-52.8.0esr/widget/windows/
H A DnsScreenWin.cpp119 *outLeft = NSToIntRound(left * scaleFactor); in GetRectDisplayPix()
120 *outTop = NSToIntRound(top * scaleFactor); in GetRectDisplayPix()
121 *outWidth = NSToIntRound(width * scaleFactor); in GetRectDisplayPix()
122 *outHeight = NSToIntRound(height * scaleFactor); in GetRectDisplayPix()
140 *outLeft = NSToIntRound(left * scaleFactor); in GetAvailRectDisplayPix()
141 *outTop = NSToIntRound(top * scaleFactor); in GetAvailRectDisplayPix()
142 *outWidth = NSToIntRound(width * scaleFactor); in GetAvailRectDisplayPix()
143 *outHeight = NSToIntRound(height * scaleFactor); in GetAvailRectDisplayPix()
/dports/www/firefox-legacy/firefox-52.8.0esr/widget/cocoa/
H A DnsCocoaUtils.h136 return NSToIntRound(aPts * aBackingScale); in CocoaPointsToDevPixels()
142 return LayoutDeviceIntPoint(NSToIntRound(aPt.x * aBackingScale), in CocoaPointsToDevPixels()
143 NSToIntRound(aPt.y * aBackingScale)); in CocoaPointsToDevPixels()
156 return LayoutDeviceIntRect(NSToIntRound(aRect.origin.x * aBackingScale), in CocoaPointsToDevPixels()
157 NSToIntRound(aRect.origin.y * aBackingScale), in CocoaPointsToDevPixels()
158 NSToIntRound(aRect.size.width * aBackingScale), in CocoaPointsToDevPixels()
159 NSToIntRound(aRect.size.height * aBackingScale)); in CocoaPointsToDevPixels()
/dports/lang/spidermonkey60/firefox-60.9.0/widget/cocoa/
H A DnsCocoaUtils.h118 return NSToIntRound(aPts * aBackingScale); in CocoaPointsToDevPixels()
122 return LayoutDeviceIntPoint(NSToIntRound(aPt.x * aBackingScale), in CocoaPointsToDevPixels()
123 NSToIntRound(aPt.y * aBackingScale)); in CocoaPointsToDevPixels()
133 return LayoutDeviceIntRect(NSToIntRound(aRect.origin.x * aBackingScale), in CocoaPointsToDevPixels()
134 NSToIntRound(aRect.origin.y * aBackingScale), in CocoaPointsToDevPixels()
135 NSToIntRound(aRect.size.width * aBackingScale), in CocoaPointsToDevPixels()
136 NSToIntRound(aRect.size.height * aBackingScale)); in CocoaPointsToDevPixels()
/dports/lang/spidermonkey60/firefox-60.9.0/xpfe/appshell/
H A DnsXULWindow.cpp633 left = NSToIntRound(left / scale); in Center()
634 top = NSToIntRound(top / scale); in Center()
635 width = NSToIntRound(width / scale); in Center()
636 height = NSToIntRound(height / scale); in Center()
674 scaledWidth = NSToIntRound(ourWidth / scale); in Center()
1104 currX = NSToIntRound(currX * devToDesktopScale); in LoadPositionFromXUL()
1105 currY = NSToIntRound(currY * devToDesktopScale); in LoadPositionFromXUL()
1140 parentX = NSToIntRound(parentX / scale); in LoadPositionFromXUL()
1141 parentY = NSToIntRound(parentY / scale); in LoadPositionFromXUL()
1401 listX = NSToIntRound(listX / scale); in StaggerPosition()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/widget/cocoa/
H A DnsCocoaUtils.h124 return NSToIntRound(aPts * aBackingScale); in CocoaPointsToDevPixels()
128 return LayoutDeviceIntPoint(NSToIntRound(aPt.x * aBackingScale), in CocoaPointsToDevPixels()
129 NSToIntRound(aPt.y * aBackingScale)); in CocoaPointsToDevPixels()
139 return LayoutDeviceIntRect(NSToIntRound(aRect.origin.x * aBackingScale), in CocoaPointsToDevPixels()
140 NSToIntRound(aRect.origin.y * aBackingScale), in CocoaPointsToDevPixels()
141 NSToIntRound(aRect.size.width * aBackingScale), in CocoaPointsToDevPixels()
142 NSToIntRound(aRect.size.height * aBackingScale)); in CocoaPointsToDevPixels()
/dports/mail/thunderbird/thunderbird-91.8.0/widget/cocoa/
H A DnsCocoaUtils.h127 return NSToIntRound(aPts * aBackingScale); in CocoaPointsToDevPixels()
131 return LayoutDeviceIntPoint(NSToIntRound(aPt.x * aBackingScale), in CocoaPointsToDevPixels()
132 NSToIntRound(aPt.y * aBackingScale)); in CocoaPointsToDevPixels()
142 return LayoutDeviceIntRect(NSToIntRound(aRect.origin.x * aBackingScale), in CocoaPointsToDevPixels()
143 NSToIntRound(aRect.origin.y * aBackingScale), in CocoaPointsToDevPixels()
144 NSToIntRound(aRect.size.width * aBackingScale), in CocoaPointsToDevPixels()
145 NSToIntRound(aRect.size.height * aBackingScale)); in CocoaPointsToDevPixels()
/dports/www/firefox/firefox-99.0/widget/cocoa/
H A DnsCocoaUtils.h127 return NSToIntRound(aPts * aBackingScale); in CocoaPointsToDevPixels()
131 return LayoutDeviceIntPoint(NSToIntRound(aPt.x * aBackingScale), in CocoaPointsToDevPixels()
132 NSToIntRound(aPt.y * aBackingScale)); in CocoaPointsToDevPixels()
142 return LayoutDeviceIntRect(NSToIntRound(aRect.origin.x * aBackingScale), in CocoaPointsToDevPixels()
143 NSToIntRound(aRect.origin.y * aBackingScale), in CocoaPointsToDevPixels()
144 NSToIntRound(aRect.size.width * aBackingScale), in CocoaPointsToDevPixels()
145 NSToIntRound(aRect.size.height * aBackingScale)); in CocoaPointsToDevPixels()
/dports/www/firefox-esr/firefox-91.8.0/widget/cocoa/
H A DnsCocoaUtils.h127 return NSToIntRound(aPts * aBackingScale); in CocoaPointsToDevPixels()
131 return LayoutDeviceIntPoint(NSToIntRound(aPt.x * aBackingScale), in CocoaPointsToDevPixels()
132 NSToIntRound(aPt.y * aBackingScale)); in CocoaPointsToDevPixels()
142 return LayoutDeviceIntRect(NSToIntRound(aRect.origin.x * aBackingScale), in CocoaPointsToDevPixels()
143 NSToIntRound(aRect.origin.y * aBackingScale), in CocoaPointsToDevPixels()
144 NSToIntRound(aRect.size.width * aBackingScale), in CocoaPointsToDevPixels()
145 NSToIntRound(aRect.size.height * aBackingScale)); in CocoaPointsToDevPixels()
/dports/www/firefox-esr/firefox-91.8.0/gfx/src/
H A DnsCoord.h312 inline int32_t NSToIntRound(float aValue) { return NS_lroundf(aValue); } in NSToIntRound() function
314 inline int32_t NSToIntRound(double aValue) { return NS_lround(aValue); } in NSToIntRound() function
348 return NSToIntRound(float(aAppUnits) / aAppUnitsPerPixel); in NSAppUnitsToIntPixels()
383 #define NS_POINTS_TO_INT_TWIPS(x) NSToIntRound(NS_POINTS_TO_TWIPS(x))
384 #define NS_INCHES_TO_INT_TWIPS(x) NSToIntRound(NS_INCHES_TO_TWIPS(x))
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/src/
H A DnsCoord.h317 inline int32_t NSToIntRound(float aValue) { return NS_lroundf(aValue); } in NSToIntRound() function
319 inline int32_t NSToIntRound(double aValue) { return NS_lround(aValue); } in NSToIntRound() function
353 return NSToIntRound(float(aAppUnits) / aAppUnitsPerPixel); in NSAppUnitsToIntPixels()
388 #define NS_POINTS_TO_INT_TWIPS(x) NSToIntRound(NS_POINTS_TO_TWIPS(x))
389 #define NS_INCHES_TO_INT_TWIPS(x) NSToIntRound(NS_INCHES_TO_TWIPS(x))
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/src/
H A DnsCoord.h312 inline int32_t NSToIntRound(float aValue) { return NS_lroundf(aValue); } in NSToIntRound() function
314 inline int32_t NSToIntRound(double aValue) { return NS_lround(aValue); } in NSToIntRound() function
348 return NSToIntRound(float(aAppUnits) / aAppUnitsPerPixel); in NSAppUnitsToIntPixels()
383 #define NS_POINTS_TO_INT_TWIPS(x) NSToIntRound(NS_POINTS_TO_TWIPS(x))
384 #define NS_INCHES_TO_INT_TWIPS(x) NSToIntRound(NS_INCHES_TO_TWIPS(x))
/dports/www/firefox-legacy/firefox-52.8.0esr/gfx/src/
H A DnsCoord.h355 inline int32_t NSToIntRound(float aValue) in NSToIntRound() function
360 inline int32_t NSToIntRound(double aValue) in NSToIntRound() function
399 return NSToIntRound(float(aAppUnits) / aAppUnitsPerPixel); in NSAppUnitsToIntPixels()
435 #define NS_POINTS_TO_INT_TWIPS(x) NSToIntRound(NS_POINTS_TO_TWIPS(x))
436 #define NS_INCHES_TO_INT_TWIPS(x) NSToIntRound(NS_INCHES_TO_TWIPS(x))
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/src/
H A DnsCoord.h333 inline int32_t NSToIntRound(float aValue) { return NS_lroundf(aValue); } in NSToIntRound() function
335 inline int32_t NSToIntRound(double aValue) { return NS_lround(aValue); } in NSToIntRound() function
369 return NSToIntRound(float(aAppUnits) / aAppUnitsPerPixel); in NSAppUnitsToIntPixels()
404 #define NS_POINTS_TO_INT_TWIPS(x) NSToIntRound(NS_POINTS_TO_TWIPS(x))
405 #define NS_INCHES_TO_INT_TWIPS(x) NSToIntRound(NS_INCHES_TO_TWIPS(x))
/dports/www/firefox-legacy/firefox-52.8.0esr/xpfe/appshell/
H A DnsXULWindow.cpp725 left = NSToIntRound(left / scale); in Center()
726 top = NSToIntRound(top / scale); in Center()
727 width = NSToIntRound(width / scale); in Center()
728 height = NSToIntRound(height / scale); in Center()
764 scaledWidth = NSToIntRound(ourWidth / scale); in Center()
1140 currX = NSToIntRound(currX * devToDesktopScale); in LoadPositionFromXUL()
1141 currY = NSToIntRound(currY * devToDesktopScale); in LoadPositionFromXUL()
1176 parentX = NSToIntRound(parentX / scale); in LoadPositionFromXUL()
1177 parentY = NSToIntRound(parentY / scale); in LoadPositionFromXUL()
1449 listX = NSToIntRound(listX / scale); in StaggerPosition()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/xpfe/appshell/
H A DAppWindow.cpp178 NSToIntRound(x / scale), NSToIntRound(y / scale), in NS_IMPL_RELEASE()
179 NSToIntRound(width / scale), NSToIntRound(height / scale)); in NS_IMPL_RELEASE()
820 left = NSToIntRound(left / scale); in Center()
821 top = NSToIntRound(top / scale); in Center()
822 width = NSToIntRound(width / scale); in Center()
823 height = NSToIntRound(height / scale); in Center()
861 scaledWidth = NSToIntRound(ourWidth / scale); in Center()
1264 currX = NSToIntRound(currX * devToDesktopScale); in LoadPositionFromXUL()
1265 currY = NSToIntRound(currY * devToDesktopScale); in LoadPositionFromXUL()
1571 listX = NSToIntRound(listX / scale); in StaggerPosition()
[all …]
/dports/www/firefox/firefox-99.0/gfx/src/
H A DnsCoord.h367 inline int32_t NSToIntRound(float aValue) { return NS_lroundf(aValue); }
369 inline int32_t NSToIntRound(double aValue) { return NS_lround(aValue); }
403 return NSToIntRound(float(aAppUnits) / aAppUnitsPerPixel);
438 #define NS_POINTS_TO_INT_TWIPS(x) NSToIntRound(NS_POINTS_TO_TWIPS(x))
439 #define NS_INCHES_TO_INT_TWIPS(x) NSToIntRound(NS_INCHES_TO_TWIPS(x))
/dports/mail/thunderbird/thunderbird-91.8.0/xpfe/appshell/
H A DAppWindow.cpp192 NSToIntRound(x / scale), NSToIntRound(y / scale), in NS_IMPL_RELEASE()
193 NSToIntRound(width / scale), NSToIntRound(height / scale)); in NS_IMPL_RELEASE()
819 left = NSToIntRound(left / scale); in Center()
820 top = NSToIntRound(top / scale); in Center()
821 width = NSToIntRound(width / scale); in Center()
822 height = NSToIntRound(height / scale); in Center()
860 scaledWidth = NSToIntRound(ourWidth / scale); in Center()
1259 currX = NSToIntRound(currX * devToDesktopScale); in LoadPositionFromXUL()
1260 currY = NSToIntRound(currY * devToDesktopScale); in LoadPositionFromXUL()
1566 listX = NSToIntRound(listX / scale); in StaggerPosition()
[all …]
/dports/www/firefox/firefox-99.0/xpfe/appshell/
H A DAppWindow.cpp194 NSToIntRound(x / scale), NSToIntRound(y / scale), in NS_IMPL_RELEASE()
195 NSToIntRound(width / scale), NSToIntRound(height / scale)); in NS_IMPL_RELEASE()
822 left = NSToIntRound(left / scale); in Center()
823 top = NSToIntRound(top / scale); in Center()
824 width = NSToIntRound(width / scale); in Center()
825 height = NSToIntRound(height / scale); in Center()
863 scaledWidth = NSToIntRound(ourWidth / scale); in Center()
1262 currX = NSToIntRound(currX * devToDesktopScale); in LoadPositionFromXUL()
1263 currY = NSToIntRound(currY * devToDesktopScale); in LoadPositionFromXUL()
1569 listX = NSToIntRound(listX / scale); in StaggerPosition()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/xpfe/appshell/
H A DAppWindow.cpp192 NSToIntRound(x / scale), NSToIntRound(y / scale), in NS_IMPL_RELEASE()
193 NSToIntRound(width / scale), NSToIntRound(height / scale)); in NS_IMPL_RELEASE()
819 left = NSToIntRound(left / scale); in Center()
820 top = NSToIntRound(top / scale); in Center()
821 width = NSToIntRound(width / scale); in Center()
822 height = NSToIntRound(height / scale); in Center()
860 scaledWidth = NSToIntRound(ourWidth / scale); in Center()
1259 currX = NSToIntRound(currX * devToDesktopScale); in LoadPositionFromXUL()
1260 currY = NSToIntRound(currY * devToDesktopScale); in LoadPositionFromXUL()
1566 listX = NSToIntRound(listX / scale); in StaggerPosition()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/dom/base/
H A DnsScreen.cpp119 aRect.x = NSToIntRound(screenTopLeftDesk.x); in GetRect()
120 aRect.y = NSToIntRound(screenTopLeftDesk.y); in GetRect()
149 aRect.x = NSToIntRound(screenTopLeftDesk.x) + in GetAvailRect()
151 aRect.y = NSToIntRound(screenTopLeftDesk.y) + in GetAvailRect()
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/base/
H A DnsScreen.cpp143 aRect.x = NSToIntRound(screenTopLeftDesk.x); in GetRect()
144 aRect.y = NSToIntRound(screenTopLeftDesk.y); in GetRect()
176 aRect.x = NSToIntRound(screenTopLeftDesk.x) + in GetAvailRect()
178 aRect.y = NSToIntRound(screenTopLeftDesk.y) + in GetAvailRect()
/dports/www/firefox-esr/firefox-91.8.0/dom/base/
H A DnsScreen.cpp117 aRect.x = NSToIntRound(screenTopLeftDesk.x); in GetRect()
118 aRect.y = NSToIntRound(screenTopLeftDesk.y); in GetRect()
163 aRect.x = NSToIntRound(screenTopLeftDesk.x) + in GetAvailRect()
165 aRect.y = NSToIntRound(screenTopLeftDesk.y) + in GetAvailRect()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/base/
H A DnsScreen.cpp117 aRect.x = NSToIntRound(screenTopLeftDesk.x); in GetRect()
118 aRect.y = NSToIntRound(screenTopLeftDesk.y); in GetRect()
163 aRect.x = NSToIntRound(screenTopLeftDesk.x) + in GetAvailRect()
165 aRect.y = NSToIntRound(screenTopLeftDesk.y) + in GetAvailRect()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/base/
H A DnsScreen.cpp117 aRect.x = NSToIntRound(screenTopLeftDesk.x); in GetRect()
118 aRect.y = NSToIntRound(screenTopLeftDesk.y); in GetRect()
163 aRect.x = NSToIntRound(screenTopLeftDesk.x) + in GetAvailRect()
165 aRect.y = NSToIntRound(screenTopLeftDesk.y) + in GetAvailRect()
/dports/lang/spidermonkey78/firefox-78.9.0/toolkit/components/windowwatcher/
H A DnsWindowWatcher.cpp2222 left = NSToIntRound(left / scale); in SizeOpenedWindow()
2223 top = NSToIntRound(top / scale); in SizeOpenedWindow()
2224 width = NSToIntRound(width / scale); in SizeOpenedWindow()
2225 height = NSToIntRound(height / scale); in SizeOpenedWindow()
2241 left = NSToIntRound(aSizeSpec.mLeft * openerZoom); in SizeOpenedWindow()
2245 top = NSToIntRound(aSizeSpec.mTop * openerZoom); in SizeOpenedWindow()
2250 width = NSToIntRound(aSizeSpec.mOuterWidth * openerZoom); in SizeOpenedWindow()
2296 screenLeft = NSToIntRound(screenLeft / scale); in SizeOpenedWindow()
2297 screenTop = NSToIntRound(screenTop / scale); in SizeOpenedWindow()
2298 screenWidth = NSToIntRound(screenWidth / scale); in SizeOpenedWindow()
[all …]

12345678910