/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 | 98 mSize(0), mMaxSize(MB(DEFAULT_DROP_SHADOW_CACHE_SIZE)) { in TextDropShadowCache() 113 mSize(0), mMaxSize(maxByteSize) { in TextDropShadowCache() 135 return mMaxSize; in getMaxSize() 139 mMaxSize = maxSize; in setMaxSize() 140 while (mSize > mMaxSize) { in setMaxSize() 197 if (size < mMaxSize) { in get() 198 while (mSize + size > mMaxSize) { in get() 215 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 | TextureCache.cpp | 38 mSize(0), mMaxSize(MB(DEFAULT_TEXTURE_CACHE_SIZE)), in TextureCache() 62 mSize(0), mMaxSize(maxByteSize) { in TextureCache() 88 return mMaxSize; in getMaxSize() 92 mMaxSize = maxSize; in setMaxSize() 93 while (mSize > mMaxSize) { in setMaxSize() 136 if (size < mMaxSize) { in get() 137 while (mSize + size > mMaxSize) { in get() 146 if (size < mMaxSize) { in get()
|
D | LayerCache.cpp | 34 LayerCache::LayerCache(): mSize(0), mMaxSize(MB(DEFAULT_LAYER_CACHE_SIZE)) { in LayerCache() 57 return mMaxSize; in getMaxSize() 62 mMaxSize = maxSize; in setMaxSize() 143 if (size < mMaxSize) { in put() 145 while (mSize + size > mMaxSize) { in put()
|
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 | 158 mSize(0), mMaxSize(MB(DEFAULT_PATH_CACHE_SIZE)) { in PathCache() 192 return mMaxSize; in getMaxSize() 196 mMaxSize = maxSize; in setMaxSize() 197 while (mSize > mMaxSize) { in setMaxSize() 235 if (size < mMaxSize) { in purgeCache() 236 while (mSize + size > mMaxSize) { in purgeCache() 243 while (mSize > mMaxSize) { in trim() 275 if (size < mMaxSize) { in generateTexture()
|
D | FboCache.h | 73 uint32_t mMaxSize; variable
|
D | TextureCache.h | 136 uint32_t mMaxSize; variable
|
D | LayerCache.h | 136 uint32_t mMaxSize; variable
|
D | RenderBufferCache.h | 124 uint32_t mMaxSize; variable
|
D | TextDropShadowCache.h | 167 uint32_t mMaxSize; variable
|
D | GradientCache.h | 187 uint32_t mMaxSize; variable
|
D | PathCache.h | 321 uint32_t mMaxSize; variable
|
/frameworks/base/core/jni/android/graphics/ |
D | TextLayoutCache.cpp | 41 mSize(0), mMaxSize(MB(DEFAULT_TEXT_LAYOUT_CACHE_SIZE_IN_MB)), in TextLayoutCache() 122 if (size <= mMaxSize) { in getValue() 124 if (mSize + size > mMaxSize) { in getValue() 128 while (mSize + size > mMaxSize) { in getValue() 134 mSize, size, mMaxSize, mCache.size()); in getValue() 154 value.get(), start, count, contextCount, size, mMaxSize - mSize, in getValue() 165 start, count, contextCount, size, mMaxSize - mSize, in getValue() 198 float remainingPercent = 100 * ((mMaxSize - mSize) / ((float)mMaxSize)); in dumpCacheStats() 209 ALOGD("max size : %d bytes", mMaxSize); in dumpCacheStats() 211 ALOGD("remaining : %d bytes or %2.2f percent", mMaxSize - mSize, remainingPercent); in dumpCacheStats()
|
D | TextLayoutCache.h | 261 uint32_t mMaxSize; variable
|
/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()
|
/frameworks/av/services/camera/libcameraservice/camera3/ |
D | Camera3Stream.h | 222 const size_t mMaxSize; variable
|
D | Camera3OutputStream.cpp | 276 if (mMaxSize == 0) { in configureQueueLocked() 284 mMaxSize, 1, in configureQueueLocked()
|
D | Camera3InputStream.cpp | 205 assert(mMaxSize == 0); in configureQueueLocked()
|
D | Camera3IOStreamBase.cpp | 119 lines.appendFormat(" Max size: %d\n", mMaxSize); in dump()
|
D | Camera3Stream.cpp | 46 mMaxSize(maxSize), in Camera3Stream()
|