Home | History | Annotate | Download | only in jni

Lines Matching refs:anw

257     sp<ANativeWindow> anw = producer;
259 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) {
266 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) {
273 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &format)) != OK) {
283 res = native_window_set_usage(anw.get(), GRALLOC_USAGE_SW_WRITE_OFTEN);
294 res = anw->query(anw.get(),
304 res = native_window_set_buffer_count(anw.get(), totalBufferCount);
326 sp<ANativeWindow> anw = ctx->getProducer();
329 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd);
400 sp<ANativeWindow> anw = ctx->getProducer();
413 anw->cancelBuffer(anw.get(), buffer, fenceFd);
429 sp<ANativeWindow> anw = ctx->getProducer();
445 res = native_window_set_buffers_timestamp(anw.get(), timestampNs);
457 res = native_window_set_crop(anw.get(), &cropRect);
464 res = anw->queueBuffer(anw.get(), buffer, fenceFd);
533 sp < ANativeWindow > anw = surface;
538 res = native_window_set_buffers_timestamp(anw.get(), timestampNs);
549 res = native_window_set_crop(anw.get(), &cropRect);
556 res = anw->queueBuffer(anw.get(), opaqueBuffer->mGraphicBuffer.get(), /*fenceFd*/