Lines Matching defs:ANativeWindowDisplayAdapter
22 #include "ANativeWindowDisplayAdapter.h"
32 const int ANativeWindowDisplayAdapter::DISPLAY_TIMEOUT = 1000; // seconds
35 const int ANativeWindowDisplayAdapter::FAILED_DQS_TO_SUSPEND = 3;
138 /*--------------------ANativeWindowDisplayAdapter Class STARTS here-----------------------------*/
144 ANativeWindowDisplayAdapter::ANativeWindowDisplayAdapter():mDisplayThread(NULL),
145 mDisplayState(ANativeWindowDisplayAdapter::DISPLAY_INIT),
189 ANativeWindowDisplayAdapter::~ANativeWindowDisplayAdapter()
234 status_t ANativeWindowDisplayAdapter::initialize()
261 int ANativeWindowDisplayAdapter::setPreviewWindow(preview_stream_ops_t* window)
283 int ANativeWindowDisplayAdapter::setFrameProvider(FrameNotifier *frameProvider)
309 int ANativeWindowDisplayAdapter::setErrorHandler(ErrorNotifier *errorNotifier)
333 status_t ANativeWindowDisplayAdapter::setSnapshotTimeRef(struct timeval *refTime)
353 int ANativeWindowDisplayAdapter::enableDisplay(int width, int height, struct timeval *refTime, S3DParameters *s3dParams)
412 int ANativeWindowDisplayAdapter::disableDisplay(bool cancel_buffer)
485 status_t ANativeWindowDisplayAdapter::pauseDisplay(bool pause)
502 void ANativeWindowDisplayAdapter::destroy()
519 void* ANativeWindowDisplayAdapter::allocateBuffer(int width, int height, const char* format, int &bytes, int numBufs)
696 uint32_t * ANativeWindowDisplayAdapter::getOffsets()
748 int ANativeWindowDisplayAdapter::maxQueueableBuffers(unsigned int& queueable)
785 int ANativeWindowDisplayAdapter::getFd()
803 status_t ANativeWindowDisplayAdapter::returnBuffersToWindow()
838 int ANativeWindowDisplayAdapter::freeBuffer(void* buf)
886 bool ANativeWindowDisplayAdapter::supportsExternalBuffering()
891 int ANativeWindowDisplayAdapter::useBuffers(void *bufArr, int num)
896 void ANativeWindowDisplayAdapter::displayThread()
909 , ANativeWindowDisplayAdapter::DISPLAY_TIMEOUT);
919 if ( mDisplayState== ANativeWindowDisplayAdapter::DISPLAY_INIT )
938 if(mDisplayState == ANativeWindowDisplayAdapter::DISPLAY_STARTED)
943 if (mDisplayState == ANativeWindowDisplayAdapter::DISPLAY_EXITED)
957 bool ANativeWindowDisplayAdapter::processHalMsg()
973 mDisplayState = ANativeWindowDisplayAdapter::DISPLAY_STARTED;
984 mDisplayState = ANativeWindowDisplayAdapter::DISPLAY_STOPPED;
992 mDisplayState = ANativeWindowDisplayAdapter::DISPLAY_EXITED;
1025 status_t ANativeWindowDisplayAdapter::PostFrame(ANativeWindowDisplayAdapter::DisplayFrame &dispFrame)
1051 if ( mDisplayState == ANativeWindowDisplayAdapter::DISPLAY_STARTED &&
1154 bool ANativeWindowDisplayAdapter::handleFrameReturn()
1225 void ANativeWindowDisplayAdapter::frameCallbackRelay(CameraFrame* caFrame)
1232 ANativeWindowDisplayAdapter *da = (ANativeWindowDisplayAdapter*) caFrame->mCookie;
1247 void ANativeWindowDisplayAdapter::frameCallback(CameraFrame* caFrame)
1262 /*--------------------ANativeWindowDisplayAdapter Class ENDS here-----------------------------*/