Lines Matching refs:mANativeWindow
99 mANativeWindow = NULL; in ANativeWindowDisplayAdapter()
202 if ( window == mANativeWindow ) { in setPreviewWindow()
210 mANativeWindow = window; in setPreviewWindow()
405 mANativeWindow = NULL; in disableDisplay()
466 if ( NULL == mANativeWindow ) { in allocateBufferList()
471 err = mANativeWindow->set_usage(mANativeWindow, CAMHAL_GRALLOC_USAGE); in allocateBufferList()
477 mANativeWindow = NULL; in allocateBufferList()
485 err = mANativeWindow->set_buffer_count(mANativeWindow, numBufs); in allocateBufferList()
491 mANativeWindow = NULL; in allocateBufferList()
501 err = mANativeWindow->set_buffers_geometry( in allocateBufferList()
502 mANativeWindow, in allocateBufferList()
512 mANativeWindow = NULL; in allocateBufferList()
528 mANativeWindow->get_min_undequeued_buffer_count(mANativeWindow, &undequeued); in allocateBufferList()
537 err = mANativeWindow->dequeue_buffer(mANativeWindow, &handle, &stride); in allocateBufferList()
544 mANativeWindow = NULL; in allocateBufferList()
577 mANativeWindow->lock_buffer(mANativeWindow, handle); in allocateBufferList()
588 err = mANativeWindow->cancel_buffer(mANativeWindow, handle); in allocateBufferList()
594 mANativeWindow = NULL; in allocateBufferList()
617 status_t err = mANativeWindow->cancel_buffer(mANativeWindow, in allocateBufferList()
654 if ( NULL == mANativeWindow ) in getOffsets()
700 if(!mANativeWindow) { in minUndequeueableBuffers()
705 ret = mANativeWindow->get_min_undequeued_buffer_count(mANativeWindow, &undequeueable); in minUndequeueableBuffers()
711 mANativeWindow = NULL; in minUndequeueableBuffers()
773 if (mANativeWindow) in returnBuffersToWindow()
787 ret = mANativeWindow->cancel_buffer(mANativeWindow, handle); in returnBuffersToWindow()
790 mANativeWindow = NULL; in returnBuffersToWindow()
1011 if ( NULL == mANativeWindow ) { in PostFrame()
1063 mANativeWindow->set_crop(mANativeWindow, xOff, yOff, in PostFrame()
1075 ret = mANativeWindow->enqueue_buffer(mANativeWindow, handle); in PostFrame()
1098 ret = mANativeWindow->cancel_buffer(mANativeWindow, handle); in PostFrame()
1129 if ( NULL == mANativeWindow ) { in handleFrameReturn()
1133 err = mANativeWindow->dequeue_buffer(mANativeWindow, &buf, &stride); in handleFrameReturn()
1139 mANativeWindow = NULL; in handleFrameReturn()
1145 err = mANativeWindow->lock_buffer(mANativeWindow, buf); in handleFrameReturn()
1151 mANativeWindow = NULL; in handleFrameReturn()