/packages/apps/Gallery/src/com/android/camera/ |
H A D | EvenlySpacedLayout.java | 50 int count = getChildCount(); 53 for (int i = 0; i < count; i++) { 70 int count = getChildCount(); 74 for (int i = 0; i < count; i++) { 85 for (int i = 0; i < count; i++) { 97 int count = getChildCount(); 101 for (int i = 0; i < count; i++) { 112 for (int i = 0; i < count; i++) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | SingleItemAlbum.java | 39 public ArrayList<MediaItem> getMediaItem(int start, int count) { argument 42 // If [start, start+count) contains the index 0, return the item. 43 if (start <= 0 && start + count > 0) {
|
H A D | ComboAlbumSet.java | 56 int count = 0; 58 count += set.getSubMediaSetCount(); 60 return count;
|
H A D | SizeClustering.java | 78 int count = 0; 81 count++; 85 mClusters = new ArrayList[count]; 86 mNames = new String[count]; 87 mMinSizes = new long[count];
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | InterruptableOutputStream.java | 43 public void write(byte[] buffer, int offset, int count) throws IOException { argument 44 int end = offset + count;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
H A D | MockTask.java | 58 public void assertRunCount(String message, int count) { argument 59 assertEquals(message + ": " + toString() + " bad run count", count, getRunCount());
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
H A D | dynamic_language_model_probability_utils.h | 31 static float computeRawProbabilityFromCounts(const int count, const int contextCount, argument 34 return static_cast<float>(count) / static_cast<float>(std::max(contextCount, minCount));
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
H A D | language_model_dict_content_global_counters_test.cpp | 32 const int count = (1 << (Ver4DictConstants::WORD_COUNT_FIELD_SIZE * CHAR_BIT)) - 1; local 33 globalCounters.updateMaxValueOfCounters(count);
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
H A D | inputstream_wrapper.h | 28 virtual int64_t skip(int64_t count);
|
H A D | jpeg_reader.cpp | 117 int32_t JpegReader::read(int8_t* bytes, int32_t offset, int32_t count) { argument 128 if (count <= 0) { 131 int32_t total_length = count; 133 if (count < mScanlineBytesRemaining) { 138 count * sizeof(int8_t)); 140 mScanlineBytesRemaining -= count; 141 mScanlineIter += count; 143 } else if (count > 0) { 151 count -= mScanlineBytesRemaining; 171 return total_length - count; [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
H A D | stringbuffer.h | 60 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); }
argument 61 void Pop(size_t count) { stack_.template Pop<Ch>(count); }
argument
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
H A D | DragGestureDetector.java | 52 float count = 0f; 57 count += 1f; 60 position[0] /= count; 61 position[1] /= count;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionManager.java | 123 int count = mClickedSet.size(); 125 count = getTotalCount() - count; 127 return count; 139 int count = getSelectedCount(); 140 if (count == getTotalCount()) { 145 if (count == 0 && mAutoLeave) { 162 int count = index + batch < total 165 ArrayList<MediaItem> list = set.getMediaItem(index, count); 223 int count [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
H A D | SelfParticipantsData.java | 86 int count = 0; 89 count++; 92 return count;
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | FallbackStrategies.java | 73 final int count = mChainedStrategies.size(); 74 for (int i = 0; i < count; i++) { 81 strategy + (i < count - 1 ?
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
H A D | BatchingNamedTaskExecutor.java | 67 int count = Math.min(mQueuedTasks.size(), batchSize); 68 List<NamedTask> nextTasks = mQueuedTasks.subList(0, count); 71 if (DBG) Log.d(TAG, "Dispatching batch of " + count);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | UiHandler.java | 81 int count = mCount.getAndSet(0); 82 if (count > 0) { 83 LogUtils.e(LOG_TAG, "Disable UiHandler. Dropping %d Runnables.", count);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | SQLiteContentProvider.java | 147 int count = 0; 155 count = updateInTransaction(uri, values, selection, selectionArgs, 157 if (count > 0) { 168 count = updateInTransaction(uri, values, selection, selectionArgs, 170 if (count > 0) { 175 return count; 180 int count = 0; 188 count = deleteInTransaction(uri, selection, selectionArgs, isCallerSyncAdapter); 189 if (count > 0) { 200 count [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | BootCompletedReceiver.java | 61 int count = 0; 65 while (TextUtils.isEmpty(dbTime) && count != 3) { 69 count++;
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
H A D | JPEGInputStream.java | 102 public int read(byte[] buffer, int offset, int count) throws IOException { argument 103 if (offset < 0 || count < 0 || (offset + count) > buffer.length) { 106 buffer.length, offset, count)); 114 flag = readDecodedBytes(buffer, offset, count);
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
H A D | QuotedPrintableInputStream.java | 60 if (byteq.count() == 0) 81 //Debug.verify(pushbackq.count() == 0, "PopulatePushbackQueue called when pushback queue was not empty!"); 83 if (pushbackq.count() != 0) 119 while (byteq.count() == 0) { 120 if (pushbackq.count() == 0) { 122 if (pushbackq.count() == 0)
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
H A D | FusionDictionaryTest.java | 50 int count = random.nextInt() % 30; 51 while (count > 0) { 58 --count; 73 int count = limit; 75 if (--count < 0) return;
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ |
H A D | CallLogListingTask.java | 75 private String maybeAppendCount(StringBuilder sb, int count) { argument 76 if (count > 1) { 77 sb.append(" (").append(count).append(")"); 83 int count, boolean isVoicemail) { 85 return maybeAppendCount(new StringBuilder(cachedName), count); 99 return maybeAppendCount(sb, count); 137 int count = 1; 146 count++; 155 number, count, isVoicemail); 184 // Since we deduplicated count row 82 getContactName(String cachedName, String number, int count, boolean isVoicemail) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
H A D | Weekdays.java | 194 for (int count = 1; count <= 7; count++) { 200 return count; 217 for (int count = 0; count < 7; count++) { 219 return count; 295 int count = 0; 298 count [all...] |
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
H A D | CachedInputStream.java | 133 public int read(byte[] buffer, int offset, int count) throws IOException { argument 138 int reads = in.read(buffer, offset, count); 141 if (count == 0) { 144 int copied = copyMarkedBuffer(buffer, offset, count); 145 count -= copied; 148 while (count > 0) { 157 int toRead = count > leftInBuffer ? leftInBuffer : count; 165 count -= reads; 167 reads = in.read(buffer, offset, count); [all...] |