Home
last modified time | relevance | path

Searched refs:DirectoryPartition (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactEntryListAdapter.java146 protected DirectoryPartition createDefaultDirectoryPartition() { in createDefaultDirectoryPartition()
147 DirectoryPartition partition = new DirectoryPartition(true, true); in createDefaultDirectoryPartition()
169 if ((partition instanceof DirectoryPartition) in removeDirectoriesAfterDefault()
170 && ((DirectoryPartition) partition).getDirectoryId() == Directory.DEFAULT) { in removeDirectoriesAfterDefault()
182 if (partition instanceof DirectoryPartition) { in getPartitionByDirectoryId()
183 if (((DirectoryPartition)partition).getDirectoryId() == id) { in getPartitionByDirectoryId()
191 protected DirectoryPartition getDirectoryById(long id) { in getDirectoryById()
195 if (partition instanceof DirectoryPartition) { in getDirectoryById()
196 final DirectoryPartition directoryPartition = (DirectoryPartition) partition; in getDirectoryById()
216 if (partition instanceof DirectoryPartition) { in onDataReload()
[all …]
DPhoneNumberListAdapter.java61 private final List<DirectoryPartition> mExtendedDirectories;
126 mExtendedDirectories = new ArrayList<DirectoryPartition>(); in PhoneNumberListAdapter()
141 final DirectoryPartition directory = getExtendedDirectoryFromId(directoryId); in configureLoader()
217 private DirectoryPartition getExtendedDirectoryFromId(long directoryId) { in getExtendedDirectoryFromId()
284 ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getDataUri()
381 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindView()
504 final DirectoryPartition partition = (DirectoryPartition) getPartition(i); in changeDirectories()
520 final DirectoryPartition directory = mExtendedDirectories.get(i); in changeDirectories()
531 final DirectoryPartition directory = (DirectoryPartition) getPartition(partitionIndex); in getContactUri()
DContactEntryListFragment.java152 loadDirectoryPartition(msg.arg1, (DirectoryPartition) msg.obj);
304 if (partition instanceof DirectoryPartition) { in startLoading()
305 DirectoryPartition directoryPartition = (DirectoryPartition)partition; in startLoading()
306 if (directoryPartition.getStatus() == DirectoryPartition.STATUS_NOT_LOADED) { in startLoading()
343 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); in startLoadingDirectoryPartition()
344 partition.setStatus(DirectoryPartition.STATUS_LOADING); in startLoadingDirectoryPartition()
364 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { in loadDirectoryPartitionDelayed()
374 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) { in loadDirectoryPartition()
DContactListAdapter.java167 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getContactUri()
182 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in isSelectedContact()
276 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getSelectedContactPosition()
328 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getFirstContactUri()
DDirectoryPartition.java25 public final class DirectoryPartition extends CompositeCursorAdapter.Partition { class
45 public DirectoryPartition(boolean showIfEmpty, boolean hasHeader) { in DirectoryPartition() method in DirectoryPartition
/packages/apps/Dialer/src/com/android/dialer/list/
DRegularSearchListAdapter.java25 import com.android.contacts.common.list.DirectoryPartition;
56 final DirectoryPartition partition = in getContactInfo()
57 (DirectoryPartition) getPartition(partitionIndex); in getContactInfo()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java42 import com.android.contacts.common.list.DirectoryPartition;
443 if (partition instanceof DirectoryPartition) { in checkSelection()
444 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection()
/packages/apps/ContactsCommon/src/com/android/contacts/common/extensions/
DExtendedPhoneDirectoriesManager.java7 import com.android.contacts.common.list.DirectoryPartition;
25 List<DirectoryPartition> getExtendedDirectories(Context context); in getExtendedDirectories()