Home
last modified time | relevance | path

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

/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera3.cpp654 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()
[all …]
DEmulatedFakeCamera2.cpp1730 uint8_t afMode; in threadLoop() local
1751 afMode = mAfMode; in threadLoop()
1777 afState = processAfTrigger(afMode, afState); in threadLoop()
1780 afState = maybeStartAfScan(afMode, afState); in threadLoop()
1781 afState = updateAfScan(afMode, afState, &nextSleep); in threadLoop()
1810 int EmulatedFakeCamera2::ControlThread::processAfTrigger(uint8_t afMode, in processAfTrigger() argument
1812 switch (afMode) { in processAfTrigger()
1883 int EmulatedFakeCamera2::ControlThread::maybeStartAfScan(uint8_t afMode, in maybeStartAfScan() argument
1885 if ((afMode == ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO || in maybeStartAfScan()
1886 afMode == ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE) && in maybeStartAfScan()
[all …]
DEmulatedFakeCamera2.h348 int processAfTrigger(uint8_t afMode, uint8_t afState);
349 int maybeStartAfScan(uint8_t afMode, uint8_t afState);
350 int updateAfScan(uint8_t afMode, uint8_t afState, nsecs_t *maxSleep);
/device/generic/goldfish/camera/
DEmulatedFakeCamera2.cpp1748 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()
[all …]
DEmulatedFakeCamera3.cpp707 uint8_t afMode = 0; in constructDefaultRequestSettings() local
712 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
715 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
718 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequestSettings()
721 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequestSettings()
724 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
727 afMode = ANDROID_CONTROL_AF_MODE_OFF; in constructDefaultRequestSettings()
730 afMode = ANDROID_CONTROL_AF_MODE_AUTO; in constructDefaultRequestSettings()
735 settings.update(ANDROID_CONTROL_AF_MODE, &afMode, 1); in constructDefaultRequestSettings()
2105 uint8_t afMode = (e.count > 0) ? e.data.u8[0] : (uint8_t)ANDROID_CONTROL_AF_MODE_OFF; in doFakeAF() local
[all …]
DEmulatedFakeCamera2.h364 int processAfTrigger(uint8_t afMode, uint8_t afState);
365 int maybeStartAfScan(uint8_t afMode, uint8_t afState);
366 int updateAfScan(uint8_t afMode, uint8_t afState, nsecs_t *maxSleep);
DEmulatedQemuCamera3.cpp663 uint8_t afMode = 0; in constructDefaultRequestSettings() local
668 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
671 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
674 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequestSettings()
677 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_VIDEO; in constructDefaultRequestSettings()
680 afMode = ANDROID_CONTROL_AF_MODE_CONTINUOUS_PICTURE; in constructDefaultRequestSettings()
683 afMode = ANDROID_CONTROL_AF_MODE_OFF; in constructDefaultRequestSettings()
686 afMode = ANDROID_CONTROL_AF_MODE_AUTO; in constructDefaultRequestSettings()
690 afMode = ANDROID_CONTROL_AF_MODE_OFF; in constructDefaultRequestSettings()
692 settings.update(ANDROID_CONTROL_AF_MODE, &afMode, 1); in constructDefaultRequestSettings()
[all …]