Lines Matching refs:mDisplayAdapter
1078 if(mDisplayAdapter.get() == NULL)
1089 mPreviewBufs = (int32_t *) mDisplayAdapter->allocateBuffer(width, height,
1099 mPreviewOffsets = (uint32_t *) mDisplayAdapter->getOffsets();
1105 mPreviewFd = mDisplayAdapter->getFd();
1111 mBufProvider = (BufferProvider*) mDisplayAdapter.get();
1113 ret = mDisplayAdapter->maxQueueableBuffers(max_queueable);
1471 if(!mSetPreviewWindowCalled || (mDisplayAdapter.get() == NULL)){
1482 if( (mDisplayAdapter.get() != NULL) && ( !mPreviewEnabled ) && ( mDisplayPaused ) )
1490 ret = mDisplayAdapter->pauseDisplay(mDisplayPaused);
1590 if(mDisplayAdapter.get() != NULL)
1625 ret = mDisplayAdapter->enableDisplay(width, height, &mStartPreview, isS3d ? &s3dParams : NULL);
1629 ret = mDisplayAdapter->enableDisplay(width, height, NULL, isS3d ? &s3dParams : NULL);
1664 if(mDisplayAdapter.get() != NULL)
1666 mDisplayAdapter->disableDisplay(false);
1698 if(mDisplayAdapter.get() != NULL)
1702 mDisplayAdapter.clear();
1709 }else if(mDisplayAdapter.get() == NULL)
1713 mDisplayAdapter = new ANativeWindowDisplayAdapter();
1715 if(!mDisplayAdapter.get() || ((ret=mDisplayAdapter->initialize())!=NO_ERROR))
1719 mDisplayAdapter.clear();
1734 mDisplayAdapter->setFrameProvider(mCameraAdapter);
1739 mDisplayAdapter->setErrorHandler(mAppCallbackNotifier.get());
1742 ret = mDisplayAdapter->setPreviewWindow(window);
1756 ret = mDisplayAdapter->setPreviewWindow(window);
2539 NULL != mDisplayAdapter.get() &&
2544 ret = mDisplayAdapter->pauseDisplay(mDisplayPaused);
2552 mDisplayAdapter->setSnapshotTimeRef(&mStartCapture);
2924 mDisplayAdapter.clear();
3431 if(mDisplayAdapter.get() != NULL) {
3433 mDisplayAdapter->disableDisplay();