Lines Matching defs:format
165 PixelFormat format, uint32_t flags)
167 // this surfaces pixel format
169 status_t err = getPixelFormatInfo(format, &info);
171 ALOGE("unsupported pixelformat %d", format);
185 mFormat = format;
190 mCurrentOpacity = getOpacityForFormat(format);
193 mSurfaceTexture->setDefaultBufferFormat(format);
395 bool Layer::getOpacityForFormat(uint32_t format)
397 if (HARDWARE_IS_DEVICE_FORMAT(format)) {
401 status_t err = getPixelFormatInfo(PixelFormat(format), &info);
402 // in case of error (unknown format), we assume no blending
416 // otherwise we use the current buffer's format.
689 mCurrentOpacity = getOpacityForFormat(mActiveBuffer->format);
717 f0 = buf0->format;
721 "format=%2d, activeBuffer=[%4ux%4u:%4u,%3X],"