Lines Matching refs:mapper
155 ZoomRatioMapper mapper; in subScaleCoordinatesTest() local
158 ASSERT_EQ(OK, setupTestMapper(&mapper, maxDigitalZoom, in subScaleCoordinatesTest()
185 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest()
202 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest()
219 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest()
236 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest()
253 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f/3, false /*clamp*/, width, height); in subScaleCoordinatesTest()
266 ZoomRatioMapper mapper; in subCropOverMaxDigitalZoomTest() local
268 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subCropOverMaxDigitalZoomTest()
279 res = mapper.updateCaptureRequest(&metadata); in subCropOverMaxDigitalZoomTest()
288 res = mapper.updateCaptureResult(&metadata, true/*requestedZoomRatioIs1*/); in subCropOverMaxDigitalZoomTest()
306 ZoomRatioMapper mapper; in subCropOverZoomRangeTest() local
308 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subCropOverZoomRangeTest()
321 res = mapper.updateCaptureRequest(&metadata); in subCropOverZoomRangeTest()
332 res = mapper.updateCaptureResult(&metadata, true/*requestedZoomRatioIs1*/); in subCropOverZoomRangeTest()
346 res = mapper.updateCaptureRequest(&metadata); in subCropOverZoomRangeTest()
356 res = mapper.updateCaptureResult(&metadata, true/*requestedZoomRatioIs1*/); in subCropOverZoomRangeTest()
374 ZoomRatioMapper mapper; in subZoomOverMaxDigitalZoomTest() local
376 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subZoomOverMaxDigitalZoomTest()
391 res = mapper.updateCaptureRequest(&metadata); in subZoomOverMaxDigitalZoomTest()
418 ZoomRatioMapper mapper; in subZoomOverZoomRangeTest() local
420 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subZoomOverZoomRangeTest()
434 res = mapper.updateCaptureRequest(&metadata); in subZoomOverZoomRangeTest()
444 res = mapper.updateCaptureResult(&metadata, false/*requestedZoomRatioIs1*/); in subZoomOverZoomRangeTest()