Lines Matching refs:afMode
654 uint8_t afMode = 0; in constructDefaultRequestSettings() local
659 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
662 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
665 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequestSettings()
668 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequestSettings()
671 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
674 afMode = ANDROID_CONTROL_AF_MODE_OFF; in constructDefaultRequestSettings()
677 afMode = ANDROID_CONTROL_AF_MODE_AUTO; in constructDefaultRequestSettings()
681 afMode = ANDROID_CONTROL_AF_MODE_OFF; in constructDefaultRequestSettings()
683 settings.update(ANDROID_CONTROL_AF_MODE, &afMode, 1); in constructDefaultRequestSettings()
2115 uint8_t afMode = in doFakeAF() local
2125 ALOGV("%s: AF mode is 0x%x", __FUNCTION__, afMode); in doFakeAF()
2130 switch (afMode) { in doFakeAF()
2140 afMode); in doFakeAF()
2146 ALOGE("%s: Emulator doesn't support AF mode %d", __FUNCTION__, afMode); in doFakeAF()
2150 bool afModeChanged = mAfMode != afMode; in doFakeAF()
2151 mAfMode = afMode; in doFakeAF()
2187 switch (afMode) { in doFakeAF()
2202 switch (afMode) { in doFakeAF()
2262 switch (afMode) { in doFakeAF()
2278 switch (afMode) { in doFakeAF()