• Home
  • Raw
  • Download

Lines Matching refs:anw

417     sp<ANativeWindow> anw = producer;  in ImageWriter_init()  local
422 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) { in ImageWriter_init()
434 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) { in ImageWriter_init()
445 res = native_window_set_buffers_user_dimensions(anw.get(), userWidth, userHeight); in ImageWriter_init()
457 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &surfaceHalFormat)) != OK) { in ImageWriter_init()
462 if ((res = anw->query( in ImageWriter_init()
463 anw.get(), NATIVE_WINDOW_DEFAULT_DATASPACE, &surfaceDataspace)) != OK) { in ImageWriter_init()
471 res = native_window_set_buffers_format(anw.get(), hardwareBufferFormat); in ImageWriter_init()
479 res = native_window_set_buffers_data_space(anw.get(), nativeDataspace); in ImageWriter_init()
506 res = native_window_set_usage(anw.get(), ndkUsage); in ImageWriter_init()
518 res = anw->query(anw.get(), in ImageWriter_init()
528 res = native_window_set_buffer_count(anw.get(), totalBufferCount); in ImageWriter_init()
550 sp<ANativeWindow> anw = ctx->getProducer(); in ImageWriter_dequeueImage() local
553 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd); in ImageWriter_dequeueImage()
624 sp<ANativeWindow> anw = ctx->getProducer(); in ImageWriter_cancelImage() local
637 anw->cancelBuffer(anw.get(), buffer, fenceFd); in ImageWriter_cancelImage()
654 sp<ANativeWindow> anw = ctx->getProducer(); in ImageWriter_queueImage() local
670 res = native_window_set_buffers_timestamp(anw.get(), timestampNs); in ImageWriter_queueImage()
679 anw.get(), static_cast<android_dataspace>(dataSpace)); in ImageWriter_queueImage()
691 res = native_window_set_crop(anw.get(), &cropRect); in ImageWriter_queueImage()
697 res = native_window_set_buffers_transform(anw.get(), transform); in ImageWriter_queueImage()
703 res = native_window_set_scaling_mode(anw.get(), scalingMode); in ImageWriter_queueImage()
715 res = anw->queueBuffer(anw.get(), buffer, fenceFd); in ImageWriter_queueImage()
754 sp < ANativeWindow > anw = surface; in attachAndQeueuGraphicBuffer() local
759 res = native_window_set_buffers_timestamp(anw.get(), timestampNs); in attachAndQeueuGraphicBuffer()
767 anw.get(), static_cast<android_dataspace>(dataSpace)); in attachAndQeueuGraphicBuffer()
778 res = native_window_set_crop(anw.get(), &cropRect); in attachAndQeueuGraphicBuffer()
784 res = native_window_set_buffers_transform(anw.get(), transform); in attachAndQeueuGraphicBuffer()
790 res = native_window_set_scaling_mode(anw.get(), scalingMode); in attachAndQeueuGraphicBuffer()
802 res = anw->queueBuffer(anw.get(), gb.get(), /*fenceFd*/ in attachAndQeueuGraphicBuffer()