Lines Matching refs:intent
35 const int streamId, const StreamIntent intent)
43 if (intent == PREVIEW) {
46 } else if (intent == STILL_CAPTURE) {
50 } else if (intent == VIDEO) {
58 streamInfo.intent_ = intent;
66 void CameraVideoTest::CreateStream(int streamId, StreamIntent intent)
69 if (intent == PREVIEW) {
73 SetStreamInfo(streamInfo, streamCustomerPreview_, streamId, intent);
76 } else if (intent == STILL_CAPTURE) {
79 SetStreamInfo(streamInfo, streamCustomerSnapshot_, streamId, intent);
81 } else if (intent == VIDEO) {
84 SetStreamInfo(streamInfo, streamCustomerVideo_, streamId, intent);