| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
| 10 #include "SkBitmapFactory.h" | 10 #include "SkBitmapFactory.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { | 77 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { |
| 78 return NULL; | 78 return NULL; |
| 79 } | 79 } |
| 80 | 80 |
| 81 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { | 81 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { |
| 82 return NULL; | 82 return NULL; |
| 83 } | 83 } |
| 84 | 84 |
| 85 void SkImageDecoder::setSampleSize(int) {} | 85 void SkImageDecoder::setSampleSize(int) {} |
| 86 | 86 |
| 87 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImage::Info*, | 87 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*, |
| 88 const SkBitmapFactory::Target*) { | 88 const SkBitmapFactory::Target*) { |
| 89 return false; | 89 return false; |
| 90 } | 90 } |
| 91 | 91 |
| 92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { | 92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { |
| 93 return SkBitmap::kNo_Config; | 93 return SkBitmap::kNo_Config; |
| 94 } | 94 } |
| 95 | 95 |
| 96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} | 96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} |
| 97 | 97 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
| 153 return false; | 153 return false; |
| 154 } | 154 } |
| 155 ///////////////////////////////////////////////////////////////////////// | 155 ///////////////////////////////////////////////////////////////////////// |
| 156 | 156 |
| 157 // Empty implementation for SkImages. | 157 // Empty implementation for SkImages. |
| 158 | 158 |
| 159 #include "SkImages.h" | 159 #include "SkImages.h" |
| 160 | 160 |
| 161 void SkImages::InitializeFlattenables() {} | 161 void SkImages::InitializeFlattenables() {} |
| OLD | NEW |