Home
last modified time | relevance | path

Searched refs:partitionIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java215 public DirectoryPartitionFilter(int partitionIndex, long directoryId) { in DirectoryPartitionFilter() argument
216 this.mPartitionIndex = partitionIndex; in DirectoryPartitionFilter()
308 protected int getItemViewType(int partitionIndex, int position) { in getItemViewType() argument
309 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); in getItemViewType()
314 protected View newView(Context context, int partitionIndex, Cursor cursor, in newView() argument
316 DirectoryPartition partition = (DirectoryPartition)getPartition(partitionIndex); in newView()
348 protected boolean isEnabled(int partitionIndex, int position) { in isEnabled() argument
350 return !isLoading(partitionIndex); in isEnabled()
353 private boolean isLoading(int partitionIndex) { in isLoading() argument
354 return ((DirectoryPartition)getPartition(partitionIndex)).loading; in isLoading()
[all …]
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java104 public void removePartition(int partitionIndex) { in removePartition() argument
105 Cursor cursor = mPartitions.get(partitionIndex).cursor; in removePartition()
109 mPartitions.remove(partitionIndex); in removePartition()
143 public void setHasHeader(int partitionIndex, boolean flag) { in setHasHeader() argument
144 mPartitions.get(partitionIndex).hasHeader = flag; in setHasHeader()
148 public void setShowIfEmpty(int partitionIndex, boolean flag) { in setShowIfEmpty() argument
149 mPartitions.get(partitionIndex).showIfEmpty = flag; in setShowIfEmpty()
153 public Partition getPartition(int partitionIndex) { in getPartition() argument
154 return mPartitions.get(partitionIndex); in getPartition()