Searched defs:capacity (Results 1 - 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBoundedTreeSet.java30 public BoundedTreeSet(final Comparator<SuggestedWordInfo> comparator, final int capacity) { argument
32 mCapacity = capacity;
H A DResizableIntArray.java26 public ResizableIntArray(final int capacity) { argument
27 reset(capacity);
54 * Calculate the new capacity of {@code mArray}.
55 * @param minimumCapacity the minimum capacity that the {@code mArray} should have.
56 * @return the new capacity that the {@code mArray} should have. Returns zero when there is no
86 public void reset(final int capacity) { argument
88 mArray = new int[capacity];
H A DUserHistoryDictIOUtils.java107 public int capacity() { method in class:UserHistoryDictIOUtils.ByteArrayWrapper
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DLruCache.java33 public LruCache(final int capacity) { argument
37 return size() > capacity;
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DLruCache.java37 public LruCache(final int capacity) { argument
41 return size() > capacity;
H A DFileCache.java89 public FileCache(Context context, File rootDir, String dbName, long capacity) { argument
91 mCapacity = capacity;
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DBytesBufferPool.java35 private BytesBuffer(int capacity) { argument
36 this.data = new byte[capacity];
44 int capacity = data.length;
46 int step = Math.min(READ_STEP, capacity - length);
51 if (length == capacity) {
55 capacity = data.length;
H A DDownloadCache.java81 public DownloadCache(GalleryApp application, File root, long capacity) { argument
84 mCapacity = capacity;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DListSuggestionCursor.java55 public ListSuggestionCursor(String userQuery, int capacity) { argument
57 mSuggestions = new ArrayList<Entry>(capacity);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictInputOutput.java67 public int capacity(); method in interface:BinaryDictInputOutput.FusionDictionaryBufferInterface
119 public int capacity() { method in class:BinaryDictInputOutput.ByteBufferWrapper
120 return mBuffer.capacity();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSlotView.java230 private static int[] expandIntArray(int array[], int capacity) { argument
231 while (array.length < capacity) {

Completed in 198 milliseconds