Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/list/
DContactEntryListAdapter.java132 protected DirectoryPartition createDefaultDirectoryPartition() { in createDefaultDirectoryPartition()
133 DirectoryPartition partition = new DirectoryPartition(true, true); in createDefaultDirectoryPartition()
154 if ((partition instanceof DirectoryPartition) in removeDirectoriesAfterDefault()
155 && ((DirectoryPartition) partition).getDirectoryId() == Directory.DEFAULT) { in removeDirectoriesAfterDefault()
167 if (partition instanceof DirectoryPartition) { in getPartitionByDirectoryId()
168 if (((DirectoryPartition)partition).getDirectoryId() == id) { in getPartitionByDirectoryId()
187 if (partition instanceof DirectoryPartition) { in onDataReload()
188 DirectoryPartition directoryPartition = (DirectoryPartition)partition; in onDataReload()
192 directoryPartition.setStatus(DirectoryPartition.STATUS_NOT_LOADED); in onDataReload()
205 if (partition instanceof DirectoryPartition) { in clearPartitions()
[all …]
DContactListAdapter.java156 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getContactUri()
171 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in isSelectedContact()
260 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getSelectedContactPosition()
312 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getFirstContactUri()
DContactEntryListFragment.java159 loadDirectoryPartition(msg.arg1, (DirectoryPartition) msg.obj);
311 if (partition instanceof DirectoryPartition) { in startLoading()
312 DirectoryPartition directoryPartition = (DirectoryPartition)partition; in startLoading()
313 if (directoryPartition.getStatus() == DirectoryPartition.STATUS_NOT_LOADED) { in startLoading()
348 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); in startLoadingDirectoryPartition()
349 partition.setStatus(DirectoryPartition.STATUS_LOADING); in startLoadingDirectoryPartition()
369 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { in loadDirectoryPartitionDelayed()
379 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) { in loadDirectoryPartition()
DDirectoryPartition.java25 public final class DirectoryPartition extends CompositeCursorAdapter.Partition { class
38 public DirectoryPartition(boolean showIfEmpty, boolean hasHeader) { in DirectoryPartition() method in DirectoryPartition
DContactBrowseListFragment.java456 if (partition instanceof DirectoryPartition) { in checkSelection()
457 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection()