Lines Matching defs:Mode
200 enum Mode {
213 kSuccess = 2 //!< The entire image was decoded, if Mode is
220 and then if the Mode is kDecodePixels_Mode, call allocPixelRef(),
237 Result decode(SkStream*, SkBitmap* bitmap, SkColorType pref, Mode);
238 Result decode(SkStream* stream, SkBitmap* bitmap, Mode mode) {
239 return this->decode(stream, bitmap, kUnknown_SkColorType, mode);
275 static bool DecodeFile(const char file[], SkBitmap* bitmap, SkColorType pref, Mode,
290 Mode, Format* format = NULL);
303 static bool DecodeStream(SkStreamRewindable* stream, SkBitmap* bitmap, SkColorType pref, Mode,
311 virtual Result onDecode(SkStream*, SkBitmap* bitmap, Mode) = 0;