Home
last modified time | relevance | path

Searched refs:decodedSize (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/graphics/test/
DMockImageDecoder.h47 virtual IntSize decodedSize() const { return IntSize(); } in decodedSize() function
64 virtual IntSize decodedSize() const OVERRIDE in decodedSize() function
66 return m_client->decodedSize().isEmpty() ? size() : m_client->decodedSize(); in decodedSize()
118 …sOwnPtr<MockImageDecoderFactory> create(MockImageDecoderClient* client, const SkISize& decodedSize) in create() argument
120 …return adoptPtr(new MockImageDecoderFactory(client, IntSize(decodedSize.width(), decodedSize.heigh… in create()
123 …sOwnPtr<MockImageDecoderFactory> create(MockImageDecoderClient* client, const IntSize& decodedSize) in create() argument
125 return adoptPtr(new MockImageDecoderFactory(client, decodedSize)); in create()
137 MockImageDecoderFactory(MockImageDecoderClient* client, const IntSize& decodedSize) in MockImageDecoderFactory() argument
139 , m_decodedSize(decodedSize) in MockImageDecoderFactory()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DDeferredImageDecoder.cpp216 …meGenerator::create(SkISize::Make(m_actualDecoder->decodedSize().width(), m_actualDecoder->decoded… in activateLazyDecoding()
268 IntSize decodedSize = m_actualDecoder->decodedSize(); in createBitmap() local
269 ASSERT(decodedSize.width() > 0); in createBitmap()
270 ASSERT(decodedSize.height() > 0); in createBitmap()
273 info.fWidth = decodedSize.width(); in createBitmap()
274 info.fHeight = decodedSize.height(); in createBitmap()
DBitmapImageTest.cpp82 EXPECT_EQ(0u, decodedSize()); in loadImage()
89 size_t decodedSize() in decodedSize() function in WebCore::BitmapImageTest
127 size_t totalSize = decodedSize(); in TEST_F()
144 size_t totalSize = decodedSize(); in TEST_F()
148 EXPECT_EQ(0u, decodedSize()); in TEST_F()
DImageDecodingStore.h233 …, m_size(SkISize::Make(m_cachedDecoder->decodedSize().width(), m_cachedDecoder->decodedSize().heig… in DecoderCacheEntry()
246 …eturn std::make_pair(generator, SkISize::Make(decoder->decodedSize().width(), decoder->decodedSize in makeCacheKey()
DDeferredImageDecoderTest.cpp126 virtual IntSize decodedSize() const OVERRIDE in decodedSize() function in WebCore::DeferredImageDecoderTest
310 TEST_F(DeferredImageDecoderTest, decodedSize) in TEST_F() argument
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DMemoryCacheTest.cpp217 ASSERT_GT(m_live->decodedSize(), 0u); in TEST_F()
222 ASSERT_GT(m_live->decodedSize(), 0u); in TEST_F()
279 ASSERT_GT(resource1->decodedSize(), 0u); in TEST_F()
280 ASSERT_GT(resource2->decodedSize(), 0u); in TEST_F()
287 ASSERT_GT(resource1->decodedSize(), 0u); in TEST_F()
288 ASSERT_GT(resource2->decodedSize(), 0u); in TEST_F()
297 ASSERT_GT(resource1->decodedSize(), 0u); in TEST_F()
298 ASSERT_GT(resource2->decodedSize(), 0u); in TEST_F()
326 const unsigned lowPriorityMockDecodeSize = cachedImageLowPriority->decodedSize(); in TEST_F()
327 const unsigned highPriorityMockDecodeSize = cachedImageHighPriority->decodedSize(); in TEST_F()
DMemoryCache.cpp124 if (newResource->decodedSize() && newResource->hasClients()) in replace()
202 if (current->m_resource->isLoaded() && current->m_resource->decodedSize()) { in pruneLiveResources()
519 if (resource->decodedSize() && resource->hasClients()) in updateDecodedResource()
563 decodedSize += o->decodedSize(); in addResource()
691 …, "Images", s.images.count, s.images.size, s.images.liveSize, s.images.decodedSize, s.images.purge… in dumpStats()
692 …nt, s.cssStyleSheets.size, s.cssStyleSheets.liveSize, s.cssStyleSheets.decodedSize, s.cssStyleShee… in dumpStats()
693 …nt, s.xslStyleSheets.size, s.xslStyleSheets.liveSize, s.xslStyleSheets.decodedSize, s.xslStyleShee… in dumpStats()
694 …cript", s.scripts.count, s.scripts.size, s.scripts.liveSize, s.scripts.decodedSize, s.scripts.purg… in dumpStats()
695 …3d\n", "Fonts", s.fonts.count, s.fonts.size, s.fonts.liveSize, s.fonts.decodedSize, s.fonts.purgea… in dumpStats()
696 …3d\n", "Other", s.other.count, s.other.size, s.other.liveSize, s.other.decodedSize, s.other.purgea… in dumpStats()
[all …]
DMemoryCache.h122 int decodedSize; member
132 , decodedSize(0) in TypeStatistic()
DResource.h136 size_t size() const { return encodedSize() + decodedSize() + overheadSize(); } in size()
138 size_t decodedSize() const { return m_decodedSize; } in decodedSize() function
DResource.cpp560 void Resource::setDecodedSize(size_t decodedSize) in setDecodedSize() argument
562 if (decodedSize == m_decodedSize) in setDecodedSize()
565 m_decodedSize = decodedSize; in setDecodedSize()
DImageResource.cpp422 setDecodedSize(decodedSize() + delta); in decodedSizeChanged()
/external/skia/platform_tools/nacl/src/
Dnacl_debugger.cpp63 size_t decodedSize = 3 * (dataSize / 4); in HandleMessage() local
64 SkDebugf("Got size: %d\n", decodedSize); in HandleMessage()
69 SkMemoryStream pictureStream(decodedData.getData(), decodedSize); in HandleMessage()
/external/chromium_org/third_party/skia/platform_tools/nacl/src/
Dnacl_debugger.cpp63 size_t decodedSize = 3 * (dataSize / 4); in HandleMessage() local
64 SkDebugf("Got size: %d\n", decodedSize); in HandleMessage()
69 SkMemoryStream pictureStream(decodedData.getData(), decodedSize); in HandleMessage()
/external/chromium_org/third_party/WebKit/Source/web/
DWebCache.cpp48 to.decodedSize = static_cast<size_t>(from.decodedSize); in ToResourceTypeStat()
/external/chromium_org/third_party/WebKit/public/web/
DWebCache.h56 size_t decodedSize; member
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/
DJPEGImageDecoder.h50 virtual IntSize decodedSize() const OVERRIDE { return m_decodedSize; } in decodedSize() function
DJPEGImageDecoderTest.cpp79 EXPECT_EQ(IntSize(*outputWidth, *outputHeight), decoder->decodedSize()); in downsample()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/skia/
DNativeImageSkia.h85 int decodedSize() const;
DNativeImageSkia.cpp282 int NativeImageSkia::decodedSize() const in decodedSize() function in WebCore::NativeImageSkia
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
DImageDecoder.h103 virtual IntSize decodedSize() const { return size(); } in decodedSize() function
/external/chromium_org/chrome/common/
Drender_messages.h168 IPC_STRUCT_TRAITS_MEMBER(decodedSize)