/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 | 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 | 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 | 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 | 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 | 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 | 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 | DefaultContactListAdapter.java | 236 protected void bindView(View itemView, int partition, Cursor cursor, int position) { in bindView() argument 237 super.bindView(itemView, partition, cursor, position); in bindView() 243 view.setActivated(isSelectedContact(partition, cursor)); in bindView() 249 bindQuickContact(view, partition, cursor, ContactQuery.CONTACT_PHOTO_ID, in bindView() 254 bindPhoto(view, partition, cursor); 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 | 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 | 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 | 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()
|
/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 | 52 public final String partition; field in LifetimeWriteInfo 56 public LifetimeWriteInfo(String partition, String fstype, long writtenBytes) { in LifetimeWriteInfo() argument 57 this.partition = Objects.requireNonNull(partition); in LifetimeWriteInfo() 66 this.partition = in.readString(); in LifetimeWriteInfo() 75 partition = in.getString("partition"); in LifetimeWriteInfo() 83 dest.writeString(partition); in writeToParcel() 93 jsonWriter.name("partition").value(partition); in writeToJson() 110 return partition.equals(lifetime.partition) in equals() 120 return Objects.hash(partition, fstype, writtenBytes); in hashCode() 126 partition, fstype, writtenBytes); in toString()
|
/packages/modules/Virtualization/microdroid/payload/ |
D | README.md | 13 The first partition is a "payload-metadata" partition which describes other partitions. 18 * partition 1: Metadata partition 19 * partition 2 ~ n: APEX payloads 20 * partition n+1, n+2: APK payload and its idsig 24 ### Metadata partition 26 Metadata partition provides description of the other partitions and the location for VM payload 29 The partition is a protobuf message prefixed with the size of the message. 38 Each payload partition presents APEX or APK passed from the host. 40 The size of a payload partition must be a multiple of 4096 bytes.
|
/packages/modules/Virtualization/pvmfw/avb/src/ |
D | ops.rs | 17 use crate::partition::PartitionName; 76 partition: &CStr, in read_from_partition() 80 let partition = self.payload.get_partition(partition)?; in read_from_partition() localVariable 81 copy_data_to_dst(partition, offset, buffer)?; in read_from_partition() 85 fn get_preloaded_partition(&mut self, partition: &CStr) -> IoResult<&'a [u8]> { in get_preloaded_partition() 86 self.payload.get_partition(partition) in get_preloaded_partition() 118 fn get_size_of_partition(&mut self, partition: &CStr) -> IoResult<u64> { in get_size_of_partition() 119 let partition = self.payload.get_partition(partition)?; in get_size_of_partition() localVariable 120 u64::try_from(partition.len()).map_err(|_| IoError::InvalidValueSize) in get_size_of_partition()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | composite.rs | 88 .map(|partition| { in convert_partitions() 90 let file = partition in convert_partitions() 103 label: partition.label.to_owned(), in convert_partitions() 106 writable: partition.writable, in convert_partitions() 123 fn get_partition_size(partition: &File, path: &Path) -> Result<u64, Error> { in get_partition_size() 127 partition.try_clone()?, in get_partition_size()
|
/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/modules/Virtualization/microdroid/ |
D | fstab.microdroid | 2 # This is a temporary solution to unblock other devs that depend on /vendor partition in Microdroid 3 # The /vendor partition will only be mounted if the kernel cmdline contains
|
/packages/modules/Virtualization/pvmfw/src/ |
D | instance.rs | 205 fn locate_entry(partition: &mut Partition) -> Result<PvmfwEntry> { in locate_entry() 207 let mut indices = partition.indices(); in locate_entry() 209 partition.read_block(header_index, &mut blk).map_err(Error::FailedIo)?; in locate_entry() 217 partition.read_block(header_index, &mut blk).map_err(Error::FailedIo)?; in locate_entry()
|