/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
D | dic_node_pool.h | 31 explicit DicNodePool(const int capacity) : mDicNodes(), mPooledDicNodes() { in DicNodePool() argument 32 reset(capacity); in DicNodePool() 35 void reset(const int capacity) { in reset() argument 36 if (capacity == static_cast<int>(mDicNodes.size()) in reset() 37 && capacity == static_cast<int>(mPooledDicNodes.size())) { in reset() 41 mDicNodes.resize(capacity); in reset()
|
D | dic_node_priority_queue.h | 32 AK_FORCE_INLINE explicit DicNodePriorityQueue(const int capacity) in DicNodePriorityQueue() argument 33 : mMaxSize(capacity), mDicNodesQueue(), mDicNodePool(capacity) { in DicNodePriorityQueue()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | BytesBufferPool.java | 35 private BytesBuffer(int capacity) { in BytesBuffer() argument 36 this.data = new byte[capacity]; in BytesBuffer() 44 int capacity = data.length; in readFrom() local 46 int step = Math.min(READ_STEP, capacity - length); in readFrom() 51 if (length == capacity) { in readFrom() 55 capacity = data.length; in readFrom()
|
D | DownloadCache.java | 81 public DownloadCache(GalleryApp application, File root, long capacity) { in DownloadCache() argument 84 mCapacity = capacity; in DownloadCache()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | ManagedImageReader.java | 96 private AllocatingImageStream createUnallocatedStream(int capacity) { in createUnallocatedStream() argument 108 AllocatingImageStream stream = new AllocatingImageStream(capacity, in createUnallocatedStream() 127 public ImageStream createStream(int capacity) { in createStream() argument 128 return createUnallocatedStream(capacity); in createStream() 148 public ImageStream createPreallocatedStream(int capacity) throws InterruptedException, in createPreallocatedStream() argument 150 AllocatingImageStream stream = createUnallocatedStream(capacity); in createPreallocatedStream()
|
D | AllocatingImageStream.java | 55 int capacity, ReservableTicketPool ticketPool, in AllocatingImageStream() argument 60 mCapacity = capacity; in AllocatingImageStream()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskJpegEncode.java | 84 byte[] dataCopy = new byte[y_buffer.capacity() + u_buffer.capacity() + v_buffer.capacity()]; in convertYUV420ImageToPackedNV21() 110 final int y_size = y_buffer.capacity(); in convertYUV420ImageToPackedNV21() 111 final int u_size = u_buffer.capacity(); in convertYUV420ImageToPackedNV21()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SuggestionResults.java | 39 public SuggestionResults(final int capacity, final boolean isBeginningOfSentence, in SuggestionResults() argument 41 this(sSuggestedWordInfoComparator, capacity, isBeginningOfSentence, in SuggestionResults() 45 private SuggestionResults(final Comparator<SuggestedWordInfo> comparator, final int capacity, in SuggestionResults() argument 49 mCapacity = capacity; in SuggestionResults()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | ResizableIntArray.java | 31 public ResizableIntArray(final int capacity) { in ResizableIntArray() argument 32 reset(capacity); in ResizableIntArray() 91 public void reset(final int capacity) { in reset() argument 93 mArray = new int[capacity]; in reset()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
D | FiniteTicketPool.java | 85 public FiniteTicketPool(int capacity) { in FiniteTicketPool() argument 86 mMaxCapacity = capacity; in FiniteTicketPool() 88 mTickets = capacity; in FiniteTicketPool() 91 mAvailableTicketCount = new ConcurrentState<>(capacity); in FiniteTicketPool()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | LruCache.java | 38 public LruCache(int capacity) { in LruCache() argument 39 this(capacity, capacity); in LruCache()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | ConcurrentSharedRingBuffer.java | 184 public ConcurrentSharedRingBuffer(int capacity) { in ConcurrentSharedRingBuffer() argument 185 if (capacity <= 0) { in ConcurrentSharedRingBuffer() 191 mCapacitySemaphore = new Semaphore(capacity); in ConcurrentSharedRingBuffer()
|
D | JpegUtilNative.java | 159 cbPStride, cbRStride, crBuf, crPStride, crRStride, outBuf, outBuf.capacity(), in compressJpegFromYUV420p()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 56 public int capacity(); in capacity() method 108 public int capacity() { in capacity() method in BinaryDictDecoderUtils.ByteBufferDictBuffer 109 return mBuffer.capacity(); in capacity()
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
D | LruCache.java | 33 public LruCache(final int capacity) { in LruCache() argument 37 return size() > capacity; in LruCache()
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
D | HtmlPrintTemplates.java | 104 mBuilder.length() << 1, mBuilder.capacity() << 1); in endPrintConversation() 125 mBuilder.length() << 1, mBuilder.capacity() << 1); in endPrintConversationNoJavascript()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | LruCache.java | 37 public LruCache(final int capacity) { in LruCache() argument 41 return size() > capacity; in LruCache()
|
D | FileCache.java | 89 public FileCache(Context context, File rootDir, String dbName, long capacity) { in FileCache() argument 91 mCapacity = capacity; in FileCache()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | ListSuggestionCursor.java | 55 public ListSuggestionCursor(String userQuery, int capacity) { in ListSuggestionCursor() argument 57 mSuggestions = new ArrayList<Entry>(capacity); in ListSuggestionCursor()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/ |
D | TimePicker.java | 158 int capacity = mIs24hFormat ? 2 : 3; in getColumns() local 159 for (int i = 0; i < capacity; i++) { in getColumns()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SlotView.java | 231 private static int[] expandIntArray(int array[], int capacity) { in expandIntArray() argument 232 while (array.length < capacity) { in expandIntArray()
|
/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
D | ByteBufferDirectPool.java | 39 byteBuffer.limit(byteBuffer.capacity()); in recycle()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | ByteArrayDictBuffer.java | 78 public int capacity() { in capacity() method in ByteArrayDictBuffer
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES11Canvas.java | 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()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | HtmlConversationTemplates.java | 213 mBuilder.length() << 1, mBuilder.capacity() << 1); in endConversation()
|