Home
last modified time | relevance | path

Searched refs:previewHeight (Results 1 – 5 of 5) sorted by relevance

/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.cpp1454 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
1463 previewHeight = dinfo.h; in createPreviewSurface()
1465 previewHeight = height; in createPreviewSurface()
1477 previewHeight, in createPreviewSurface()
1493 dinfo.w - previewWidth, dinfo.h - previewHeight); in createPreviewSurface()
1495 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
1765 int previewWidth, previewHeight; in startPreview() local
1798 previewHeight = calculatedPreviewSize.height; in startPreview()
1801 previewHeight = currentPreviewSize.height; in startPreview()
1805 previewHeight, in startPreview()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp1934 int previewWidth, previewHeight; in setFocusAreas() local
1935 this->getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
1938 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); in setFocusAreas()
1940 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); in setFocusAreas()
2009 int previewWidth, previewHeight; in setMeteringAreas() local
2010 this->getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
2013 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); in setMeteringAreas()
2015 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); in setMeteringAreas()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp5839 int previewWidth, previewHeight; in setFocusAreas() local
5840 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
5851 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
5853 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
5918 int previewWidth, previewHeight; in setMeteringAreas() local
5919 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
5935 … (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ; in setMeteringAreas()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp7523 int previewWidth, previewHeight; in setFocusAreas() local
7524 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
7540 ((double)previewHeight / 2000.0)); in setFocusAreas()
7546 (double)previewHeight / 2000.0); in setFocusAreas()
7612 int previewWidth, previewHeight; in setMeteringAreas() local
7613 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
7634 (double)previewHeight / 2000.0); in setMeteringAreas()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp7523 int previewWidth, previewHeight; in setFocusAreas() local
7524 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
7540 ((double)previewHeight / 2000.0)); in setFocusAreas()
7546 (double)previewHeight / 2000.0); in setFocusAreas()
7612 int previewWidth, previewHeight; in setMeteringAreas() local
7613 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
7634 (double)previewHeight / 2000.0); in setMeteringAreas()