Lines Matching refs:mANativeWindow

169     mANativeWindow = NULL;  in ANativeWindowDisplayAdapter()
272 if ( window == mANativeWindow ) { in setPreviewWindow()
280 mANativeWindow = window; in setPreviewWindow()
477 mANativeWindow = NULL; in disableDisplay()
536 if ( NULL == mANativeWindow ) { in allocateBuffer()
541 err = mANativeWindow->set_usage(mANativeWindow, CAMHAL_GRALLOC_USAGE); in allocateBuffer()
547 mANativeWindow = NULL; in allocateBuffer()
555 err = mANativeWindow->set_buffer_count(mANativeWindow, numBufs); in allocateBuffer()
561 mANativeWindow = NULL; in allocateBuffer()
571 err = mANativeWindow->set_buffers_geometry( in allocateBuffer()
572 mANativeWindow, in allocateBuffer()
582 mANativeWindow = NULL; in allocateBuffer()
598 mANativeWindow->get_min_undequeued_buffer_count(mANativeWindow, &undequeued); in allocateBuffer()
607 … err = mANativeWindow->dequeue_buffer(mANativeWindow, (buffer_handle_t**) &hndl2hndl, &stride); in allocateBuffer()
614 mANativeWindow = NULL; in allocateBuffer()
640 mANativeWindow->lock_buffer(mANativeWindow, mBufferHandleMap[i]); in allocateBuffer()
649 err = mANativeWindow->cancel_buffer(mANativeWindow, mBufferHandleMap[i]); in allocateBuffer()
655 mANativeWindow = NULL; in allocateBuffer()
678 int err = mANativeWindow->cancel_buffer(mANativeWindow, mBufferHandleMap[start]); in allocateBuffer()
708 if ( NULL == mANativeWindow ) in getOffsets()
764 if(!mANativeWindow) in maxQueueableBuffers()
770 ret = mANativeWindow->get_min_undequeued_buffer_count(mANativeWindow, &undequeued); in maxQueueableBuffers()
776 mANativeWindow = NULL; in maxQueueableBuffers()
813 if (mANativeWindow) in returnBuffersToWindow()
820 ret = mANativeWindow->cancel_buffer(mANativeWindow, mBufferHandleMap[value]); in returnBuffersToWindow()
823 mANativeWindow = NULL; in returnBuffersToWindow()
1090 mANativeWindow->set_crop(mANativeWindow, xOff/bytesPerPixel, yOff, in PostFrame()
1100 ret = mANativeWindow->enqueue_buffer(mANativeWindow, mBufferHandleMap[i]); in PostFrame()
1142 ret = mANativeWindow->cancel_buffer(mANativeWindow, mBufferHandleMap[i]); in PostFrame()
1170 if ( NULL == mANativeWindow ) { in handleFrameReturn()
1174 err = mANativeWindow->dequeue_buffer(mANativeWindow, &buf, &stride); in handleFrameReturn()
1180 mANativeWindow = NULL; in handleFrameReturn()
1186 err = mANativeWindow->lock_buffer(mANativeWindow, buf); in handleFrameReturn()
1192 mANativeWindow = NULL; in handleFrameReturn()