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.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.cpp51 m3aState.afMode = ANDROID_CONTROL_AF_MODE_OFF; in FrameProcessor()
53 m3aState.afMode = ANDROID_CONTROL_AF_MODE_AUTO; in FrameProcessor()
267 &pendingState.afMode, frameNumber, cameraId); in process3aState()
303 pendingState.afMode != m3aState.afMode || in process3aState()
308 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.cpp790 bool ZslProcessor::isFixedFocusMode(uint8_t afMode) const { in isFixedFocusMode()
791 switch (afMode) { in isFixedFocusMode()
802 ALOGE("%s: unknown focus mode %d", __FUNCTION__, afMode); in isFixedFocusMode()
858 uint8_t afMode = entry.data.u8[0]; in getCandidateTimestampLocked() local
859 if (afMode == ANDROID_CONTROL_AF_MODE_OFF) { in getCandidateTimestampLocked()
866 if (mHasFocuser && !isFixedFocusMode(afMode)) { in getCandidateTimestampLocked()
DZslProcessor.h164 bool isFixedFocusMode(uint8_t afMode) const;
DParameters.cpp1140 uint8_t afMode = in buildFastInfo() local
1142 switch(afMode) { in buildFastInfo()
1159 modes.focusMode = static_cast<focusMode_t>(afMode); in buildFastInfo()
1163 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()