Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hwui/
DRenderBufferCache.cpp45 , mMaxSize(Properties::renderBufferCacheSize) {} in RenderBufferCache()
60 return mMaxSize; in getMaxSize()
129 if (size < mMaxSize) { in put()
130 while (mSize + size > mMaxSize) { in put()
149 buffer->getWidth(), buffer->getHeight(), size, mMaxSize); in put()
DFboCache.cpp31 : mMaxSize(Properties::fboCacheSize) {} in FboCache()
46 return mMaxSize; in getMaxSize()
73 if (mCache.size() < mMaxSize) { in put()
DTextDropShadowCache.cpp102 , mMaxSize(maxByteSize) { in TextDropShadowCache()
120 return mMaxSize; in getMaxSize()
174 if (size < mMaxSize) { in get()
175 while (mSize + size > mMaxSize) { in get()
188 if (size < mMaxSize) { in get()
DTextureCache.cpp38 , mMaxSize(Properties::textureCacheSize) in TextureCache()
61 return mMaxSize; in getMaxSize()
137 bool canCache = size < mMaxSize; in getCachedTexture()
139 while (canCache && mSize + size > mMaxSize) { in getCachedTexture()
DPatchCache.cpp35 , mMaxSize(Properties::patchCacheSize) in PatchCache()
157 mMaxSize, nullptr, GL_DYNAMIC_DRAW); in createVertexBuffer()
159 mFreeBlocks = new BufferBlock(0, mMaxSize); in createVertexBuffer()
174 if (mSize + size > mMaxSize) { in setupMesh()
DGradientCache.cpp68 , mMaxSize(Properties::gradientCacheSize) in GradientCache()
90 return mMaxSize; in getMaxSize()
159 while (getSize() + size > mMaxSize) { in addLinearGradient()
163 getSize(), size, mMaxSize, info.width); in addLinearGradient()
DPatchCache.h65 return mMaxSize; in getMaxSize()
165 const uint32_t mMaxSize; variable
DPathCache.cpp182 , mMaxSize(Properties::pathCacheSize) { in PathCache()
205 return mMaxSize; in getMaxSize()
254 if (size < mMaxSize) { in purgeCache()
255 while (mSize + size > mMaxSize) { in purgeCache()
267 while (mSize > mMaxSize || mCache.size() > DEFAULT_PATH_TEXTURE_CAP) { in trim()
269 " mSize = %u, mMaxSize = %u", mSize, mMaxSize); in trim()
DFboCache.h73 uint32_t mMaxSize; variable
DTextureCache.h131 const uint32_t mMaxSize; variable
DRenderBufferCache.h115 uint32_t mMaxSize; variable
DTessellationCache.cpp293 : mMaxSize(Properties::tessellationCacheSize) in TessellationCache()
319 return mMaxSize; in getMaxSize()
329 while (size > mMaxSize) { in trim()
DTextDropShadowCache.h158 const uint32_t mMaxSize; variable
DGradientCache.h168 const uint32_t mMaxSize; variable
DTessellationCache.h187 const uint32_t mMaxSize; variable
DPathCache.h275 const uint32_t mMaxSize; variable
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.h108 uint32_t getMaxSize() { return mMaxSize; } in getMaxSize()
157 uint32_t mMaxSize; variable
DOffscreenBufferPool.cpp119 : mMaxSize(Properties::layerPoolSize) { in OffscreenBufferPool()
189 if (size < mMaxSize) { in putOrDelete()
191 while (mSize + size > mMaxSize) { in putOrDelete()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DScanDetailCache.java39 private final int mMaxSize; field in ScanDetailCache
56 mMaxSize = maxSize; in ScanDetailCache()
63 if (mMap.size() >= mMaxSize) { in put()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java581 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
601 mMaxSize = maxSize; in setSize()
643 if (nextIndex >= mMaxSize) { in get()
644 nextIndex -= mMaxSize; in get()
668 if (mLogRecVector.size() < mMaxSize) { in add()
673 if (mOldestIndex >= mMaxSize) { in add()
1517 return smh.mLogRecords.mMaxSize; in getLogRecMaxSize()
/frameworks/base/cmds/incidentd/src/
DReporter.h93 off_t mMaxSize; variable
DReporter.cpp134 mMaxSize = 100 * 1024 * 1024; in Reporter()
172 clean_directory(INCIDENT_DIRECTORY, mMaxSize, mMaxCount); in runReport()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.h398 const size_t mMaxSize; variable
DCamera3OutputStream.cpp383 if (mMaxSize == 0) { in configureConsumerQueueLocked()
390 mMaxSize, 1); in configureConsumerQueueLocked()
396 mMaxSize, mId); in configureConsumerQueueLocked()
DCamera3IOStreamBase.cpp80 lines.appendFormat(" Max size: %zu\n", mMaxSize); in dump()

12