/frameworks/base/libs/hwui/ |
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 | 99 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()
|
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()
|
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() 149 if (size < mMaxSize) { in put() 151 while (mSize + size > mMaxSize) { in put()
|
D | TextureCache.cpp | 39 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()
|
D | PatchCache.cpp | 39 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()
|
D | GradientCache.cpp | 67 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()
|
D | PathCache.cpp | 154 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()
|
D | PatchCache.h | 67 return mMaxSize; in getMaxSize() 170 uint32_t mMaxSize; variable
|
D | FboCache.h | 73 uint32_t mMaxSize; variable
|
D | TessellationCache.cpp | 301 , 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()
|
D | TextureCache.h | 153 uint32_t mMaxSize; variable
|
D | RenderBufferCache.h | 124 uint32_t mMaxSize; variable
|
D | LayerCache.h | 140 uint32_t mMaxSize; variable
|
D | TextDropShadowCache.h | 169 uint32_t mMaxSize; variable
|
D | TessellationCache.h | 157 uint32_t mMaxSize; variable
|
D | GradientCache.h | 187 uint32_t mMaxSize; variable
|
D | PathCache.h | 304 uint32_t mMaxSize; variable
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OutputStream.cpp | 302 if (mMaxSize == 0) { in configureQueueLocked() 309 mMaxSize, 1); in configureQueueLocked() 315 mMaxSize, mId); in configureQueueLocked()
|
D | Camera3Stream.h | 254 const size_t mMaxSize; variable
|
D | Camera3IOStreamBase.cpp | 73 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()
|
D | Camera3InputStream.cpp | 199 assert(mMaxSize == 0); in configureQueueLocked()
|
D | Camera3Stream.cpp | 53 mMaxSize(maxSize), in Camera3Stream()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StateMachine.java | 577 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()
|