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 "SkImage.h" | 10 #include "SkImage.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { | 76 SkImageDecoder::Chooser* SkImageDecoder::setChooser(Chooser*) { |
77 return NULL; | 77 return NULL; |
78 } | 78 } |
79 | 79 |
80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { | 80 SkBitmap::Allocator* SkImageDecoder::setAllocator(SkBitmap::Allocator*) { |
81 return NULL; | 81 return NULL; |
82 } | 82 } |
83 | 83 |
84 void SkImageDecoder::setSampleSize(int) {} | 84 void SkImageDecoder::setSampleSize(int) {} |
85 | 85 |
86 bool SkImageDecoder::DecodeMemoryToTarget(const void*, size_t, SkImageInfo*, | |
87 const SkImageDecoder::Target*) { | |
88 return false; | |
89 } | |
90 | |
91 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { | 86 SkBitmap::Config SkImageDecoder::GetDeviceConfig() { |
92 return SkBitmap::kNo_Config; | 87 return SkBitmap::kNo_Config; |
93 } | 88 } |
94 | 89 |
95 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} | 90 void SkImageDecoder::SetDeviceConfig(SkBitmap::Config) {} |
96 | 91 |
97 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, | 92 bool SkImageDecoder::cropBitmap(SkBitmap*, SkBitmap*, int, int, int, int, int, |
98 int, int) { | 93 int, int) { |
99 return false; | 94 return false; |
100 } | 95 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { | 146 bool SkImageEncoder::encodeFile(const char file[], const SkBitmap& bm, int quali
ty) { |
152 return false; | 147 return false; |
153 } | 148 } |
154 ///////////////////////////////////////////////////////////////////////// | 149 ///////////////////////////////////////////////////////////////////////// |
155 | 150 |
156 // Empty implementation for SkImages. | 151 // Empty implementation for SkImages. |
157 | 152 |
158 #include "SkImages.h" | 153 #include "SkImages.h" |
159 | 154 |
160 void SkImages::InitializeFlattenables() {} | 155 void SkImages::InitializeFlattenables() {} |
OLD | NEW |