3 references to WeightedAbs
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonWindowSmallIconConverter.cs (3)
198
int score = 2 *
WeightedAbs
(bpp, GetBitDepth(), false) +
199
WeightedAbs
(frame.PixelWidth, (int)size.Width, true) +
200
WeightedAbs
(frame.PixelHeight, (int)size.Height, true);