Home | History | Annotate | Download | only in libgralloc

Lines Matching full:const_cast

90         (const_cast<native_handle_t*>(buffer));
373 dev->device.common.module = const_cast<hw_module_t*>(module);
384 const_cast<uint32_t&>(dev->device.flags) = 0;
385 const_cast<uint32_t&>(dev->device.width) = m->info.xres;
386 const_cast<uint32_t&>(dev->device.height) = m->info.yres;
387 const_cast<int&>(dev->device.stride) = stride;
388 const_cast<int&>(dev->device.format) = m->fbFormat;
389 const_cast<float&>(dev->device.xdpi) = m->xdpi;
390 const_cast<float&>(dev->device.ydpi) = m->ydpi;
391 const_cast<float&>(dev->device.fps) = m->fps;
392 const_cast<int&>(dev->device.minSwapInterval) =
394 const_cast<int&>(dev->device.maxSwapInterval) =
396 const_cast<int&>(dev->device.numFramebuffers) = m->numBuffers;