Home
last modified time | relevance | path

Searched refs:mMaxSize (Results 1 – 22 of 22) 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.cpp98 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()
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()
DTextureCache.cpp38 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()
DLayerCache.cpp34 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()
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.cpp158 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()
DFboCache.h73 uint32_t mMaxSize; variable
DTextureCache.h136 uint32_t mMaxSize; variable
DLayerCache.h136 uint32_t mMaxSize; variable
DRenderBufferCache.h124 uint32_t mMaxSize; variable
DTextDropShadowCache.h167 uint32_t mMaxSize; variable
DGradientCache.h187 uint32_t mMaxSize; variable
DPathCache.h321 uint32_t mMaxSize; variable
/frameworks/base/core/jni/android/graphics/
DTextLayoutCache.cpp41 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()
DTextLayoutCache.h261 uint32_t mMaxSize; variable
/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()
/frameworks/av/services/camera/libcameraservice/camera3/
DCamera3Stream.h222 const size_t mMaxSize; variable
DCamera3OutputStream.cpp276 if (mMaxSize == 0) { in configureQueueLocked()
284 mMaxSize, 1, in configureQueueLocked()
DCamera3InputStream.cpp205 assert(mMaxSize == 0); in configureQueueLocked()
DCamera3IOStreamBase.cpp119 lines.appendFormat(" Max size: %d\n", mMaxSize); in dump()
DCamera3Stream.cpp46 mMaxSize(maxSize), in Camera3Stream()