Home
last modified time | relevance | path

Searched refs:typeCount (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactModifier.java172 EditType forceInclude, boolean includeSecondary, SparseIntArray typeCount) { in getValidTypes() argument
178 if (typeCount == null) { in getValidTypes()
180 typeCount = getTypeFrequencies(state, kind); in getValidTypes()
184 final int overallCount = typeCount.get(FREQUENCY_TOTAL); in getValidTypes()
188 final boolean validSpecific = (type.specificMax == -1 ? true : typeCount in getValidTypes()
210 final SparseIntArray typeCount = new SparseIntArray(); in getTypeFrequencies() local
214 if (mimeEntries == null) return typeCount; in getTypeFrequencies()
224 final int count = typeCount.get(type.rawValue); in getTypeFrequencies()
225 typeCount.put(type.rawValue, count + 1); in getTypeFrequencies()
228 typeCount.put(FREQUENCY_TOTAL, totalCount); in getTypeFrequencies()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java799 final int typeCount = mViewTypeCount; in clear() local
800 for (int i = 0; i < typeCount; i++) { in clear()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java195 int typeCount = adapter.getViewTypeCount(); in updateAdapter() local
196 if (mViews == null || typeCount != mViews.length) { in updateAdapter()
197 mViews = new List[typeCount]; in updateAdapter()
198 for (int i = 0; i < typeCount; i++) { in updateAdapter()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java3778 final int typeCount = mViewTypeCount;
3779 for (int i = 0; i < typeCount; i++) {