Home
last modified time | relevance | path

Searched refs:afMode (Results 1 – 10 of 10) 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.java1342 int afMode; in createRequestTemplate() local
1346 afMode = CameraMetadata.CONTROL_AF_MODE_OFF; in createRequestTemplate()
1349 afMode = CameraMetadata.CONTROL_AF_MODE_AUTO; in createRequestTemplate()
1355 afMode = CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_VIDEO; in createRequestTemplate()
1361 afMode = CaptureRequest.CONTROL_AF_MODE_CONTINUOUS_PICTURE; in createRequestTemplate()
1368 " afMode=" + afMode + ", minimumFocusDistance=" + minimumFocusDistance); in createRequestTemplate()
1371 m.set(CaptureRequest.CONTROL_AF_MODE, afMode); in createRequestTemplate()
DLegacyRequestMapper.java229 int afMode = ParamsUtils.getOrDefault(request, CONTROL_AF_MODE, in convertRequestMetadata() local
231 String focusMode = LegacyMetadataMapper.convertAfModeToLegacy(afMode, in convertRequestMetadata()
240 + 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.cpp54 m3aState.afMode = ANDROID_CONTROL_AF_MODE_OFF; in FrameProcessor()
56 m3aState.afMode = ANDROID_CONTROL_AF_MODE_AUTO; in FrameProcessor()
275 &pendingState.afMode, frameNumber, cameraId); in process3aState()
308 pendingState.afMode != m3aState.afMode || in process3aState()
313 m3aState.afMode, pendingState.afMode, in process3aState()
318 m3aState.afMode = pendingState.afMode; in process3aState()
DFrameProcessor.h75 camera_metadata_enum_android_control_af_mode afMode; member
87 afMode((camera_metadata_enum_android_control_af_mode)NOT_SET), in AlgState()
DZslProcessor.cpp737 bool ZslProcessor::isFixedFocusMode(uint8_t afMode) const { in isFixedFocusMode()
738 switch (afMode) { in isFixedFocusMode()
749 ALOGE("%s: unknown focus mode %d", __FUNCTION__, afMode); in isFixedFocusMode()
807 uint8_t afMode = entry.data.u8[0]; in getCandidateTimestampLocked() local
808 if (!isFixedFocusMode(afMode)) { in getCandidateTimestampLocked()
DZslProcessor.h164 bool isFixedFocusMode(uint8_t afMode) const;
DParameters.cpp1172 uint8_t afMode = in buildFastInfo() local
1174 switch(afMode) { in buildFastInfo()
1191 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1195 afMode); in buildFastInfo()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DStaticMetadata.java1240 for (int afMode : afModes) { in getAfAvailableModesChecked()
1242 if (afMode > CameraCharacteristics.CONTROL_AF_MODE_EDOF) continue; in getAfAvailableModesChecked()
1243 modesList.add(afMode); in getAfAvailableModesChecked()
1444 public static String getAfModeName(int afMode) { in getAfModeName() argument
1445 return (afMode >= AF_MODE_NAMES.length) ? String.format("VENDOR_AF_MODE_%d", afMode) : in getAfModeName()
1446 AF_MODE_NAMES[afMode]; in getAfModeName()