Searched refs:partitionIndex (Results 1 - 6 of 6) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactListAdapter.java148 int partitionIndex = getPartitionForPosition(position);
150 return item != null ? getContactUri(partitionIndex, item) : null;
153 public Uri getContactUri(int partitionIndex, Cursor cursor) { argument
157 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId();
171 public boolean isSelectedContact(int partitionIndex, Cursor cursor) { argument
172 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId();
216 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { argument
217 if (!isPhotoSupported(partitionIndex)) {
258 int partitionIndex = -1;
263 partitionIndex
334 changeCursor(int partitionIndex, Cursor cursor) argument
[all...]
H A DContactEntryListAdapter.java373 public void changeCursor(int partitionIndex, Cursor cursor) { argument
374 if (partitionIndex >= getPartitionCount()) {
379 Partition partition = getPartition(partitionIndex);
384 if (mDisplayPhotos && mPhotoLoader != null && isPhotoSupported(partitionIndex)) {
388 super.changeCursor(partitionIndex, cursor);
390 if (isSectionHeaderDisplayEnabled() && partitionIndex == getIndexedPartition()) {
427 public int getItemViewType(int partitionIndex, int position) { argument
428 int type = super.getItemViewType(partitionIndex, position);
431 && partitionIndex == getIndexedPartition()) {
508 protected void bindHeaderView(View view, int partitionIndex, Curso argument
584 isPhotoSupported(int partitionIndex) argument
605 bindQuickContact(final ContactListItemView view, int partitionIndex, Cursor cursor, int photoIdColumn, int contactIdColumn, int lookUpKeyColumn) argument
618 getContactUri(int partitionIndex, Cursor cursor, int contactIdColumn, int lookUpKeyColumn) argument
[all...]
H A DContactEntryListFragment.java352 private void startLoadingDirectoryPartition(int partitionIndex) { argument
353 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex);
358 loadDirectoryPartition(partitionIndex, partition);
360 loadDirectoryPartitionDelayed(partitionIndex, partition);
365 getLoaderManager().initLoader(partitionIndex, args, this);
374 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { argument
377 DIRECTORY_SEARCH_MESSAGE, partitionIndex, 0, partition);
384 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) { argument
387 getLoaderManager().restartLoader(partitionIndex, args, this);
430 protected void onPartitionLoaded(int partitionIndex, Curso argument
490 showCount(int partitionIndex, Cursor data) argument
[all...]
H A DJoinContactListAdapter.java153 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) { argument
193 public Uri getContactUri(int partitionIndex, Cursor cursor) { argument
H A DDefaultContactBrowseListFragment.java158 protected void showCount(int partitionIndex, Cursor data) { argument
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DTimeClustering.java266 int partitionIndex = -1;
291 partitionIndex = i;
294 partitionIndex = i + 1;
300 return partitionIndex;

Completed in 67 milliseconds