Home
last modified time | relevance | path

Searched refs:directoryId (Results 1 – 18 of 18) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DDefaultContactListAdapter.java56 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
78 String.valueOf(directoryId)); in configureLoader()
79 if (directoryId != Directory.DEFAULT && directoryId != Directory.LOCAL_INVISIBLE) { in configureLoader()
90 configureUri(loader, directoryId, filter); in configureLoader()
92 configureSelection(loader, directoryId, filter); in configureLoader()
105 protected void configureUri(CursorLoader loader, long directoryId, ContactListFilter filter) { in configureUri() argument
116 if (directoryId == Directory.DEFAULT && isSectionHeaderDisplayEnabled()) { in configureUri()
137 CursorLoader loader, long directoryId, ContactListFilter filter) { in configureSelection() argument
142 if (directoryId != Directory.DEFAULT) { in configureSelection()
DContactEntryListAdapter.java176 public abstract void configureLoader(CursorLoader loader, long directoryId); in configureLoader() argument
531 long directoryId = directoryPartition.getDirectoryId(); in bindHeaderView() local
534 if (directoryId == Directory.DEFAULT || directoryId == Directory.LOCAL_INVISIBLE) { in bindHeaderView()
551 if (directoryId != Directory.DEFAULT && directoryId != Directory.LOCAL_INVISIBLE in bindHeaderView()
655 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getContactUri() local
656 if (directoryId != Directory.DEFAULT) { in getContactUri()
658 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); in getContactUri()
DContactListAdapter.java156 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getContactUri() local
157 if (directoryId != Directory.DEFAULT) { in getContactUri()
159 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); in getContactUri()
171 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in isSelectedContact() local
172 if (getSelectedContactDirectoryId() != directoryId) { in isSelectedContact()
181 return directoryId != Directory.DEFAULT && directoryId != Directory.LOCAL_INVISIBLE in isSelectedContact()
DPhoneNumberListAdapter.java103 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
104 if (directoryId != Directory.DEFAULT) { in configureLoader()
106 + "directoryId: " + directoryId + ")"); in configureLoader()
121 String.valueOf(directoryId)); in configureLoader()
129 applyFilter(loader, builder, directoryId, getFilter()); in configureLoader()
154 private void applyFilter(CursorLoader loader, Uri.Builder uriBuilder, long directoryId, in applyFilter() argument
156 if (filter == null || directoryId != Directory.DEFAULT) { in applyFilter()
DContactEntryListFragment.java323 long directoryId = args != null && args.containsKey(DIRECTORY_ID_ARG_KEY) in onCreateLoader() local
326 mAdapter.configureLoader(loader, directoryId); in onCreateLoader()
338 long directoryId = partition.getDirectoryId(); in startLoadingDirectoryPartition() local
340 if (directoryId == Directory.DEFAULT) { in startLoadingDirectoryPartition()
347 args.putLong(DIRECTORY_ID_ARG_KEY, directoryId); in startLoadingDirectoryPartition()
DDirectoryPartition.java49 public void setDirectoryId(long directoryId) { in setDirectoryId() argument
50 this.mDirectoryId = directoryId; in setDirectoryId()
DDirectoryListLoader.java152 long directoryId = cursor.getLong(DirectoryQuery.ID); in loadInBackground() local
167 result.addRow(new Object[]{directoryId, directoryType, displayName, photoSupport}); in loadInBackground()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java499 final long directoryId = directoryParameter == null in loadContactHeaderData() local
520 if (directoryId == Directory.DEFAULT || directoryId == Directory.LOCAL_INVISIBLE) { in loadContactHeaderData()
527 return new Contact(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey, in loadContactHeaderData()
619 long directoryId = result.getDirectoryId(); in loadDirectoryMetaData() local
622 ContentUris.withAppendedId(Directory.CONTENT_URI, directoryId), in loadDirectoryMetaData()
DContact.java139 public Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, in Contact() argument
149 mDirectoryId = directoryId; in Contact()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java505 long directoryId = cursor.getLong(0); in testForwardingToDirectoryProvider() local
509 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); in testForwardingToDirectoryProvider()
545 long directoryId = cursor.getLong(0); in testProjectionPopulated() local
549 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); in testProjectionPopulated()
/packages/apps/Contacts/src/com/android/contacts/list/
DEmailAddressListAdapter.java76 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
89 String.valueOf(directoryId)); in configureLoader()
DLegacyContactListAdapter.java58 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
DLegacyPhoneNumberListAdapter.java62 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
DLegacyPostalAddressListAdapter.java62 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
DPostalAddressListAdapter.java75 public void configureLoader(CursorLoader loader, long directoryId) { in configureLoader() argument
DJoinContactListAdapter.java70 public void configureLoader(CursorLoader cursorLoader, long directoryId) { in configureLoader() argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java5063 private DirectoryInfo getDirectoryAuthority(String directoryId) { in getDirectoryAuthority() argument
5086 return mDirectoryCache.get(directoryId); in getDirectoryAuthority()
5097 String[] selectionArgs, String sortOrder, final long directoryId, in queryLocal() argument
5120 appendLocalDirectoryAndAccountSelectionIfNeeded(qb, directoryId, uri); in queryLocal()
5275 qb, uri, projection, filterParam, directoryId, in queryLocal()
6875 String[] projection, String filter, long directoryId, boolean deferSnippeting) { in setTablesAndProjectionMapForContactsWithSnippet() argument
6884 if (TextUtils.isEmpty(filter) || (directoryId != -1 && directoryId != Directory.DEFAULT)) { in setTablesAndProjectionMapForContactsWithSnippet()
7284 long directoryId, Uri uri) { in appendLocalDirectoryAndAccountSelectionIfNeeded() argument
7286 if (directoryId == Directory.DEFAULT) { in appendLocalDirectoryAndAccountSelectionIfNeeded()
7288 } else if (directoryId == Directory.LOCAL_INVISIBLE){ in appendLocalDirectoryAndAccountSelectionIfNeeded()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java1276 boolean isDirectoryEntry, long directoryId, DataKind dataKind) { in fromValues() argument
1283 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); in fromValues()