Lines Matching refs:y1
1813 pAreas[index].y1 = values[1];
1829 if((areas[i].x1 == 0) && (areas[i].y1 == 0)
1834 if(areas[i].y1 < -1000) return false; // top should be >= -1000
1842 if(areas[i].y1 >= areas[i].y2) // top should be < bottom
1869 ALOGV("FocusArea[%d] = (%d, %d, %d, %d, %d)", i, (areas[i].x1), (areas[i].y1),
1889 if(num_areas_found == 1 && (areas[0].x1 == 0) && (areas[0].y1 == 0)
1897 uint16_t x1, x2, y1, y2, dx, dy;
1902 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f));
1906 dy = y2 - y1;
1910 af_roi_value.roi[0].y = y1;
1924 uint16_t x1, x2, y1, y2, dx, dy;
1931 y1 = (uint16_t)((areas[i].y1 + 1000.0f)*(previewHeight/2000.0f));
1935 dy = y2 - y1;
1937 afArea.mtr_area[i].y = y1;
1975 ALOGV("MeteringArea[%d] = (%d, %d, %d, %d, %d)", i, (areas[i].x1), (areas[i].y1),
1996 if(num_areas_found == 1 && (areas[0].x1 == 0) && (areas[0].y1 == 0)
2002 uint16_t x1, x2, y1, y2;
2007 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f));
2016 aec_roi_value.aec_roi_position.coordinate.y = (y1+y2)/2;
2033 uint16_t x1, x2, y1, y2, dx, dy;
2040 y1 = (uint16_t)((areas[i].y1 + 1000.0f)*(previewHeight/2000.0f));
2044 dy = y2 - y1;
2046 aecArea.mtr_area[i].y = y1;