Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/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/services/Car/service/src/com/android/car/hal/
DBidirectionalSparseIntArray.java47 private BidirectionalSparseIntArray(int initialCapacity) { in BidirectionalSparseIntArray() argument
48 mMap = new SparseIntArray(initialCapacity); in BidirectionalSparseIntArray()
49 mInverseMap = new SparseIntArray(initialCapacity); in BidirectionalSparseIntArray()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/
DSparseArray.java30 public SparseArray(final int initialCapacity) { in SparseArray() argument
31 mKeys = new ArrayList<>(initialCapacity); in SparseArray()
32 mValues = new ArrayList<>(initialCapacity); in SparseArray()
DSparseIntArray.java26 public SparseIntArray(final int initialCapacity) { in SparseIntArray() argument
27 mArray = new SparseArray<>(initialCapacity); in SparseIntArray()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DSparseLongArray.java45 public SparseLongArray(int initialCapacity) { in SparseLongArray() argument
46 mKeys = new int[initialCapacity]; in SparseLongArray()
47 mValues = new long[initialCapacity]; in SparseLongArray()
DMatrixCursorWithExtra.java23 public MatrixCursorWithExtra(String[] columnNames, int initialCapacity, Bundle extras) { in MatrixCursorWithExtra() argument
24 super(columnNames, initialCapacity); in MatrixCursorWithExtra()
DMatrixCursorWithCachedColumns.java27 public MatrixCursorWithCachedColumns(final String[] columnNames, final int initialCapacity) { in MatrixCursorWithCachedColumns() argument
28 super(columnNames, initialCapacity); in MatrixCursorWithCachedColumns()
DLruCache.java48 private LruCache(int initialCapacity, int maxCapacity) { in LruCache() argument
49 super(initialCapacity, (float) 0.75, true); in LruCache()
DObservableSparseArrayCompat.java30 public ObservableSparseArrayCompat(final int initialCapacity) { in ObservableSparseArrayCompat() argument
31 super(initialCapacity); in ObservableSparseArrayCompat()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockRespondMatrixCursor.java36 public MockRespondMatrixCursor(final String[] columnNames, final int initialCapacity, in MockRespondMatrixCursor() argument
38 super(columnNames, initialCapacity); in MockRespondMatrixCursor()
/packages/apps/TV/src/com/android/tv/util/
DMultiLongSparseArray.java43 public MultiLongSparseArray(int initialCapacity, int emptyCacheSize) { in MultiLongSparseArray() argument
44 mSparseArray = new LongSparseArray<>(initialCapacity); in MultiLongSparseArray()
/packages/apps/Contacts/src/com/android/contacts/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.java63 public CompositeListAdapter(int initialCapacity) { in CompositeListAdapter() argument