Searched refs:partitionIndex (Results 1 – 2 of 2) sorted by relevance
215 public DirectoryPartitionFilter(int partitionIndex, long directoryId) { in DirectoryPartitionFilter() argument216 this.mPartitionIndex = partitionIndex; in DirectoryPartitionFilter()308 protected int getItemViewType(int partitionIndex, int position) { in getItemViewType() argument309 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); in getItemViewType()314 protected View newView(Context context, int partitionIndex, Cursor cursor, in newView() argument316 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); in newView()348 protected boolean isEnabled(int partitionIndex, int position) { in isEnabled() argument350 return !isLoading(partitionIndex); in isEnabled()353 private boolean isLoading(int partitionIndex) { in isLoading() argument354 return ((DirectoryPartition)getPartition(partitionIndex)).loading; in isLoading()[all …]
104 public void removePartition(int partitionIndex) { in removePartition() argument105 Cursor cursor = mPartitions.get(partitionIndex).cursor; in removePartition()109 mPartitions.remove(partitionIndex); in removePartition()143 public void setHasHeader(int partitionIndex, boolean flag) { in setHasHeader() argument144 mPartitions.get(partitionIndex).hasHeader = flag; in setHasHeader()148 public void setShowIfEmpty(int partitionIndex, boolean flag) { in setShowIfEmpty() argument149 mPartitions.get(partitionIndex).showIfEmpty = flag; in setShowIfEmpty()153 public Partition getPartition(int partitionIndex) { in getPartition() argument154 return mPartitions.get(partitionIndex); in getPartition()