Searched refs:partitionIndex (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListAdapter.java | 164 int partitionIndex = getPartitionForPosition(position); in getContactUri() local 166 return item != null ? getContactUri(partitionIndex, item) : null; in getContactUri() 169 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri() argument 173 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getContactUri() 204 public boolean isSelectedContact(int partitionIndex, Cursor cursor) { in isSelectedContact() argument 205 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in isSelectedContact() 244 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto() argument 245 if (!isPhotoSupported(partitionIndex)) { in bindPhoto() 296 int partitionIndex = -1; in getSelectedContactPosition() local 301 partitionIndex = i; in getSelectedContactPosition() [all …]
|
D | ContactEntryListAdapter.java | 459 public void changeCursor(int partitionIndex, Cursor cursor) { in changeCursor() argument 460 if (partitionIndex >= getPartitionCount()) { in changeCursor() 465 Partition partition = getPartition(partitionIndex); in changeCursor() 470 if (mDisplayPhotos && mPhotoLoader != null && isPhotoSupported(partitionIndex)) { in changeCursor() 474 super.changeCursor(partitionIndex, cursor); in changeCursor() 476 if (isSectionHeaderDisplayEnabled() && partitionIndex == getIndexedPartition()) { in changeCursor() 536 public int getItemViewType(int partitionIndex, int position) { in getItemViewType() argument 537 int type = super.getItemViewType(partitionIndex, position); in getItemViewType() 538 if (isSectionHeaderDisplayEnabled() && partitionIndex == getIndexedPartition()) { in getItemViewType() 630 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) { in bindHeaderView() argument [all …]
|
D | ContactEntryListFragment.java | 385 private void startLoadingDirectoryPartition(int partitionIndex) { 386 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); 391 loadDirectoryPartition(partitionIndex, partition); 393 loadDirectoryPartitionDelayed(partitionIndex, partition); 398 getLoaderManager().initLoader(partitionIndex, args, this); 407 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { 410 DIRECTORY_SEARCH_MESSAGE, partitionIndex, 0, partition); 417 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) { 420 getLoaderManager().restartLoader(partitionIndex, args, this); 476 protected void onPartitionLoaded(int partitionIndex, Cursor data) { [all …]
|
D | PhoneNumberListAdapter.java | 338 final int partitionIndex = getPartitionForPosition(position); in getDataUri() local 340 return item != null ? getDataUri(partitionIndex, item) : null; in getDataUri() 343 public Uri getDataUri(int partitionIndex, Cursor cursor) { in getDataUri() argument 345 ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); in getDataUri() 533 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto() argument 534 if (!isPhotoSupported(partitionIndex)) { in bindPhoto() 634 protected Uri getContactUri(int partitionIndex, Cursor cursor, in getContactUri() argument 636 final DirectoryPartition directory = (DirectoryPartition) getPartition(partitionIndex); in getContactUri() 639 return super.getContactUri(partitionIndex, cursor, contactIdColumn, lookUpKeyColumn); in getContactUri()
|
D | JoinContactListAdapter.java | 161 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) { in bindHeaderView() argument 202 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | TimeClustering.java | 269 int partitionIndex = -1; in getPartitionIndexForCurrentCluster() local 294 partitionIndex = i; in getPartitionIndexForCurrentCluster() 297 partitionIndex = i + 1; in getPartitionIndexForCurrentCluster() 303 return partitionIndex; in getPartitionIndexForCurrentCluster()
|