Home
last modified time | relevance | path

Searched refs:captureIntent (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyRequestMapper.java277 int captureIntent = ParamsUtils.getOrDefault(request, in convertRequestMetadata() local
281 captureIntent = filterSupportedCaptureIntent(captureIntent); in convertRequestMetadata()
284 captureIntent == CONTROL_CAPTURE_INTENT_VIDEO_RECORD || in convertRequestMetadata()
285 captureIntent == CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT); in convertRequestMetadata()
462 static int filterSupportedCaptureIntent(int captureIntent) { in filterSupportedCaptureIntent() argument
463 switch (captureIntent) { in filterSupportedCaptureIntent()
472 captureIntent = CONTROL_CAPTURE_INTENT_PREVIEW; in filterSupportedCaptureIntent()
473 Log.w(TAG, "Unsupported control.captureIntent value " + captureIntent in filterSupportedCaptureIntent()
476 captureIntent = CONTROL_CAPTURE_INTENT_PREVIEW; in filterSupportedCaptureIntent()
477 Log.w(TAG, "Unknown control.captureIntent value " + captureIntent in filterSupportedCaptureIntent()
[all …]
DLegacyResultMapper.java156 int captureIntent = ParamsUtils.getOrDefault(request, in convertResultMetadata() local
160 captureIntent = LegacyRequestMapper.filterSupportedCaptureIntent(captureIntent); in convertResultMetadata()
162 result.set(CONTROL_CAPTURE_INTENT, captureIntent); in convertResultMetadata()
DLegacyMetadataMapper.java1304 int captureIntent; in createRequestTemplate() local
1307 captureIntent = CONTROL_CAPTURE_INTENT_PREVIEW; in createRequestTemplate()
1310 captureIntent = CONTROL_CAPTURE_INTENT_STILL_CAPTURE; in createRequestTemplate()
1313 captureIntent = CONTROL_CAPTURE_INTENT_VIDEO_RECORD; in createRequestTemplate()
1319 m.set(CaptureRequest.CONTROL_CAPTURE_INTENT, captureIntent); in createRequestTemplate()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DCaptureSequencer.cpp705 uint8_t captureIntent = static_cast<uint8_t>(ANDROID_CONTROL_CAPTURE_INTENT_STILL_CAPTURE); in updateCaptureRequest() local
720 captureIntent = static_cast<uint8_t>(ANDROID_CONTROL_CAPTURE_INTENT_VIDEO_SNAPSHOT); in updateCaptureRequest()
722 res = mCaptureRequest.update(ANDROID_CONTROL_CAPTURE_INTENT, &captureIntent, 1); in updateCaptureRequest()
DZslProcessor.cpp519 uint8_t captureIntent = in pushToReprocess() local
522 &captureIntent, 1); in pushToReprocess()
/frameworks/base/core/java/android/hardware/camera2/
DCaptureRequest.java282 int captureIntent = mLogicalCameraSettings.get( in getRequestType() local
284 if (captureIntent == CameraMetadata.CONTROL_CAPTURE_INTENT_STILL_CAPTURE) { in getRequestType()