/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListAdapter.java | 133 DirectoryPartition partition = new DirectoryPartition(true, true); in createDefaultDirectoryPartition() local 134 partition.setDirectoryId(Directory.DEFAULT); in createDefaultDirectoryPartition() 135 partition.setDirectoryType(getContext().getString(R.string.contactsList)); in createDefaultDirectoryPartition() 136 partition.setPriorityDirectory(true); in createDefaultDirectoryPartition() 137 partition.setPhotoSupported(true); in createDefaultDirectoryPartition() 138 return partition; in createDefaultDirectoryPartition() 153 final Partition partition = getPartition(i); in removeDirectoriesAfterDefault() local 154 if ((partition instanceof DirectoryPartition) in removeDirectoriesAfterDefault() 155 && ((DirectoryPartition) partition).getDirectoryId() == Directory.DEFAULT) { in removeDirectoriesAfterDefault() 166 Partition partition = getPartition(i); in getPartitionByDirectoryId() local [all …]
|
D | JoinContactListAdapter.java | 134 public int getItemViewType(int partition, int position) { in getItemViewType() argument 135 return super.getItemViewType(partition, position); in getItemViewType() 139 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView() argument 141 switch (partition) { in newHeaderView() 165 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 167 switch (partition) { in newView() 170 return super.newView(context, partition, cursor, position, parent); in newView() 180 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 181 switch (partition) { in bindView() 185 bindPhoto(view, partition, cursor); in bindView() [all …]
|
D | ContactEntryListFragment.java | 310 Partition partition = mAdapter.getPartition(i); in startLoading() local 311 if (partition instanceof DirectoryPartition) { in startLoading() 312 DirectoryPartition directoryPartition = (DirectoryPartition)partition; in startLoading() 348 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); in startLoadingDirectoryPartition() local 349 partition.setStatus(DirectoryPartition.STATUS_LOADING); in startLoadingDirectoryPartition() 350 long directoryId = partition.getDirectoryId(); in startLoadingDirectoryPartition() 353 loadDirectoryPartition(partitionIndex, partition); in startLoadingDirectoryPartition() 355 loadDirectoryPartitionDelayed(partitionIndex, partition); in startLoadingDirectoryPartition() 369 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { in loadDirectoryPartitionDelayed() argument 370 mDelayedDirectorySearchHandler.removeMessages(DIRECTORY_SEARCH_MESSAGE, partition); in loadDirectoryPartitionDelayed() [all …]
|
D | DefaultContactListAdapter.java | 186 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 192 view.setActivated(isSelectedContact(partition, cursor)); in bindView() 198 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID, in bindView() 203 bindPhoto(view, partition, cursor); in bindView()
|
D | ContactListAdapter.java | 186 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 260 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getSelectedContactPosition() local 261 if (partition.getDirectoryId() == mSelectedContactDirectoryId) { in getSelectedContactPosition() 312 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getFirstContactUri() local 313 if (partition.isLoading()) { in getFirstContactUri()
|
D | LegacyContactListAdapter.java | 73 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 81 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
|
D | LegacyPostalAddressListAdapter.java | 78 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 86 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
|
D | LegacyPhoneNumberListAdapter.java | 77 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 85 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
|
D | PhoneNumberListAdapter.java | 211 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 221 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 260 bindQuickContact(view, partition, cursor, PhoneQuery.PHONE_PHOTO_ID, -1, in bindView()
|
D | EmailAddressListAdapter.java | 118 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 127 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
|
D | PostalAddressListAdapter.java | 108 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 117 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument
|
D | ContactBrowseListFragment.java | 455 Partition partition = adapter.getPartition(i); in checkSelection() local 456 if (partition instanceof DirectoryPartition) { in checkSelection() 457 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | PinnedHeaderListAdapter.java | 60 protected boolean isPinnedPartitionHeaderVisible(int partition) { in isPinnedPartitionHeaderVisible() argument 61 return mPinnedPartitionHeadersEnabled && hasHeader(partition) in isPinnedPartitionHeaderVisible() 62 && !isPartitionEmpty(partition); in isPinnedPartitionHeaderVisible() 70 public View getPinnedHeaderView(int partition, View convertView, ViewGroup parent) { in getPinnedHeaderView() argument 71 if (hasHeader(partition)) { in getPinnedHeaderView() 80 view = newHeaderView(getContext(), partition, null, parent); in getPinnedHeaderView() 85 bindHeaderView(view, partition, getCursor(partition)); in getPinnedHeaderView() 120 int partition = getPartitionForPosition(position); in configurePinnedHeaders() local 121 if (i > partition) { in configurePinnedHeaders() 143 int partition = getPartitionForPosition(position - 1); in configurePinnedHeaders() local [all …]
|
D | IndexerListAdapter.java | 95 public void setIndexedPartition(int partition) { in setIndexedPartition() argument 96 this.mIndexedPartition = partition; in setIndexedPartition() 175 int partition = getPartitionForPosition(position); in configurePinnedHeaders() local 176 if (partition == mIndexedPartition) { in configurePinnedHeaders()
|
D | PinnedHeaderListDemoActivity.java | 54 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView() argument 67 protected View newView(Context context, int partition, Cursor cursor, int position, in newView() argument 74 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView() argument
|
D | PinnedHeaderListView.java | 417 private boolean smoothScrollToPartition(int partition) { in smoothScrollToPartition() argument 418 final int position = mAdapter.getScrollPositionForHeader(partition); in smoothScrollToPartition() 424 for (int i = 0; i < partition; i++) { in smoothScrollToPartition()
|
/packages/experimental/procstatlog/ |
D | procstatreport.py | 457 yaffs, partition, var = key.split(":", 2) 458 ops = partition_ops.setdefault(partition, {}) 464 for num, (partition, ops) in enumerate(sorted(partition_ops.iteritems())): 473 values = {"partition": partition}
|