Lines Matching refs:afMode
1748 uint8_t afMode; in threadLoop() local
1769 afMode = mAfMode; in threadLoop()
1795 afState = processAfTrigger(afMode, afState); in threadLoop()
1798 afState = maybeStartAfScan(afMode, afState); in threadLoop()
1799 afState = updateAfScan(afMode, afState, &nextSleep); in threadLoop()
1828 int EmulatedFakeCamera2::ControlThread::processAfTrigger(uint8_t afMode, in processAfTrigger() argument
1830 switch (afMode) { in processAfTrigger()
1902 int EmulatedFakeCamera2::ControlThread::maybeStartAfScan(uint8_t afMode, in maybeStartAfScan() argument
1904 if ((afMode == ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO || in maybeStartAfScan()
1905 afMode == ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE) && in maybeStartAfScan()
1922 int EmulatedFakeCamera2::ControlThread::updateAfScan(uint8_t afMode, in updateAfScan() argument
1931 switch (afMode) { in updateAfScan()
2627 uint8_t afMode = 0; in constructDefaultRequest() local
2630 afMode = ANDROID_CONTROL_AF_MODE_AUTO; in constructDefaultRequest()
2633 afMode = ANDROID_CONTROL_AF_MODE_AUTO; in constructDefaultRequest()
2636 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequest()
2639 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequest()
2642 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequest()
2645 afMode = ANDROID_CONTROL_AF_MODE_AUTO; in constructDefaultRequest()
2648 ADD_OR_SIZE(ANDROID_CONTROL_AF_MODE, &afMode, 1); in constructDefaultRequest()