Home
last modified time | relevance | path

Searched refs:afMode (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFocusStateMapper.java90 final String afMode = parameters.getFocusMode(); in processRequestTriggers() local
92 if (!Objects.equals(mAfModePrevious, afMode)) { in processRequestTriggers()
95 " to " + afMode); in processRequestTriggers()
107 mAfModePrevious = afMode; in processRequestTriggers()
143 switch (afMode) { in processRequestTriggers()
150 + afMode); in processRequestTriggers()
160 switch (afMode) { in processRequestTriggers()
175 switch (afMode) { in processRequestTriggers()
228 switch (afMode) { in processRequestTriggers()
237 + afMode); in processRequestTriggers()
DLegacyMetadataMapper.java1324 int afMode; in createRequestTemplate() local
1328 afMode = CameraMetadata.CONTROL_AF_MODE_OFF; in createRequestTemplate()
1331 afMode = CameraMetadata.CONTROL_AF_MODE_AUTO; in createRequestTemplate()
1337 afMode = CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_VIDEO; in createRequestTemplate()
1343 afMode = CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_PICTURE; in createRequestTemplate()
1350 " afMode=" + afMode + ", minimumFocusDistance=" + minimumFocusDistance); in createRequestTemplate()
1353 m.set(CaptureRequest.CONTROL_AF_MODE, afMode); in createRequestTemplate()
DLegacyRequestMapper.java228 int afMode = ParamsUtils.getOrDefault(request, CONTROL_AF_MODE, in convertRequestMetadata() local
230 String focusMode = LegacyMetadataMapper.convertAfModeToLegacy(afMode, in convertRequestMetadata()
239 + afMode + " mapped to " + focusMode); in convertRequestMetadata()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/pos/
DAutoFocusStateMachine.java128 Integer afMode = result.get(CaptureResult.CONTROL_AF_MODE); in onCaptureCompleted() local
137 } else if (afMode == null) { in onCaptureCompleted()
142 if (DEBUG_LOGGING) Log.d(TAG, "onCaptureCompleted - new AF mode = " + afMode + in onCaptureCompleted()
145 if (mLastAfState == afState && afMode == mLastAfMode) { in onCaptureCompleted()
150 if (VERBOSE_LOGGING) Log.v(TAG, "onCaptureCompleted - new AF mode = " + afMode + in onCaptureCompleted()
154 mLastAfMode = afMode; in onCaptureCompleted()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp55 m3aState.afMode = ANDROID_CONTROL_AF_MODE_OFF; in FrameProcessor()
57 m3aState.afMode = ANDROID_CONTROL_AF_MODE_AUTO; in FrameProcessor()
280 &pendingState.afMode, frameNumber, cameraId); in process3aState()
324 pendingState.afMode != m3aState.afMode || in process3aState()
329 m3aState.afMode, pendingState.afMode, in process3aState()
DFrameProcessor.h74 camera_metadata_enum_android_control_af_mode afMode; member
86 afMode((camera_metadata_enum_android_control_af_mode)NOT_SET), in AlgState()
DZslProcessor.cpp505 bool ZslProcessor::isFixedFocusMode(uint8_t afMode) const { in isFixedFocusMode()
506 switch (afMode) { in isFixedFocusMode()
517 ALOGE("%s: unknown focus mode %d", __FUNCTION__, afMode); in isFixedFocusMode()
573 uint8_t afMode = entry.data.u8[0]; in getCandidateTimestampLocked() local
574 if (afMode == ANDROID_CONTROL_AF_MODE_OFF) { in getCandidateTimestampLocked()
581 if (mHasFocuser && !isFixedFocusMode(afMode)) { in getCandidateTimestampLocked()
DZslProcessor.h148 bool isFixedFocusMode(uint8_t afMode) const;
DParameters.cpp1097 uint8_t afMode = in buildFastInfo() local
1099 switch(afMode) { in buildFastInfo()
1116 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1120 afMode); in buildFastInfo()