Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node_priority_queue.h33 : mMaxSize(capacity), mDicNodesQueue(), mDicNodePool(capacity) { in DicNodePriorityQueue()
45 return mMaxSize; in getMaxSize()
49 mMaxSize = maxSize; in setMaxSize()
53 clearAndResize(mMaxSize); in clear()
57 mMaxSize = maxSize; in clearAndResize()
61 mDicNodePool.reset(mMaxSize + 1); in clearAndResize()
69 if (getSize() < mMaxSize) { in copyPush()
114 int mMaxSize; variable
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageFormat.java114 private final int mMaxSize; field in BipImageFormat
123 mMaxSize = maxSize; in BipImageFormat()
133 mMaxSize = parseInt(maxSize); in BipImageFormat()
167 return mMaxSize; in getMaxSize()
214 if (mMaxSize > -1) { in toString()
215 sb.append(" maxsize=\"" + mMaxSize + "\""); in toString()
DBipImageDescriptor.java137 mImageDescriptor.mMaxSize = size; in setMaxFileSize()
182 private int mMaxSize = -1; field in BipImageDescriptor
207 mMaxSize = parseInt(xpp.getAttributeValue(null, "maxsize")); in parse()
255 return mMaxSize; in getMaxSize()
306 if (mMaxSize != -1) { in toString()
307 xmlMsgElement.attribute(null, "maxsize", Integer.toString(mMaxSize)); in toString()
/packages/services/Car/service/src/com/android/car/
DSlidingWindow.java30 private final int mMaxSize; field in SlidingWindow
33 mMaxSize = size; in SlidingWindow()
34 mElements = new ArrayDeque<>(mMaxSize); in SlidingWindow()
38 if (mElements.size() == mMaxSize) { in add()
/packages/apps/Camera2/src/com/android/camera/processing/memory/
DLruPool.java101 private final int mMaxSize; field in LruPool
123 mMaxSize = maxSize; in LruPool()
188 unsafeTrimToSize(mMaxSize); in add()
222 return mMaxSize; in getMaxSize()
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java704 private int mMaxSize = MAX_PULL_PAYLOAD_SIZE; field in StatsEvent.Buffer
738 mMaxSize = MAX_PULL_PAYLOAD_SIZE; in reset()
742 mMaxSize = maxSize; in setMaxSize()
762 if (totalBytesNeeded > mMaxSize) { in hasEnoughSpace()
768 if (mBytes.length < mMaxSize && totalBytesNeeded > mBytes.length) { in hasEnoughSpace()
774 if (newSize > mMaxSize) { in hasEnoughSpace()
775 newSize = mMaxSize; in hasEnoughSpace()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DDynamicRingBuffer.java66 private final AtomicInteger mMaxSize; field in DynamicRingBuffer
80 mMaxSize = new AtomicInteger(Integer.MAX_VALUE); in DynamicRingBuffer()
193 mMaxSize.set(newMaxSize); in setMaxSize()
207 while (mQueueSize.get() > mMaxSize.get()) { in shrinkToFitMaxSize()
/packages/apps/Car/Radio/src/com/android/car/radio/platform/
DImageMemoryCache.java50 private final int mMaxSize; field in ImageMemoryCache.CacheMap
54 mMaxSize = maxSize; in CacheMap()
59 return size() > mMaxSize; in removeEldestEntry()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewCache.java54 if (entry != null && entry.mCurrentSize < entry.mMaxSize) { in recycleView()
62 final int mMaxSize; field in ViewCache.CacheEntry
68 mMaxSize = maxSize; in CacheEntry()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskKeyLruCache.java112 private final int mMaxSize; field in TaskKeyLruCache.MyLinkedHashMap
116 mMaxSize = maxSize; in MyLinkedHashMap()
121 return size() > mMaxSize; in removeEldestEntry()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanDetailCache.java40 private final int mMaxSize; field in ScanDetailCache
57 mMaxSize = maxSize; in ScanDetailCache()
64 if (mMap.size() >= mMaxSize) { in put()
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java580 private int mMaxSize = DEFAULT_SIZE; field in StateMachine.LogRecords
600 mMaxSize = maxSize; in setSize()
642 if (nextIndex >= mMaxSize) { in get()
643 nextIndex -= mMaxSize; in get()
667 if (mLogRecVector.size() < mMaxSize) { in add()
672 if (mOldestIndex >= mMaxSize) { in add()
1516 return smh.mLogRecords.mMaxSize; in getLogRecMaxSize()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBitmapPool.java61 private final int mMaxSize; field in BitmapPool
89 mMaxSize = maxSize; in BitmapPool()
338 singleSizePool = new SingleSizePool(mMaxSize); in reclaimBitmap()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java275 int mMaxSize; // max size in mainAxis of the same offaxis field in ScrollAdapterView.ChildViewHolder
1277 h.mMaxSize = maxSize;
2094 return ((ChildViewHolder) v.getTag(R.id.ScrollAdapterViewChild)).mMaxSize;
2382 h.mMaxSize = maxSize;
2633 return scrollCenter - holder.mMaxSize / 2;
2637 return scrollCenter - holder.mMaxSize;
2646 return scrollCenter + holder.mMaxSize / 2;
2648 return scrollCenter + holder.mMaxSize;
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java7866 private final int mMaxSize;
7869 this.mMaxSize = maxSize;
7874 return size() > mMaxSize;