/packages/apps/Contacts/tests/src/com/android/contacts/group/ |
D | GroupUtilTest.java | 41 int counts[] = new int[]{1, 2, 2, 3, 1, 2}; in testNeedTrimming() local 42 assertFalse(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming() 45 counts = new int[]{1, 6, 2, 7, 1, 2, 1, 2}; in testNeedTrimming() 46 assertTrue(GroupUtil.needTrimming(count, positions, counts)); in testNeedTrimming() 52 final int[] counts = new int[]{1, 6, 2, 7, 1, 2, 1, 2}; in testUpdateBundle_smallSet() local 55 final ContactsSectionIndexer indexer = new ContactsSectionIndexer(sections, counts); in testUpdateBundle_smallSet() 57 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_smallSet() 75 final int[] counts = new int[]{81, 36, 84, 55, 28, 15, 18, 38, 145, 60, 41, 73, 15, 2, 56, in testUpdateBundle_mediumSet() local 103 final ContactsSectionIndexer indexer = new ContactsSectionIndexer(sections, counts); in testUpdateBundle_mediumSet() 105 GroupUtil.updateBundle(bundle, indexer, subscriptsList, sections, counts); in testUpdateBundle_mediumSet()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | Metrics.java | 116 ProviderCounts counts = new ProviderCounts(); in logFileOperation() local 117 countProviders(counts, srcs, dst); in logFileOperation() 118 if (counts.intraProvider > 0) { in logFileOperation() 121 if (counts.systemProvider > 0) { in logFileOperation() 125 if (counts.externalProvider > 0) { in logFileOperation() 174 ProviderCounts counts = new ProviderCounts(); in logFileOperationErrors() local 175 countProviders(counts, failedFiles, null); in logFileOperationErrors() 177 countProviders(counts, failedUris); in logFileOperationErrors() 196 if (counts.systemProvider > 0) { in logFileOperationErrors() 201 if (counts.externalProvider > 0) { in logFileOperationErrors() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsSectionIndexer.java | 42 public ContactsSectionIndexer(String[] sections, int[] counts) { in ContactsSectionIndexer() argument 43 if (sections == null || counts == null) { in ContactsSectionIndexer() 47 if (sections.length != counts.length) { in ContactsSectionIndexer() 55 mPositions = new int[counts.length]; in ContactsSectionIndexer() 57 for (int i = 0; i < counts.length; i++) { in ContactsSectionIndexer() 66 position += counts[i]; in ContactsSectionIndexer()
|
D | GroupMemberPickerFragment.java | 91 final int counts[] = bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in FilterCursorWrapper() local 92 final ContactsSectionIndexer indexer = (sections == null || counts == null) in FilterCursorWrapper() 93 ? null : new ContactsSectionIndexer(sections, counts); in FilterCursorWrapper() 105 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper() 106 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
|
D | ContactEntryListAdapter.java | 502 int counts[] = bundle.getIntArray( in updateIndexer() local 508 int allCounts[] = new int[counts.length + 1]; in updateIndexer() 511 allCounts[i + 1] = counts[i]; in updateIndexer() 517 setIndexer(new ContactsSectionIndexer(sections, counts)); in updateIndexer()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactSectionIndexer.java | 104 final int[] counts = cursorExtras.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in buildIndexerFromCursorExtras() local 105 if (sections == null || counts == null) { in buildIndexerFromCursorExtras() 109 if (sections.length != counts.length) { in buildIndexerFromCursorExtras() 114 mSectionStartingPositions = new ArrayList<Integer>(counts.length); in buildIndexerFromCursorExtras() 116 for (int i = 0; i < counts.length; i++) { in buildIndexerFromCursorExtras() 124 position += counts[i]; in buildIndexerFromCursorExtras()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupUtil.java | 240 public static boolean needTrimming(int count, int[] counts, int[] positions) { in needTrimming() argument 244 return positions.length > 0 && counts.length > 0 in needTrimming() 245 && count <= (counts[counts.length - 1] + positions[positions.length - 1]); in needTrimming() 252 List<Integer> subscripts, String[] sections, int[] counts) { in updateBundle() argument 255 if (filteredContact < counts.length && filteredContact >= 0) { in updateBundle() 256 counts[filteredContact]--; in updateBundle() 257 if (counts[filteredContact] == 0) { in updateBundle() 264 final int[] newCounts = clearZeros(counts); in updateBundle()
|
D | GroupMembersFragment.java | 117 final int counts[] = bundle.getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in FilterCursorWrapper() local 118 final ContactsSectionIndexer indexer = (sections == null || counts == null) in FilterCursorWrapper() 119 ? null : new ContactsSectionIndexer(sections, counts); in FilterCursorWrapper() 133 if (indexer != null && GroupUtil.needTrimming(mCount, counts, indexer.getPositions())) { in FilterCursorWrapper() 134 GroupUtil.updateBundle(bundle, indexer, indicesToFilter, sections, counts); in FilterCursorWrapper()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | FastScrollingIndexCache.java | 149 static String buildCacheValue(String[] titles, int[] counts) { in buildCacheValue() argument 158 appendIfNotNull(sb, Integer.toString(counts[i])); in buildCacheValue() 167 public static final Bundle buildExtraBundle(String[] titles, int[] counts) { in buildExtraBundle() argument 170 bundle.putIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS, counts); in buildExtraBundle() 190 final int[] counts = new int[numTitles]; in buildExtraBundleFromValue() local 194 counts[i] = Integer.parseInt(values[i * 2 + 1]); in buildExtraBundleFromValue() 197 return buildExtraBundle(titles, counts); in buildExtraBundleFromValue()
|
D | ContactsProvider2.java | 7616 int counts[] = new int[numLabels]; in getFastScrollingIndexExtras() local 7621 counts[i] = indexCursor.getInt(AddressBookIndexQuery.COLUMN_COUNT); in getFastScrollingIndexExtras() 7624 return FastScrollingIndexCache.buildExtraBundle(labels, counts); in getFastScrollingIndexExtras()
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
D | ContactsAdapter.java | 58 private int[] counts = new int[0]; field in ContactsAdapter 72 counts = cursor.getExtras().getIntArray(Contacts.EXTRA_ADDRESS_BOOK_INDEX_COUNTS); in updateCursor() 73 if (counts != null) { in updateCursor() 75 for (int count : counts) { in updateCursor() 216 sum += counts[++index]; in getHeaderString()
|
/packages/modules/DnsResolver/ |
D | DnsStats.cpp | 90 for (const auto& [rcode, counts] : rcodeCounts) { in toString() 91 if (counts != 0) { in toString() 92 buf += StringPrintf("%s:%d ", rcodeToName(rcode).c_str(), counts); in toString()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | FastScrollingIndexCacheTest.java | 84 String[] titles, int[] counts) { in putAndGetBundle() argument 85 Bundle bundle = FastScrollingIndexCache.buildExtraBundle(titles, counts); in putAndGetBundle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardBuilder.java | 418 final int counts = array.length; in parseGridRows() local 421 for (int index = 0; index < counts; index += numColumns) { in parseGridRows() 426 if (i >= counts) { in parseGridRows()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayView.java | 2632 private void incrementSkipCount(int[] counts, int startIndex, int endIndex) { in incrementSkipCount() argument 2633 if (counts == null || startIndex < 0 || endIndex > counts.length) { in incrementSkipCount() 2637 counts[i]++; in incrementSkipCount()
|
/packages/apps/TV/res/raw/ |
D | third_party_licenses | 2868 [This is the first released version of the Lesser GPL. It also counts
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |