Searched refs:DirectoryPartition (Results 1 – 8 of 8) sorted by relevance
146 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 …]
61 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()
152 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()
167 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()
25 public final class DirectoryPartition extends CompositeCursorAdapter.Partition { class45 public DirectoryPartition(boolean showIfEmpty, boolean hasHeader) { in DirectoryPartition() method in DirectoryPartition
25 import com.android.contacts.common.list.DirectoryPartition;56 final DirectoryPartition partition = in getContactInfo()57 (DirectoryPartition) getPartition(partitionIndex); in getContactInfo()
42 import com.android.contacts.common.list.DirectoryPartition;443 if (partition instanceof DirectoryPartition) { in checkSelection()444 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection()
7 import com.android.contacts.common.list.DirectoryPartition;25 List<DirectoryPartition> getExtendedDirectories(Context context); in getExtendedDirectories()