Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderBufferCache.cpp43 RenderBufferCache::RenderBufferCache(): mSize(0), mMaxSize(MB(DEFAULT_RENDER_BUFFER_CACHE_SIZE)) { in RenderBufferCache()
67 return mMaxSize; in getMaxSize()
72 mMaxSize = maxSize; in setMaxSize()
142 if (size < mMaxSize) { in put()
143 while (mSize + size > mMaxSize) { in put()
164 buffer->getWidth(), buffer->getHeight(), size, mMaxSize); in put()
DFboCache.cpp32 FboCache::FboCache(): mMaxSize(DEFAULT_FBO_CACHE_SIZE) { in FboCache()
36 mMaxSize = atoi(property); in FboCache()
55 return mMaxSize; in getMaxSize()
82 if (mCache.size() < mMaxSize) { in put()
DTextDropShadowCache.cpp101 mSize(0), mMaxSize(MB(DEFAULT_DROP_SHADOW_CACHE_SIZE)) { in TextDropShadowCache()
116 mSize(0), mMaxSize(maxByteSize) { in TextDropShadowCache()
138 return mMaxSize; in getMaxSize()
142 mMaxSize = maxSize; in setMaxSize()
143 while (mSize > mMaxSize) { in setMaxSize()
202 if (size < mMaxSize) { in get()
203 while (mSize + size > mMaxSize) { in get()
220 if (size < mMaxSize) { in get()
DLayerCache.cpp34 LayerCache::LayerCache(): mSize(0), mMaxSize(MB(DEFAULT_LAYER_CACHE_SIZE)) { in LayerCache()
61 return mMaxSize; in getMaxSize()
66 mMaxSize = maxSize; in setMaxSize()
146 if (size < mMaxSize) { in put()
148 while (mSize + size > mMaxSize) { in put()
DPatchCache.cpp45 mMaxSize = KB(atoi(property)); in PatchCache()
48 mMaxSize = KB(DEFAULT_PATCH_CACHE_SIZE); in PatchCache()
183 glBufferData(GL_ARRAY_BUFFER, mMaxSize, nullptr, GL_DYNAMIC_DRAW); in createVertexBuffer()
185 mFreeBlocks = new BufferBlock(0, mMaxSize); in createVertexBuffer()
199 if (mSize + size > mMaxSize) { in setupMesh()
DTextureCache.cpp44 , mMaxSize(MB(DEFAULT_TEXTURE_CACHE_SIZE)) in TextureCache()
85 return mMaxSize; in getMaxSize()
89 mMaxSize = maxSize; in setMaxSize()
90 while (mSize > mMaxSize) { in setMaxSize()
161 bool canCache = size < mMaxSize; in getCachedTexture()
163 while (canCache && mSize + size > mMaxSize) { in getCachedTexture()
DGradientCache.cpp68 , mMaxSize(MB(DEFAULT_GRADIENT_CACHE_SIZE)) in GradientCache()
97 return mMaxSize; in getMaxSize()
101 mMaxSize = maxSize; in setMaxSize()
102 while (mSize > mMaxSize) { in setMaxSize()
177 while (getSize() + size > mMaxSize) { in addLinearGradient()
DPatchCache.h68 return mMaxSize; in getMaxSize()
172 uint32_t mMaxSize; variable
DPathCache.cpp141 mSize(0), mMaxSize(MB(DEFAULT_PATH_CACHE_SIZE)) { in PathCache()
145 mMaxSize = MB(atof(property)); in PathCache()
172 return mMaxSize; in getMaxSize()
223 if (size < mMaxSize) { in purgeCache()
224 while (mSize + size > mMaxSize) { in purgeCache()
231 while (mSize > mMaxSize) { in trim()
DFboCache.h73 uint32_t mMaxSize; variable
DTessellationCache.cpp310 , mMaxSize(MB(DEFAULT_VERTEX_CACHE_SIZE)) in TessellationCache()
344 return mMaxSize; in getMaxSize()
348 mMaxSize = maxSize; in setMaxSize()
349 while (mSize > mMaxSize) { in setMaxSize()
361 while (size > mMaxSize) { in trim()
DRenderBufferCache.h124 uint32_t mMaxSize; variable
DLayerCache.h139 uint32_t mMaxSize; variable
DTextureCache.h161 uint32_t mMaxSize; variable
DTextDropShadowCache.h170 uint32_t mMaxSize; variable
DTessellationCache.h157 uint32_t mMaxSize; variable
DGradientCache.h180 uint32_t mMaxSize; variable
DPathCache.h303 uint32_t mMaxSize; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp299 if (mMaxSize == 0) { in configureQueueLocked()
306 mMaxSize, 1); in configureQueueLocked()
312 mMaxSize, mId); in configureQueueLocked()
DCamera3Stream.h353 const size_t mMaxSize; variable
DCamera3IOStreamBase.cpp79 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
DCamera3InputStream.cpp217 assert(mMaxSize == 0); in configureQueueLocked()
DCamera3Stream.cpp54 mMaxSize(maxSize), in Camera3Stream()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java579 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
596 mMaxSize = maxSize; in setSize()
637 if (nextIndex >= mMaxSize) { in get()
638 nextIndex -= mMaxSize; in get()
662 if (mLogRecVector.size() < mMaxSize) { in add()
667 if (mOldestIndex >= mMaxSize) { in add()