Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
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.cpp99 mSize(0), mMaxSize(MB(DEFAULT_DROP_SHADOW_CACHE_SIZE)) { in TextDropShadowCache()
114 mSize(0), mMaxSize(maxByteSize) { in TextDropShadowCache()
136 return mMaxSize; in getMaxSize()
140 mMaxSize = maxSize; in setMaxSize()
141 while (mSize > mMaxSize) { in setMaxSize()
200 if (size < mMaxSize) { in get()
201 while (mSize + size > mMaxSize) { in get()
218 if (size < mMaxSize) { in get()
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()
DLayerCache.cpp34 LayerCache::LayerCache(): mSize(0), mMaxSize(MB(DEFAULT_LAYER_CACHE_SIZE)) { in LayerCache()
61 return mMaxSize; in getMaxSize()
66 mMaxSize = maxSize; in setMaxSize()
149 if (size < mMaxSize) { in put()
151 while (mSize + size > mMaxSize) { in put()
DTextureCache.cpp39 mSize(0), mMaxSize(MB(DEFAULT_TEXTURE_CACHE_SIZE)), in TextureCache()
63 mSize(0), mMaxSize(maxByteSize) { in TextureCache()
89 return mMaxSize; in getMaxSize()
93 mMaxSize = maxSize; in setMaxSize()
94 while (mSize > mMaxSize) { in setMaxSize()
152 bool canCache = size < mMaxSize; in getCachedTexture()
154 while (canCache && mSize + size > mMaxSize) { in getCachedTexture()
DPatchCache.cpp39 mMaxSize = KB(atoi(property)); in PatchCache()
42 mMaxSize = KB(DEFAULT_PATCH_CACHE_SIZE); in PatchCache()
177 glBufferData(GL_ARRAY_BUFFER, mMaxSize, NULL, GL_DYNAMIC_DRAW); in createVertexBuffer()
179 mFreeBlocks = new BufferBlock(0, mMaxSize); in createVertexBuffer()
193 if (mSize + size > mMaxSize) { in setupMesh()
DGradientCache.cpp67 mSize(0), mMaxSize(MB(DEFAULT_GRADIENT_CACHE_SIZE)) { in GradientCache()
87 mSize(0), mMaxSize(maxByteSize) { in GradientCache()
104 return mMaxSize; in getMaxSize()
108 mMaxSize = maxSize; in setMaxSize()
109 while (mSize > mMaxSize) { in setMaxSize()
184 while (getSize() + size > mMaxSize) { in addLinearGradient()
DPathCache.cpp154 mSize(0), mMaxSize(MB(DEFAULT_PATH_CACHE_SIZE)) { in PathCache()
185 return mMaxSize; in getMaxSize()
189 mMaxSize = maxSize; in setMaxSize()
190 while (mSize > mMaxSize) { in setMaxSize()
243 if (size < mMaxSize) { in purgeCache()
244 while (mSize + size > mMaxSize) { in purgeCache()
251 while (mSize > mMaxSize) { in trim()
283 if (size < mMaxSize) { in generateTexture()
DPatchCache.h67 return mMaxSize; in getMaxSize()
170 uint32_t mMaxSize; variable
DFboCache.h73 uint32_t mMaxSize; variable
DTessellationCache.cpp301 , mMaxSize(MB(DEFAULT_VERTEX_CACHE_SIZE)) in TessellationCache()
335 return mMaxSize; in getMaxSize()
339 mMaxSize = maxSize; in setMaxSize()
340 while (mSize > mMaxSize) { in setMaxSize()
352 while (size > mMaxSize) { in trim()
DTextureCache.h153 uint32_t mMaxSize; variable
DRenderBufferCache.h124 uint32_t mMaxSize; variable
DLayerCache.h140 uint32_t mMaxSize; variable
DTextDropShadowCache.h169 uint32_t mMaxSize; variable
DTessellationCache.h157 uint32_t mMaxSize; variable
DGradientCache.h187 uint32_t mMaxSize; variable
DPathCache.h304 uint32_t mMaxSize; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp302 if (mMaxSize == 0) { in configureQueueLocked()
309 mMaxSize, 1); in configureQueueLocked()
315 mMaxSize, mId); in configureQueueLocked()
DCamera3Stream.h254 const size_t mMaxSize; variable
DCamera3IOStreamBase.cpp73 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
DCamera3InputStream.cpp199 assert(mMaxSize == 0); in configureQueueLocked()
DCamera3Stream.cpp53 mMaxSize(maxSize), in Camera3Stream()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java577 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
594 mMaxSize = maxSize; in setSize()
635 if (nextIndex >= mMaxSize) { in get()
636 nextIndex -= mMaxSize; in get()
660 if (mLogRecVector.size() < mMaxSize) { in add()
665 if (mOldestIndex >= mMaxSize) { in add()