Searched refs:DirectoryPartition (Results 1 – 7 of 7) sorted by relevance
147 protected DirectoryPartition createDefaultDirectoryPartition() { in createDefaultDirectoryPartition()148 DirectoryPartition partition = new DirectoryPartition(true, true); in createDefaultDirectoryPartition()170 if ((partition instanceof DirectoryPartition) in removeDirectoriesAfterDefault()171 && ((DirectoryPartition) partition).getDirectoryId() == Directory.DEFAULT) { in removeDirectoriesAfterDefault()183 if (partition instanceof DirectoryPartition) { in getPartitionByDirectoryId()184 if (((DirectoryPartition)partition).getDirectoryId() == id) { in getPartitionByDirectoryId()192 protected DirectoryPartition getDirectoryById(long id) { in getDirectoryById()196 if (partition instanceof DirectoryPartition) { in getDirectoryById()197 final DirectoryPartition directoryPartition = (DirectoryPartition) partition; in getDirectoryById()217 if (partition instanceof DirectoryPartition) { in onDataReload()[all …]
72 private final List<DirectoryPartition> mExtendedDirectories;182 mExtendedDirectories = new ArrayList<DirectoryPartition>(); in PhoneNumberListAdapter()201 final DirectoryPartition directory = getExtendedDirectoryFromId(directoryId); in configureLoader()278 private DirectoryPartition getExtendedDirectoryFromId(long directoryId) { in getExtendedDirectoryFromId()345 ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getDataUri()462 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindView()523 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindWorkProfileIcon()608 final DirectoryPartition partition = (DirectoryPartition) getPartition(i); in changeDirectories()624 final DirectoryPartition directory = mExtendedDirectories.get(i); in changeDirectories()636 final DirectoryPartition directory = (DirectoryPartition) getPartition(partitionIndex); in getContactUri()
172 loadDirectoryPartition(msg.arg1, (DirectoryPartition) msg.obj);335 if (partition instanceof DirectoryPartition) { in startLoading()336 DirectoryPartition directoryPartition = (DirectoryPartition)partition; in startLoading()337 if (directoryPartition.getStatus() == DirectoryPartition.STATUS_NOT_LOADED) { in startLoading()386 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex);387 partition.setStatus(DirectoryPartition.STATUS_LOADING);407 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) {417 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) {
173 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getContactUri()205 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in isSelectedContact()299 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getSelectedContactPosition()351 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
441 if (partition instanceof DirectoryPartition) { in checkSelection()442 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection()
7 import com.android.contacts.list.DirectoryPartition;25 List<DirectoryPartition> getExtendedDirectories(Context context); in getExtendedDirectories()