Home
last modified time | relevance | path

Searched refs:mMaxSize (Results 1 – 6 of 6) 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/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/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/UnifiedEmail/src/com/android/mail/utils/
DObjectCache.java38 private final int mMaxSize; field in ObjectCache
47 mMaxSize = maxSize; in ObjectCache()
70 if (mDataStore.size() < mMaxSize) { in release()
/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;