/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | LegacyContactListAdapter.java | 76 protected View newView(Context context, int partition, Cursor cursor, int position, argument 84 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | EmailAddressListAdapter.java | 121 protected View newView(Context context, int partition, Cursor cursor, int position, argument 130 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | JoinContactListAdapter.java | 127 // Don't change default partition parameters from these defaults 137 public int getItemViewType(int partition, int position) { argument 138 return super.getItemViewType(partition, position); 142 protected View newHeaderView(Context context, int partition, Cursor cursor, argument 144 switch (partition) { 168 protected View newView(Context context, int partition, Cursor cursor, int position, argument 170 switch (partition) { 173 return super.newView(context, partition, cursor, position, parent); 183 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument 184 switch (partition) { [all...] |
H A D | LegacyPhoneNumberListAdapter.java | 80 protected View newView(Context context, int partition, Cursor cursor, int position, argument 88 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | LegacyPostalAddressListAdapter.java | 81 protected View newView(Context context, int partition, Cursor cursor, int position, argument 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
H A D | PostalAddressListAdapter.java | 111 protected View newView(Context context, int partition, Cursor cursor, int position, argument 120 protected void bindView(View itemView, int partition, Cursor cursor, int position) { argument
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/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 | 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 | 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 | 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 176 int partition = getPartitionForPosition(position); 177 if (partition == mIndexedPartition) { 193 // Compute the item position where the current partition begins
|
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 | PinnedHeaderListView.java | 418 private boolean smoothScrollToPartition(int partition) { argument 419 final int position = mAdapter.getScrollPositionForHeader(partition); 425 for (int i = 0; i < partition; i++) {
|
H A D | ContactEntryListAdapter.java | 132 DirectoryPartition partition = new DirectoryPartition(true, true); 133 partition.setDirectoryId(Directory.DEFAULT); 134 partition.setDirectoryType(getContext().getString(R.string.contactsList)); 135 partition.setPriorityDirectory(true); 136 partition.setPhotoSupported(true); 137 return partition; 152 final Partition partition = getPartition(i); 153 if ((partition instanceof DirectoryPartition) 154 && ((DirectoryPartition) partition).getDirectoryId() == Directory.DEFAULT) { 165 Partition partition 517 newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) argument [all...] |
H A D | ContactEntryListFragment.java | 296 Partition partition = mAdapter.getPartition(i); 297 if (partition instanceof DirectoryPartition) { 298 DirectoryPartition directoryPartition = (DirectoryPartition)partition; 336 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); 337 partition.setStatus(DirectoryPartition.STATUS_LOADING); 338 long directoryId = partition.getDirectoryId(); 341 loadDirectoryPartition(partitionIndex, partition); 343 loadDirectoryPartitionDelayed(partitionIndex, partition); 357 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { argument 358 mDelayedDirectorySearchHandler.removeMessages(DIRECTORY_SEARCH_MESSAGE, partition); 367 loadDirectoryPartition(int partitionIndex, DirectoryPartition partition) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
H A D | PinnedHeaderListDemoActivity.java | 55 protected View newHeaderView(Context context, int partition, Cursor cursor, argument 68 protected View newView(Context context, int partition, Cursor cursor, int position, argument 75 protected void bindView(View v, int partition, Cursor cursor, int position) { argument
|