Lines Matching refs:mapper
155 ZoomRatioMapper mapper; in subScaleCoordinatesTest() local
158 ASSERT_EQ(OK, setupTestMapper(&mapper, maxDigitalZoom, in subScaleCoordinatesTest()
183 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest()
200 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest()
217 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest()
234 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest()
251 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f/3, false /*clamp*/, width, height); in subScaleCoordinatesTest()
263 mapper.scaleRegion(coordinates, scaleRatio, width, height); in subScaleCoordinatesTest()
277 ZoomRatioMapper mapper; in subCropOverMaxDigitalZoomTest() local
279 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subCropOverMaxDigitalZoomTest()
290 res = mapper.updateCaptureRequest(&metadata); in subCropOverMaxDigitalZoomTest()
299 res = mapper.updateCaptureResult(&metadata, true/*requestedZoomRatioIs1*/); in subCropOverMaxDigitalZoomTest()
317 ZoomRatioMapper mapper; in subCropOverZoomRangeTest() local
319 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subCropOverZoomRangeTest()
332 res = mapper.updateCaptureRequest(&metadata); in subCropOverZoomRangeTest()
343 res = mapper.updateCaptureResult(&metadata, true/*requestedZoomRatioIs1*/); in subCropOverZoomRangeTest()
357 res = mapper.updateCaptureRequest(&metadata); in subCropOverZoomRangeTest()
367 res = mapper.updateCaptureResult(&metadata, true/*requestedZoomRatioIs1*/); in subCropOverZoomRangeTest()
385 ZoomRatioMapper mapper; in subZoomOverMaxDigitalZoomTest() local
387 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subZoomOverMaxDigitalZoomTest()
402 res = mapper.updateCaptureRequest(&metadata); in subZoomOverMaxDigitalZoomTest()
429 ZoomRatioMapper mapper; in subZoomOverZoomRangeTest() local
431 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subZoomOverZoomRangeTest()
445 res = mapper.updateCaptureRequest(&metadata); in subZoomOverZoomRangeTest()
455 res = mapper.updateCaptureResult(&metadata, false/*requestedZoomRatioIs1*/); in subZoomOverZoomRangeTest()