/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/Dialer/java/com/android/contacts/common/list/ |
D | ContactEntryListAdapter.java | 420 public void changeCursor(int partitionIndex, Cursor cursor) { in changeCursor() argument 421 if (partitionIndex >= getPartitionCount()) { in changeCursor() 426 Partition partition = getPartition(partitionIndex); in changeCursor() 431 if (mDisplayPhotos && mPhotoLoader != null && isPhotoSupported(partitionIndex)) { in changeCursor() 435 super.changeCursor(partitionIndex, cursor); in changeCursor() 437 if (isSectionHeaderDisplayEnabled() && partitionIndex == getIndexedPartition()) { in changeCursor() 493 public int getItemViewType(int partitionIndex, int position) { in getItemViewType() argument 494 int type = super.getItemViewType(partitionIndex, position); in getItemViewType() 497 && partitionIndex == getIndexedPartition()) { in getItemViewType() 575 protected void bindHeaderView(View view, int partitionIndex, Cursor cursor) { in bindHeaderView() argument [all …]
|
D | ContactEntryListFragment.java | 361 private void startLoadingDirectoryPartition(int partitionIndex) { 362 DirectoryPartition partition = (DirectoryPartition) mAdapter.getPartition(partitionIndex); 367 loadDirectoryPartition(partitionIndex, partition); 369 loadDirectoryPartitionDelayed(partitionIndex, partition); 374 getLoaderManager().initLoader(partitionIndex, args, this); 383 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { 387 DIRECTORY_SEARCH_MESSAGE, partitionIndex, 0, partition); 392 protected void loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) { 395 getLoaderManager().restartLoader(partitionIndex, args, this); 436 protected void onPartitionLoaded(int partitionIndex, Cursor data) { [all …]
|
D | ContactListAdapter.java | 48 public Uri getContactUri(int partitionIndex, Cursor cursor) { in getContactUri() argument 52 long directoryId = ((DirectoryPartition) getPartition(partitionIndex)).getDirectoryId(); in getContactUri() 85 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto() argument 86 if (!isPhotoSupported(partitionIndex)) { in bindPhoto() 131 public void changeCursor(int partitionIndex, Cursor cursor) { in changeCursor() argument 132 super.changeCursor(partitionIndex, cursor); in changeCursor()
|
D | PhoneNumberListAdapter.java | 455 protected void bindPhoto(final ContactListItemView view, int partitionIndex, Cursor cursor) { in bindPhoto() argument 456 if (!isPhotoSupported(partitionIndex)) { in bindPhoto() 550 int partitionIndex, Cursor cursor, int contactIdColumn, int lookUpKeyColumn) { in getContactUri() argument 551 final DirectoryPartition directory = (DirectoryPartition) getPartition(partitionIndex); in getContactUri() 554 return super.getContactUri(partitionIndex, cursor, contactIdColumn, lookUpKeyColumn); in getContactUri()
|
/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()
|