Home
last modified time | relevance | path

Searched refs:bestSize (Results 1 – 3 of 3) sorted by relevance

/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraConfigurationManager.java137 Point bestSize = null; in findBestPreviewSizeValue() local
148 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()
/external/wayland/cursor/
Dxcursor.c408 XcursorDim bestSize = 0; in _XcursorFindBestSize() local
419 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() local
531 bestSize = _XcursorFindBestSize (fileHeader, (XcursorDim) size, &nsize); in XcursorXcFileLoadImages()
532 if (!bestSize) in XcursorXcFileLoadImages()
545 toc = _XcursorFindImageToc (fileHeader, bestSize, n); in XcursorXcFileLoadImages()
/external/dng_sdk/source/
Ddng_mosaic_info.cpp1666 int32 bestSize = SizeForDownScale (bestScale); in DownScale() local
1714 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()