Home | History | Annotate | Download | only in graphics

Lines Matching refs:decoded

255     SkBitmap* decoded;
257 decoded = new SkBitmap;
259 decoded = bitmap;
261 SkAutoTDelete<SkBitmap> adb2(willScale ? decoded : NULL);
263 if (!decoder->decode(stream, decoded, prefConfig, decodeMode, javaBitmap != NULL)) {
267 int scaledWidth = decoded->width();
268 int scaledHeight = decoded->height();
336 const float sx = scaledWidth / float(decoded->width());
337 const float sy = scaledHeight / float(decoded->height());
339 SkBitmap::Config config = decoded->config();
351 bitmap->setIsOpaque(decoded->isOpaque());
362 canvas.drawBitmap(*decoded, 0.0f, 0.0f, &paint);