Searched refs:bestSize (Results 1 – 3 of 3) sorted by relevance
137 Point bestSize = null; in findBestPreviewSizeValue() local148 bestSize = new Point(supportedWidth, supportedHeight); in findBestPreviewSizeValue()152 bestSize = new Point(supportedWidth, supportedHeight); in findBestPreviewSizeValue()156 if (bestSize == null) { in findBestPreviewSizeValue()158 bestSize = new Point(defaultSize.width, defaultSize.height); in findBestPreviewSizeValue()160 return bestSize; in findBestPreviewSizeValue()
408 XcursorDim bestSize = 0; in _XcursorFindBestSize() local419 if (!bestSize || dist (thisSize, size) < dist (bestSize, size)) in _XcursorFindBestSize()421 bestSize = thisSize; in _XcursorFindBestSize()424 else if (thisSize == bestSize) in _XcursorFindBestSize()428 return bestSize; in _XcursorFindBestSize()520 XcursorDim bestSize; in XcursorXcFileLoadImages() local531 bestSize = _XcursorFindBestSize (fileHeader, (XcursorDim) size, &nsize); in XcursorXcFileLoadImages()532 if (!bestSize) in XcursorXcFileLoadImages()545 toc = _XcursorFindImageToc (fileHeader, bestSize, n); in XcursorXcFileLoadImages()
1666 int32 bestSize = SizeForDownScale (bestScale); in DownScale() local1714 Abs_int32 (bestSize - (int32) prefSize)) in DownScale()1717 bestSize = testSize; in DownScale()1746 Abs_int32 (bestSize - (int32) prefSize)) in DownScale()1749 bestSize = testSize; in DownScale()