135 references to Floor
dotnet-svcutil-lib (1)
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.HttpsPolicy (1)
Microsoft.Build (1)
Microsoft.CodeAnalysis.EditorFeatures (2)
Microsoft.Maui (1)
Microsoft.Maui.Graphics (2)
Microsoft.Maui.Graphics.Skia (1)
Microsoft.ML.AutoML (1)
Microsoft.ML.Core (4)
Microsoft.ML.FastTree (2)
Microsoft.ML.SearchSpace (2)
Microsoft.ML.StandardTrainers (1)
Microsoft.ML.TestFramework (1)
Microsoft.ML.TimeSeries (1)
Microsoft.ML.Transforms (2)
PresentationBuildTasks (1)
PresentationCore (14)
PresentationFramework (59)
System\Windows\Controls\VirtualizingStackPanel.cs (41)
523_scrollData._offset.X = Math.Floor(_scrollData._offset.X);
524_scrollData._computedOffset.X = Math.Floor(_scrollData._computedOffset.X);
651_scrollData._offset.Y = Math.Floor(_scrollData._offset.Y);
652_scrollData._computedOffset.Y = Math.Floor(_scrollData._computedOffset.Y);
5074cacheBeforeSize = Math.Max(cacheBeforeSize - Math.Floor(logicalSize.Width * sizeBeforeStartViewportEdge / pixelSize.Width), 0);
5120cacheAfterSize = Math.Max(cacheAfterSize - Math.Floor(logicalSize.Width * sizeAfterEndViewportEdge / pixelSize.Width), 0);
5173cacheBeforeSize = Math.Max(cacheBeforeSize - Math.Floor(logicalSize.Height * sizeBeforeStartViewportEdge / pixelSize.Height), 0);
5219cacheAfterSize = Math.Max(cacheAfterSize - Math.Floor(logicalSize.Height * sizeAfterEndViewportEdge / pixelSize.Height), 0);
5547firstItemInViewportIndex = (int)Math.Floor(spanBeforeViewport / childSize);
7257logicalSizeBeforeViewport = Math.Floor(childLogicalSize.Width * pixelSizeBeforeViewport / childPixelSize.Width);
7258logicalSizeAfterViewport = Math.Floor(childLogicalSize.Width * pixelSizeAfterViewport / childPixelSize.Width);
7349logicalSizeBeforeViewport = Math.Floor(childLogicalSize.Height * pixelSizeBeforeViewport / childPixelSize.Height);
7350logicalSizeAfterViewport = Math.Floor(childLogicalSize.Height * pixelSizeAfterViewport / childPixelSize.Height);
9713Debug.Assert(DoubleUtil.AreClose(viewportSize.Width - Math.Floor(viewportSize.Width), 0.0), "The viewport size must not contain fractional values when in item scrolling mode.");
9714Debug.Assert(DoubleUtil.AreClose(extentSize.Width - Math.Floor(extentSize.Width), 0.0), "The extent size must not contain fractional values when in item scrolling mode.");
9718Debug.Assert(DoubleUtil.AreClose(viewportSize.Height - Math.Floor(viewportSize.Height), 0.0), "The viewport size must not contain fractional values when in item scrolling mode.");
9719Debug.Assert(DoubleUtil.AreClose(extentSize.Height - Math.Floor(extentSize.Height), 0.0), "The extent size must not contain fractional values when in item scrolling mode.");
9969double proposedViewportSize = Math.Floor(viewport.Width / approxSizeOfLogicalUnit);
10062if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData._extent.Width))
10065viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData._extent.Width);
10186double proposedViewportSize = Math.Floor(viewport.Height / approxSizeOfLogicalUnit);
10279if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData._extent.Height))
10282viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData._extent.Height);
10562Debug.Assert(DoubleUtil.AreClose(viewportSize.Width - Math.Floor(viewportSize.Width), 0.0), "The viewport size must not contain fractional values when in item scrolling mode.");
10563Debug.Assert(DoubleUtil.AreClose(extentSize.Width - Math.Floor(extentSize.Width), 0.0), "The extent size must not contain fractional values when in item scrolling mode.");
10567Debug.Assert(DoubleUtil.AreClose(viewportSize.Height - Math.Floor(viewportSize.Height), 0.0), "The viewport size must not contain fractional values when in item scrolling mode.");
10568Debug.Assert(DoubleUtil.AreClose(extentSize.Height - Math.Floor(extentSize.Height), 0.0), "The extent size must not contain fractional values when in item scrolling mode.");
10651double proposedViewportSize = Math.Floor(viewport.Width / approxSizeOfLogicalUnit);
10733if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.X)/extentSize.Width, Math.Floor(_scrollData._offset.X)/_scrollData._extent.Width))
10736viewportOffset.X = Math.Floor((extentSize.Width * Math.Floor(_scrollData._offset.X)) / _scrollData._extent.Width);
10782double proposedViewportSize = Math.Floor(viewport.Height / approxSizeOfLogicalUnit);
10864if (!LayoutDoubleUtil.AreClose(Math.Floor(computedViewportOffset.Y)/extentSize.Height, Math.Floor(_scrollData._offset.Y)/_scrollData._extent.Height))
10867viewportOffset.Y = Math.Floor((extentSize.Height * Math.Floor(_scrollData._offset.Y)) / _scrollData._extent.Height);
PresentationFramework.Classic (1)
PresentationUI (1)
ReachFramework (4)
System.Data.Common (6)
System.Private.CoreLib (12)
System.Private.Xml (5)
System.Runtime.Numerics (1)
System.Windows.Forms (6)