Home
last modified time | relevance | path

Searched refs:mMaxSize (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/libs/hwui/
DRenderBufferCache.cpp45 , mMaxSize(Properties::renderBufferCacheSize) {} in RenderBufferCache()
60 return mMaxSize; in getMaxSize()
129 if (size < mMaxSize) { in put()
130 while (mSize + size > mMaxSize) { in put()
149 buffer->getWidth(), buffer->getHeight(), size, mMaxSize); in put()
DLayerCache.cpp35 , mMaxSize(Properties::layerPoolSize) {} in LayerCache()
54 return mMaxSize; in getMaxSize()
59 mMaxSize = maxSize; in setMaxSize()
135 if (size < mMaxSize) { in put()
137 while (mSize + size > mMaxSize) { in put()
DFboCache.cpp31 : mMaxSize(Properties::fboCacheSize) {} in FboCache()
46 return mMaxSize; in getMaxSize()
73 if (mCache.size() < mMaxSize) { in put()
DTextDropShadowCache.cpp102 , mMaxSize(maxByteSize) { in TextDropShadowCache()
120 return mMaxSize; in getMaxSize()
174 if (size < mMaxSize) { in get()
175 while (mSize + size > mMaxSize) { in get()
188 if (size < mMaxSize) { in get()
DTextureCache.cpp38 , mMaxSize(Properties::textureCacheSize) in TextureCache()
62 return mMaxSize; in getMaxSize()
127 bool canCache = size < mMaxSize; in getCachedTexture()
129 while (canCache && mSize + size > mMaxSize) { in getCachedTexture()
DPatchCache.cpp35 , mMaxSize(Properties::patchCacheSize) in PatchCache()
173 glBufferData(GL_ARRAY_BUFFER, mMaxSize, nullptr, GL_DYNAMIC_DRAW); in createVertexBuffer()
175 mFreeBlocks = new BufferBlock(0, mMaxSize); in createVertexBuffer()
189 if (mSize + size > mMaxSize) { in setupMesh()
DGradientCache.cpp68 , mMaxSize(Properties::gradientCacheSize) in GradientCache()
89 return mMaxSize; in getMaxSize()
158 while (getSize() + size > mMaxSize) { in addLinearGradient()
162 getSize(), size, mMaxSize, info.width); in addLinearGradient()
DPatchCache.h68 return mMaxSize; in getMaxSize()
172 const uint32_t mMaxSize; variable
DFboCache.h73 uint32_t mMaxSize; variable
DPathCache.cpp185 , mMaxSize(Properties::pathCacheSize) { in PathCache()
208 return mMaxSize; in getMaxSize()
257 if (size < mMaxSize) { in purgeCache()
258 while (mSize + size > mMaxSize) { in purgeCache()
265 while (mSize > mMaxSize) { in trim()
DRenderBufferCache.h115 uint32_t mMaxSize; variable
DTextureCache.h149 const uint32_t mMaxSize; variable
DLayerCache.h136 uint32_t mMaxSize; variable
DTessellationCache.cpp294 : mMaxSize(Properties::tessellationCacheSize) in TessellationCache()
320 return mMaxSize; in getMaxSize()
330 while (size > mMaxSize) { in trim()
DTextDropShadowCache.h158 const uint32_t mMaxSize; variable
DGradientCache.h176 const uint32_t mMaxSize; variable
DTessellationCache.h194 const uint32_t mMaxSize; variable
DPathCache.h302 const uint32_t mMaxSize; variable
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.h108 uint32_t getMaxSize() { return mMaxSize; } in getMaxSize()
157 uint32_t mMaxSize; variable
DOffscreenBufferPool.cpp118 : mMaxSize(Properties::layerPoolSize) { in OffscreenBufferPool()
188 if (size < mMaxSize) { in putOrDelete()
190 while (mSize + size > mMaxSize) { in putOrDelete()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java579 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
599 mMaxSize = maxSize; in setSize()
641 if (nextIndex >= mMaxSize) { in get()
642 nextIndex -= mMaxSize; in get()
666 if (mLogRecVector.size() < mMaxSize) { in add()
671 if (mOldestIndex >= mMaxSize) { in add()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp404 if (mMaxSize == 0) { in configureQueueLocked()
411 mMaxSize, 1); in configureQueueLocked()
417 mMaxSize, mId); in configureQueueLocked()
DCamera3Stream.h383 const size_t mMaxSize; variable
DCamera3IOStreamBase.cpp80 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
DCamera3InputStream.cpp218 assert(mMaxSize == 0); in configureQueueLocked()

12