Home
last modified time | relevance | path

Searched refs:initialCapacity (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/decoder/
DByteQueue.java27 private int initialCapacity = -1; field in ByteQueue
33 public ByteQueue(int initialCapacity) { in ByteQueue() argument
34 buf = new UnboundedFifoByteBuffer(initialCapacity); in ByteQueue()
35 this.initialCapacity = initialCapacity; in ByteQueue()
51 if (initialCapacity != -1) in clear()
52 buf = new UnboundedFifoByteBuffer(initialCapacity); in clear()
/packages/apps/Mms/src/com/android/mms/util/
DSimpleCache.java43 public SoftReferenceMap(int initialCapacity, int maxCapacity, float loadFactor) { in SoftReferenceMap() argument
44 super(initialCapacity, loadFactor, true); in SoftReferenceMap()
59 public HardReferenceMap(int initialCapacity, int maxCapacity, float loadFactor) { in HardReferenceMap() argument
60 super(initialCapacity, loadFactor, true); in HardReferenceMap()
88 public SimpleCache(int initialCapacity, int maxCapacity, float loadFactor, in SimpleCache() argument
92 mHardReferences = new HardReferenceMap(initialCapacity, maxCapacity, loadFactor); in SimpleCache()
94 mSoftReferences = new SoftReferenceMap(initialCapacity, maxCapacity, loadFactor); in SimpleCache()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DCollectionUtils.java72 public static <E> ArrayList<E> newArrayList(final int initialCapacity) { in newArrayList() argument
73 return new ArrayList<E>(initialCapacity); in newArrayList()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DPinnedHeaderListAdapter.java39 public PinnedHeaderListAdapter(Context context, int initialCapacity) { in PinnedHeaderListAdapter() argument
40 super(context, initialCapacity); in PinnedHeaderListAdapter()
/packages/apps/Contacts/src/com/android/contacts/widget/
DCompositeListAdapter.java68 public CompositeListAdapter(int initialCapacity) { in CompositeListAdapter() argument