| 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, SkImageInfo*, | |
| 88 const SkBitmapFactory::Target*) { | |
| 89 return false; | |
| 90 } | |
| 91 | |
| 92 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { | 87 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { |
| 93 return SkBitmap::kNo_Config; | 88 return SkBitmap::kNo_Config; |
| 94 } | 89 } |
| 95 | 90 |
| 96 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} | 91 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} |
| 97 | 92 |
| 98 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, | 93 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
| 99 int, int) { | 94 int, int) { |
| 100 return false; | 95 return false; |
| 101 } | 96 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 147 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
| 153 return false; | 148 return false; |
| 154 } | 149 } |
| 155 ///////////////////////////////////////////////////////////////////////// | 150 ///////////////////////////////////////////////////////////////////////// |
| 156 | 151 |
| 157 // Empty implementation for SkImages. | 152 // Empty implementation for SkImages. |
| 158 | 153 |
| 159 #include "SkImages.h" | 154 #include "SkImages.h" |
| 160 | 155 |
| 161 void SkImages::InitializeFlattenables() {} | 156 void SkImages::InitializeFlattenables() {} |
| OLD | NEW |