Home | History | Annotate | Download | only in device3

Lines Matching refs:mConsumer

41         mConsumer(consumer),
48 if (mConsumer == NULL) {
65 mConsumer(consumer),
79 if (mConsumer == NULL) {
95 mConsumer(nullptr),
141 // Subclasses expected to initialize mConsumer themselves
168 res = mConsumer->attachBuffer(anb);
199 sp<ANativeWindow> currentConsumer = mConsumer;
266 sp<ANativeWindow> currentConsumer = mConsumer;
300 res = native_window_set_buffers_timestamp(mConsumer.get(),
358 res = native_window_set_buffers_transform(mConsumer.get(),
376 ALOG_ASSERT(mConsumer != 0, "mConsumer should never be NULL");
380 res = mConsumer->connect(NATIVE_WINDOW_API_CAMERA, /*listener*/mBufferReleasedListener);
387 mConsumerName = mConsumer->getConsumerName();
389 res = native_window_set_usage(mConsumer.get(), camera3_stream::usage);
396 res = native_window_set_scaling_mode(mConsumer.get(),
406 res = native_window_set_buffers_dimensions(mConsumer.get(),
410 res = native_window_set_buffers_dimensions(mConsumer.get(),
420 res = native_window_set_buffers_format(mConsumer.get(),
428 res = native_window_set_buffers_data_space(mConsumer.get(),
437 res = static_cast<ANativeWindow*>(mConsumer.get())->query(
438 mConsumer.get(),
460 mConsumer.get(),
468 res = native_window_set_buffers_transform(mConsumer.get(),
478 mConsumer->setDequeueTimeout(kDequeueBufferTimeout);
502 mConsumer->getIGraphicBufferProducer()->allowAllocation(false);
523 if (mConsumer == nullptr) {
529 res = native_window_api_disconnect(mConsumer.get(),
572 if (mConsumer == nullptr) {
578 res = static_cast<ANativeWindow*>(mConsumer.get())->query(mConsumer.get(),
653 status_t res = mConsumer->detachNextBuffer(buffer, &fence);
681 return mConsumer == nullptr;
690 if (mConsumer != nullptr) {
695 mConsumer = consumer;