/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | DefaultContactListAdapter.java | 185 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 191 view.setActivated(isSelectedContact(partition, cursor)); 197 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID, 202 bindPhoto(view, partition, cursor);
|
H A D | LegacyContactListAdapter.java | 73 protected View newView(Context context, int partition, Cursor cursor, int position, argument 81 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | EmailAddressListAdapter.java | 118 protected View newView(Context context, int partition, Cursor cursor, int position, argument 127 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | JoinContactListAdapter.java | 124 // Don't change default partition parameters from these defaults 134 public int getItemViewType(int partition, int position) { argument 135 return super.getItemViewType(partition, position); 139 protected View newHeaderView(Context context, int partition, Cursor cursor, argument 141 switch (partition) { 165 protected View newView(Context context, int partition, Cursor cursor, int position, argument 167 switch (partition) { 170 return super.newView(context, partition, cursor, position, parent); 180 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 181 switch (partition) { [all...] |
H A D | LegacyPhoneNumberListAdapter.java | 77 protected View newView(Context context, int partition, Cursor cursor, int position, argument 85 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | LegacyPostalAddressListAdapter.java | 78 protected View newView(Context context, int partition, Cursor cursor, int position, argument 86 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | PostalAddressListAdapter.java | 108 protected View newView(Context context, int partition, Cursor cursor, int position, argument 117 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | ContactListAdapter.java | 186 protected View newView(Context context, int partition, Cursor cursor, int position, argument 260 DirectoryPartition partition = (DirectoryPartition) getPartition(i); 261 if (partition.getDirectoryId() == mSelectedContactDirectoryId) { 312 DirectoryPartition partition = (DirectoryPartition) getPartition(i); 313 if (partition.isLoading()) {
|
H A D | PhoneNumberListAdapter.java | 211 protected View newView(Context context, int partition, Cursor cursor, int position, argument 221 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 260 bindQuickContact(view, partition, cursor, PhoneQuery.PHONE_PHOTO_ID, -1,
|
H A D | ContactEntryListAdapter.java | 133 DirectoryPartition partition = new DirectoryPartition(true, true); 134 partition.setDirectoryId(Directory.DEFAULT); 135 partition.setDirectoryType(getContext().getString(R.string.contactsList)); 136 partition.setPriorityDirectory(true); 137 partition.setPhotoSupported(true); 138 return partition; 153 final Partition partition = getPartition(i); 154 if ((partition instanceof DirectoryPartition) 155 && ((DirectoryPartition) partition).getDirectoryId() == Directory.DEFAULT) { 166 Partition partition 525 newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) argument [all...] |
H A D | ContactEntryListFragment.java | 310 Partition partition = mAdapter.getPartition(i); 311 if (partition instanceof DirectoryPartition) { 312 DirectoryPartition directoryPartition = (DirectoryPartition)partition; 348 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); 349 partition.setStatus(DirectoryPartition.STATUS_LOADING); 350 long directoryId = partition.getDirectoryId(); 353 loadDirectoryPartition(partitionIndex, partition); 355 loadDirectoryPartitionDelayed(partitionIndex, partition); 369 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { argument 370 mDelayedDirectorySearchHandler.removeMessages(DIRECTORY_SEARCH_MESSAGE, partition); 379 loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | PinnedHeaderListAdapter.java | 25 * A subclass of {@link CompositeCursorAdapter} that manages pinned partition headers. 60 protected boolean isPinnedPartitionHeaderVisible(int partition) { argument 61 return mPinnedPartitionHeadersEnabled && hasHeader(partition) 62 && !isPartitionEmpty(partition); 67 * partition header. 70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) { argument 71 if (hasHeader(partition)) { 80 view = newHeaderView(getContext(), partition, null, parent); 85 bindHeaderView(view, partition, getCursor(partition)); [all...] |
H A D | PinnedHeaderListDemoActivity.java | 54 protected View newHeaderView(Context context, int partition, Cursor cursor, argument 67 protected View newView(Context context, int partition, Cursor cursor, int position, argument 74 protected void bindView(View v, int partition, Cursor cursor, int position) { argument
|
H A D | IndexerListAdapter.java | 95 public void setIndexedPartition(int partition) { argument 96 this.mIndexedPartition = partition; 117 * @return relative position of the section in the indexed partition 128 * @param position relative position in the indexed partition 175 int partition = getPartitionForPosition(position); 176 if (partition == mIndexedPartition) { 192 // Compute the item position where the current partition begins
|
H A D | PinnedHeaderListView.java | 417 private boolean smoothScrollToPartition(int partition) { argument 418 final int position = mAdapter.getScrollPositionForHeader(partition); 424 for (int i = 0; i < partition; i++) {
|