Home
last modified time | relevance | path

Searched refs:getSizeInBytes (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
DOffscreenBufferPoolTests.cpp41 EXPECT_EQ(64u * 192u * 4u, layer.getSizeInBytes()); in RENDERTHREAD_TEST()
75 ASSERT_LT(layer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_TEST()
78 ASSERT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_TEST()
121 EXPECT_EQ(layer->getSizeInBytes(), pool.getSize()); in RENDERTHREAD_TEST()
131 EXPECT_GT(hugeLayer->getSizeInBytes(), pool.getMaxSize()); in RENDERTHREAD_TEST()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPageContentRepository.java267 mSizeInBytes -= page.getSizeInBytes(); in removeRenderedPage()
279 final int contentSizeInBytes = renderedPage.getSizeInBytes(); in putRenderedPage()
307 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
315 mSizeInBytes -= renderedPage.getSizeInBytes(); in removeLeastNeeded()
319 public int getSizeInBytes() { in getSizeInBytes() method in PageContentRepository.PageContentLruCache
407 public int getSizeInBytes() { in getSizeInBytes() method in PageContentRepository.RenderedPage
782 if (mPageContentCache.getSizeInBytes() <= 0 in onPreExecute()
783 || mPageContentCache.getSizeInBytes() + bitmapSizeInBytes in onPreExecute()
803 + mPageContentCache.getSizeInBytes() + " bytes"); in onPreExecute()
812 + mPageContentCache.getSizeInBytes() + " bytes"); in onPreExecute()
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.cpp154 mSize -= layer->getSizeInBytes(); in get()
186 const uint32_t size = layer->getSizeInBytes(); in putOrDelete()
192 mSize -= victim->getSizeInBytes(); in putOrDelete()
DOffscreenBufferPool.h63 uint32_t getSizeInBytes() { return texture.objectSize(); } in getSizeInBytes() function