/frameworks/base/libs/hwui/ |
D | RenderBufferCache.cpp | 43 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()
|
D | FboCache.cpp | 32 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()
|
D | TextDropShadowCache.cpp | 101 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()
|
D | LayerCache.cpp | 34 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()
|
D | PatchCache.cpp | 45 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()
|
D | TextureCache.cpp | 44 , 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()
|
D | GradientCache.cpp | 68 , 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()
|
D | PatchCache.h | 68 return mMaxSize; in getMaxSize() 172 uint32_t mMaxSize; variable
|
D | PathCache.cpp | 141 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()
|
D | FboCache.h | 73 uint32_t mMaxSize; variable
|
D | TessellationCache.cpp | 310 , 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()
|
D | RenderBufferCache.h | 124 uint32_t mMaxSize; variable
|
D | LayerCache.h | 139 uint32_t mMaxSize; variable
|
D | TextureCache.h | 161 uint32_t mMaxSize; variable
|
D | TextDropShadowCache.h | 170 uint32_t mMaxSize; variable
|
D | TessellationCache.h | 157 uint32_t mMaxSize; variable
|
D | GradientCache.h | 180 uint32_t mMaxSize; variable
|
D | PathCache.h | 303 uint32_t mMaxSize; variable
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.cpp | 299 if (mMaxSize == 0) { in configureQueueLocked() 306 mMaxSize, 1); in configureQueueLocked() 312 mMaxSize, mId); in configureQueueLocked()
|
D | Camera3Stream.h | 353 const size_t mMaxSize; variable
|
D | Camera3IOStreamBase.cpp | 79 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
|
D | Camera3InputStream.cpp | 217 assert(mMaxSize == 0); in configureQueueLocked()
|
D | Camera3Stream.cpp | 54 mMaxSize(maxSize), in Camera3Stream()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StateMachine.java | 579 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()
|