Lines Matching refs:partition
47 import com.android.common.widget.CompositeCursorAdapter.Partition;
296 Partition partition = mAdapter.getPartition(i);
297 if (partition instanceof DirectoryPartition) {
298 DirectoryPartition directoryPartition = (DirectoryPartition)partition;
336 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex);
337 partition.setStatus(DirectoryPartition.STATUS_LOADING);
338 long directoryId = partition.getDirectoryId();
341 loadDirectoryPartition(partitionIndex, partition);
343 loadDirectoryPartitionDelayed(partitionIndex, partition);
357 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) {
358 mDelayedDirectorySearchHandler.removeMessages(DIRECTORY_SEARCH_MESSAGE, partition);
360 DIRECTORY_SEARCH_MESSAGE, partitionIndex, 0, partition);
365 * Loads the directory partition.
367 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) {
369 args.putLong(DIRECTORY_ID_ARG_KEY, partition.getDirectoryId());