Searched refs:templates (Results 1 – 2 of 2) sorted by relevance
151 JSONObject[] templates = new JSONObject[TEMPLATE_IDS.length]; in getCaptureRequestTemplates() local160 templates[i] = serialize(request.build()); in getCaptureRequestTemplates()164 templates[i] = null; in getCaptureRequestTemplates()167 return templates; in getCaptureRequestTemplates()180 StringBuffer templates = new StringBuffer("{\"CameraRequestTemplates\":{"); in getCaptureRequestTemplates() local210 templates.append("\"Camera" + id + "CaptureTemplate" + in getCaptureRequestTemplates()212 templates.append(value); in getCaptureRequestTemplates()215 templates.append(","); in getCaptureRequestTemplates()226 templates.append("}}"); in getCaptureRequestTemplates()227 return templates.toString(); in getCaptureRequestTemplates()
1631 int[] templates = new int[] { in runCaptureTest() local1640 captureBurstShot(mCameraIds[i], templates, templates.length, repeating, abort, in runCaptureTest()1730 int[] templates, in captureBurstShot() argument1738 assertTrue("Invalid args to capture function", len <= templates.length); in captureBurstShot()1745 templates[i] == CameraDevice.TEMPLATE_VIDEO_SNAPSHOT) { in captureBurstShot()1750 templates[i] != CameraDevice.TEMPLATE_PREVIEW) { in captureBurstShot()1754 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(templates[i]); in captureBurstShot()