Searched refs:capacity (Results 1 – 17 of 17) sorted by relevance
35 private BytesBuffer(int capacity) { in BytesBuffer() argument36 this.data = new byte[capacity]; in BytesBuffer()44 int capacity = data.length; in readFrom() local46 int step = Math.min(READ_STEP, capacity - length); in readFrom()51 if (length == capacity) { in readFrom()55 capacity = data.length; in readFrom()
81 public DownloadCache(GalleryApp application, File root, long capacity) { in DownloadCache() argument84 mCapacity = capacity; in DownloadCache()
26 public ResizableIntArray(final int capacity) { in ResizableIntArray() argument27 reset(capacity); in ResizableIntArray()86 public void reset(final int capacity) { in reset() argument88 mArray = new int[capacity]; in reset()
30 public BoundedTreeSet(final Comparator<SuggestedWordInfo> comparator, final int capacity) { in BoundedTreeSet() argument32 mCapacity = capacity; in BoundedTreeSet()
109 public int capacity() { in capacity() method in UserHistoryDictIOUtils.ByteArrayWrapper
33 public LruCache(final int capacity) { in LruCache() argument37 return size() > capacity; in LruCache()
37 public LruCache(final int capacity) { in LruCache() argument41 return size() > capacity; in LruCache()
89 public FileCache(Context context, File rootDir, String dbName, long capacity) { in FileCache() argument91 mCapacity = capacity; in FileCache()
55 public ListSuggestionCursor(String userQuery, int capacity) { in ListSuggestionCursor() argument57 mSuggestions = new ArrayList<Entry>(capacity); in ListSuggestionCursor()
69 public int capacity(); in capacity() method121 public int capacity() { in capacity() method in BinaryDictInputOutput.ByteBufferWrapper122 return mBuffer.capacity(); in capacity()
231 private static int[] expandIntArray(int array[], int capacity) { in expandIntArray() argument232 while (array.length < capacity) { in expandIntArray()
112 gl.glBufferData(GL11.GL_ARRAY_BUFFER, xyBuffer.capacity() * (Float.SIZE / Byte.SIZE), in GLES11Canvas()978 mGL.glBufferData(GL11.GL_ARRAY_BUFFER, buf.capacity() * elementSize, buf, in uploadBuffer()
957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer, in uploadBuffer()
2007 + buffer.capacity() + " blob: " + blob.length in updateCaptureFromBlob()
1dictionary=main:en_us,locale=en_US,description=English (US),date ...