/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactEntryListAdapter.java | 119 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 127 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 130 bindWorkProfileIcon(view, partition); in bindView() 148 DirectoryPartition partition = new DirectoryPartition(true, true); in createDefaultDirectoryPartition() local 149 partition.setDirectoryId(Directory.DEFAULT); in createDefaultDirectoryPartition() 150 partition.setDirectoryType(getContext().getString(R.string.contactsList)); in createDefaultDirectoryPartition() 151 partition.setPriorityDirectory(true); in createDefaultDirectoryPartition() 152 partition.setPhotoSupported(true); in createDefaultDirectoryPartition() 153 partition.setLabel(mDefaultFilterHeaderText.toString()); in createDefaultDirectoryPartition() 154 return partition; in createDefaultDirectoryPartition() [all …]
|
D | PinnedHeaderListAdapter.java | 60 protected boolean isPinnedPartitionHeaderVisible(int partition) { in isPinnedPartitionHeaderVisible() argument 61 return getPinnedPartitionHeadersEnabled() && 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() 121 int partition = getPartitionForPosition(position); in configurePinnedHeaders() local 122 if (i > partition) { in configurePinnedHeaders() 144 int partition = getPartitionForPosition(position - 1); in configurePinnedHeaders() local [all …]
|
D | JoinContactListAdapter.java | 135 public int getItemViewType(int partition, int position) { in getItemViewType() argument 136 return super.getItemViewType(partition, position); in getItemViewType() 140 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView() argument 142 switch (partition) { in newHeaderView() 167 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 168 switch (partition) { in newView() 171 return super.newView(context, partition, cursor, position, parent); in newView() 181 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 182 super.bindView(itemView, partition, cursor, position); in bindView() 183 switch (partition) { in bindView() [all …]
|
D | ContactEntryListFragment.java | 334 Partition partition = mAdapter.getPartition(i); in startLoading() local 335 if (partition instanceof DirectoryPartition) { in startLoading() 336 DirectoryPartition directoryPartition = (DirectoryPartition)partition; in startLoading() 386 DirectoryPartition partition = (DirectoryPartition)mAdapter.getPartition(partitionIndex); 387 partition.setStatus(DirectoryPartition.STATUS_LOADING); 388 long directoryId = partition.getDirectoryId(); 391 loadDirectoryPartition(partitionIndex, partition); 393 loadDirectoryPartitionDelayed(partitionIndex, partition); 407 private void loadDirectoryPartitionDelayed(int partitionIndex, DirectoryPartition partition) { 408 mDelayedDirectorySearchHandler.removeMessages(DIRECTORY_SEARCH_MESSAGE, partition); [all …]
|
D | PhoneNumberListAdapter.java | 375 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 376 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView() 408 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 409 super.bindView(itemView, partition, cursor, position); in bindView() 448 bindQuickContact(view, partition, cursor, PhoneQuery.PHOTO_ID, in bindView() 453 bindPhoto(view, partition, cursor); in bindView() 462 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindView() 522 protected void bindWorkProfileIcon(final ContactListItemView view, int partition) { in bindWorkProfileIcon() argument 523 final DirectoryPartition directory = (DirectoryPartition) getPartition(partition); in bindWorkProfileIcon() 608 final DirectoryPartition partition = (DirectoryPartition) getPartition(i); in changeDirectories() local [all …]
|
D | LegacyPhoneNumberListAdapter.java | 78 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 80 super.newView(context, partition, cursor, position, parent); in newView() 86 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 87 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | ContactListAdapter.java | 221 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 222 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView() 299 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getSelectedContactPosition() local 300 if (partition.getDirectoryId() == mSelectedContactDirectoryId) { in getSelectedContactPosition() 351 DirectoryPartition partition = (DirectoryPartition) getPartition(i); in getFirstContactUri() local 352 if (partition.isLoading()) { in getFirstContactUri()
|
D | IndexerListAdapter.java | 85 public void setIndexedPartition(int partition) { in setIndexedPartition() argument 86 this.mIndexedPartition = partition; in setIndexedPartition() 165 int partition = getPartitionForPosition(position); in configurePinnedHeaders() local 166 if (partition == mIndexedPartition) { in configurePinnedHeaders()
|
D | DefaultContactListAdapter.java | 233 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 234 super.bindView(itemView, partition, cursor, position); in bindView() 240 view.setActivated(isSelectedContact(partition, cursor)); in bindView() 246 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID, in bindView() 251 bindPhoto(view, partition, cursor); in bindView()
|
D | PostalAddressListAdapter.java | 114 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 115 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView() 123 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 124 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | EmailAddressListAdapter.java | 124 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 125 ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView() 132 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 133 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | MultiSelectPhoneNumbersListAdapter.java | 136 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 137 … final ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView() 144 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 145 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | MultiSelectEmailAddressesListAdapter.java | 136 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 137 … final ContactListItemView view = super.newView(context, partition, cursor, position, parent); in newView() 144 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 145 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | LegacyContactListAdapter.java | 74 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 81 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 82 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | LegacyPostalAddressListAdapter.java | 79 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { in newView() argument 86 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 87 super.bindView(itemView, partition, cursor, position); in bindView()
|
D | MultiSelectEntryContactListAdapter.java | 154 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 155 super.bindView(itemView, partition, cursor, position); in bindView() 158 bindCheckBox(view, cursor, partition == ContactsContract.Directory.DEFAULT); in bindView()
|
D | HeaderEntryContactListAdapter.java | 92 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 93 super.bindView(itemView, partition, cursor, position + getHeaderEntryCount()); in bindView()
|
D | ContactBrowseListFragment.java | 440 Partition partition = adapter.getPartition(i); in checkSelection() local 441 if (partition instanceof DirectoryPartition) { in checkSelection() 442 DirectoryPartition directory = (DirectoryPartition) partition; in checkSelection()
|
D | PinnedHeaderListView.java | 458 private boolean smoothScrollToPartition(int partition) { in smoothScrollToPartition() argument 462 final int position = mAdapter.getScrollPositionForHeader(partition); in smoothScrollToPartition() 468 for (int i = 0; i < partition; i++) { in smoothScrollToPartition()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | CompositeAdapter.java | 105 public void addPartition(final Partition partition) { in addPartition() argument 112 mPartitions[mSize++] = partition; in addPartition() 113 partition.getAdapter().registerDataSetObserver(mObserver); in addPartition() 119 final Partition partition = mPartitions[index]; in removePartition() local 120 partition.close(); in removePartition() 124 partition.getAdapter().unregisterDataSetObserver(mObserver); in removePartition() 131 final Partition partition = mPartitions[i]; in clearPartitions() local 132 partition.close(); in clearPartitions() 133 partition.getAdapter().unregisterDataSetObserver(mObserver); in clearPartitions() 201 final Partition partition = mPartitions[i]; in getItem() local [all …]
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | LifetimeWriteInfo.java | 48 public final String partition; field in LifetimeWriteInfo 52 public LifetimeWriteInfo(String partition, String fstype, long writtenBytes) { in LifetimeWriteInfo() argument 53 this.partition = Objects.requireNonNull(partition); in LifetimeWriteInfo() 62 this.partition = in.readString(); in LifetimeWriteInfo() 71 partition = in.getString("partition"); in LifetimeWriteInfo() 79 dest.writeString(partition); in writeToParcel() 89 jsonWriter.name("partition").value(partition); in writeToJson() 105 return partition.equals(lifetime.partition) && in equals() 116 partition, fstype, writtenBytes); in toString()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersAdapter.java | 138 protected ContactListItemView newView(Context context, int partition, Cursor cursor, in newView() argument 141 super.newView(context, partition, cursor, position, parent); in newView() 147 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView() argument 148 super.bindView(v, partition, cursor, position); in bindView()
|
/packages/services/Car/car_product/sepolicy/public/ |
D | file.te | 2 # /sys/fs/<filesystem>/<partition>/lifetime_writes_kbytes 4 # partition names for their devices.
|
/packages/services/Car/service/src/com/android/car/ |
D | CarStorageMonitoringService.java | 394 shutdownLifetimeWrites.put(li.partition, li.writtenBytes)); in computeShutdownCost() 402 shutdownLifetimeWrites.getOrDefault(li.partition, li.writtenBytes); in computeShutdownCost() 405 Log.d(TAG, "partition " + li.partition + " had " + costDelta + in computeShutdownCost() 413 mShutdownCostMissingReason = li.partition + " has a negative write amount (" + in computeShutdownCost() 415 Log.e(TAG, "partition " + li.partition + " reported " + costDelta + in computeShutdownCost()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | TraceHelper.java | 61 public static void partitionSection(String sectionName, String partition) { in partitionSection() argument 73 Log.d(sectionName, partition + " : " + (now - time.value)); in partitionSection()
|