/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | BytesBufferPool.java | 35 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 D | DownloadCache.java | 81 public DownloadCache(GalleryApp application, File root, long capacity) { argument 84 mCapacity = capacity;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node_pool.h | 31 explicit DicNodePool(const int capacity) : mDicNodes(), mPooledDicNodes() { argument 32 reset(capacity); 35 void reset(const int capacity) { argument 36 if (capacity == static_cast<int>(mDicNodes.size()) 37 && capacity == static_cast<int>(mPooledDicNodes.size())) { 41 mDicNodes.resize(capacity);
|
H A D | dic_node_priority_queue.h | 32 AK_FORCE_INLINE explicit DicNodePriorityQueue(const int capacity) argument 33 : mMaxSize(capacity), mDicNodesQueue(), mDicNodePool(capacity) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | LruCache.java | 33 * Creates an instance of LRUCache, with given capacity. 35 * @param capacity maximum number of elements in the cache. This is also 38 public LruCache(int capacity) { argument 39 this(capacity, capacity); 43 * Creates an instance of LRUCache, with given capacity. 45 * @param initialCapacity initial capacity of the cache. 86 * Necessary to override because HashMap increases the capacity of the 88 * checks if we can remove the eldest element before increasing the capacity.
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | SuggestionResults.java | 40 public SuggestionResults(final Locale locale, final int capacity, argument 42 this(locale, sSuggestedWordInfoComparator, capacity, isBeginningOfSentence); 46 final int capacity, final boolean isBeginningOfSentence) { 49 mCapacity = capacity; 45 SuggestionResults(final Locale locale, final Comparator<SuggestedWordInfo> comparator, final int capacity, final boolean isBeginningOfSentence) argument
|
H A D | ResizableIntArray.java | 26 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];
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | ByteArrayDictBuffer.java | 78 public int capacity() { method in class:ByteArrayDictBuffer
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | LruCache.java | 33 public LruCache(final int capacity) { argument 37 return size() > capacity;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | LruCache.java | 37 public LruCache(final int capacity) { argument 41 return size() > capacity;
|
H A D | FileCache.java | 89 public FileCache(Context context, File rootDir, String dbName, long capacity) { argument 91 mCapacity = capacity;
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | ListSuggestionCursor.java | 55 public ListSuggestionCursor(String userQuery, int capacity) { argument 57 mSuggestions = new ArrayList<Entry>(capacity);
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
H A D | HtmlPrintTemplates.java | 103 LogUtils.d(TAG, "rendered conversation of %d bytes, buffer capacity=%d", 104 mBuilder.length() << 1, mBuilder.capacity() << 1); 124 LogUtils.d(TAG, "rendered conversation of %d bytes, buffer capacity=%d", 125 mBuilder.length() << 1, mBuilder.capacity() << 1);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | JpegUtilNative.java | 67 cbPStride, cbRStride, crBuf, crPStride, crRStride, outBuf, outBuf.capacity(), quality);
|
H A D | ConcurrentSharedRingBuffer.java | 48 * Called if the buffer is under-capacity and a new element is being 147 * Constructs a new ring buffer with the specified capacity. 149 * @param capacity the maximum number of elements to store. 151 public ConcurrentSharedRingBuffer(int capacity) { argument 152 if (capacity <= 0) { 158 mCapacitySemaphore = new Semaphore(capacity); 182 * the buffer is under-capacity) is passed to {@code swapper.swap()} and the 213 // If we are under capacity, insert the new element and return.
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
H A D | BinaryDictDecoderUtils.java | 51 public int capacity(); method in interface:BinaryDictDecoderUtils.DictBuffer 103 public int capacity() { method in class:BinaryDictDecoderUtils.ByteBufferDictBuffer 104 return mBuffer.capacity();
|
H A D | Ver2DictDecoderTests.java | 86 assertEquals(testFile.length(), dictDecoder.getDictBuffer().capacity());
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | HtmlConversationTemplates.java | 211 LogUtils.d(TAG, "rendered conversation of %d bytes, buffer capacity=%d", 212 mBuilder.length() << 1, mBuilder.capacity() << 1);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SlotView.java | 231 private static int[] expandIntArray(int array[], int capacity) { argument 232 while (array.length < capacity) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | GLES11Canvas.java | 112 gl.glBufferData(GL11.GL_ARRAY_BUFFER, xyBuffer.capacity() * (Float.SIZE / Byte.SIZE), 978 mGL.glBufferData(GL11.GL_ARRAY_BUFFER, buf.capacity() * elementSize, buf,
|
H A D | GLES20Canvas.java | 957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer,
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
H A D | GLES20Canvas.java | 957 GLES20.glBufferData(GLES20.GL_ARRAY_BUFFER, buffer.capacity() * elementSize, buffer,
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | Tab.java | 1938 + buffer.capacity() + " blob: " + blob.length
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |