Lines Matching defs:format
176 PixelFormat format, uint32_t flags)
178 // this surfaces pixel format
180 status_t err = getPixelFormatInfo(format, &info);
182 ALOGE("unsupported pixelformat %d", format);
186 // the display's pixel format
202 mFormat = format;
207 mCurrentOpacity = getOpacityForFormat(format);
210 mSurfaceTexture->setDefaultBufferFormat(format);
392 bool Layer::getOpacityForFormat(uint32_t format)
394 if (HARDWARE_IS_DEVICE_FORMAT(format)) {
398 status_t err = getPixelFormatInfo(PixelFormat(format), &info);
399 // in case of error (unknown format), we assume no blending
413 // otherwise we use the current buffer's format.
670 mCurrentOpacity = getOpacityForFormat(mActiveBuffer->format);
719 f0 = buf0->format;
723 "format=%2d, activeBuffer=[%4ux%4u:%4u,%3X],"