/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | MessageDetailsDialog.java | 105 final StringBuilder details = new StringBuilder(); in getSmsMessageDetails() local 108 details.append(res.getString(R.string.message_type_label)); in getSmsMessageDetails() 109 details.append(res.getString(R.string.text_message)); in getSmsMessageDetails() 115 details.append('\n'); in getSmsMessageDetails() 116 details.append(res.getString(R.string.from_label)); in getSmsMessageDetails() 117 details.append(rawSender); in getSmsMessageDetails() 122 details.append('\n'); in getSmsMessageDetails() 123 details.append(res.getString(R.string.to_address_label)); in getSmsMessageDetails() 124 details.append(rawRecipients); in getSmsMessageDetails() 130 details.append('\n'); in getSmsMessageDetails() [all …]
|
D | SimSelectorItemView.java | 50 mDetailsTextView = (TextView) findViewById(R.id.details); in onFinishInflate() 80 final String details = mData.displayDestination; in updateViewAppearance() local 81 if (TextUtils.isEmpty(details)) { in updateViewAppearance() 85 mDetailsTextView.setText(details); in updateViewAppearance()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | PhoneCallDetailsHelper.java | 133 private boolean shouldShowLocation(PhoneCallDetails details) { in shouldShowLocation() argument 134 if (TextUtils.isEmpty(details.geocode)) { in shouldShowLocation() 138 if (details.sourceType == ContactSource.Type.SOURCE_TYPE_CEQUINT_CALLER_ID) { in shouldShowLocation() 142 && cachedNumberLookupService.isBusiness(details.sourceType)) { in shouldShowLocation() 147 if (!TextUtils.isEmpty(details.namePrimary)) { in shouldShowLocation() 154 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { in setPhoneCallDetails() argument 157 int count = details.callTypes.length; in setPhoneCallDetails() 160 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails() 162 isVoicemail = details.callTypes[index] == Calls.VOICEMAIL_TYPE; in setPhoneCallDetails() 168 (details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO); in setPhoneCallDetails() [all …]
|
D | CallLogListItemHelper.java | 63 public void updatePhoneCallDetails(PhoneCallDetails details) { in updatePhoneCallDetails() argument 65 details.callLocationAndDate = phoneCallDetailsHelper.getCallLocationAndDate(details); in updatePhoneCallDetails() 66 details.callDescription = getCallDescription(details); in updatePhoneCallDetails() 75 public void setPhoneCallDetails(CallLogListItemViewHolder views, PhoneCallDetails details) { in setPhoneCallDetails() argument 76 phoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); in setPhoneCallDetails() 79 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); in setPhoneCallDetails() 82 views.primaryActionView.setContentDescription(details.callDescription); in setPhoneCallDetails() 86 views.nameOrNumber = getNameOrNumber(details); in setPhoneCallDetails() 90 views.callTypeOrLocation = phoneCallDetailsHelper.getCallTypeOrLocation(details); in setPhoneCallDetails() 93 views.countryIso = details.countryIso; in setPhoneCallDetails() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MediaDetails.java | 112 private static void setExifData(MediaDetails details, ExifTag tag, in setExifData() argument 127 details.addDetail(key, state); in setExifData() 129 details.addDetail(key, value); in setExifData() 134 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo() argument 145 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), in extractExifInfo() 147 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), in extractExifInfo() 149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), in extractExifInfo() 151 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), in extractExifInfo() 153 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), in extractExifInfo() 155 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE), in extractExifInfo() [all …]
|
D | LocalMediaItem.java | 84 MediaDetails details = super.getDetails(); in getDetails() local 85 details.addDetail(MediaDetails.INDEX_PATH, filePath); in getDetails() 86 details.addDetail(MediaDetails.INDEX_TITLE, caption); in getDetails() 88 details.addDetail(MediaDetails.INDEX_DATETIME, in getDetails() 90 details.addDetail(MediaDetails.INDEX_WIDTH, width); in getDetails() 91 details.addDetail(MediaDetails.INDEX_HEIGHT, height); in getDetails() 94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); in getDetails() 96 if (fileSize > 0) details.addDetail(MediaDetails.INDEX_SIZE, fileSize); in getDetails() 97 return details; in getDetails()
|
D | UriImage.java | 253 MediaDetails details = super.getDetails(); in getDetails() local 255 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth); in getDetails() 256 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); in getDetails() 259 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails() 263 details.addDetail(MediaDetails.INDEX_PATH, filePath); in getDetails() 264 MediaDetails.extractExifInfo(details, filePath); in getDetails() 266 return details; in getDetails()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | StorageMeasurement.java | 93 void onDetailsChanged(MeasurementDetails details); in onDetailsChanged() argument 153 final MeasurementDetails details = new MeasurementDetails(); in measureExactStorage() local 154 if (mVolume == null) return details; in measureExactStorage() 158 details.totalSize = mVolume.getPath().getTotalSpace(); in measureExactStorage() 159 details.availSize = mVolume.getPath().getUsableSpace(); in measureExactStorage() 160 return details; in measureExactStorage() 164 details.totalSize = mStats.getTotalBytes(mVolume.fsUuid); in measureExactStorage() 165 details.availSize = mStats.getFreeBytes(mVolume.fsUuid); in measureExactStorage() 169 return details; in measureExactStorage() 178 details.mediaSize.put(user.id, mediaMap); in measureExactStorage() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | MediaDetails.java | 111 private static void setExifData(MediaDetails details, ExifTag tag, in setExifData() argument 126 details.addDetail(key, state); in setExifData() 128 details.addDetail(key, value); in setExifData() 137 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo() argument 147 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), in extractExifInfo() 149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), in extractExifInfo() 151 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), in extractExifInfo() 153 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), in extractExifInfo() 155 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), in extractExifInfo() 157 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE), in extractExifInfo() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | KeyInputHandler.java | 51 public boolean onKey(@Nullable DocumentItemDetails details, int keyCode, KeyEvent event) { in onKey() argument 64 if (details != null) { in onKey() 65 int itemType = details.getItemViewType(); in onKey() 73 if (mCallbacks.onFocusItem(details, keyCode, event)) { in onKey() 77 if (shouldExtendSelection(details, event)) { in onKey() 80 mSelectionHelper.startRange(details.getPosition()); in onKey() 82 mSelectionHelper.extendRange(details.getPosition()); in onKey() 95 return mCallbacks.onItemActivated(details, event); in onKey() 109 public abstract boolean onFocusItem(T details, int keyCode, KeyEvent event); in onFocusItem() argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DialogDetailsView.java | 79 MediaDetails details = mSource.getDetails(); in reloadDetails() 80 if (details != null) { in reloadDetails() 81 if (mIndex == index && mDetails == details) return; in reloadDetails() 83 mDetails = details; in reloadDetails() 84 setDetails(details); in reloadDetails() 88 private void setDetails(MediaDetails details) { in setDetails() argument 89 mAdapter = new DetailsAdapter(details); in setDetails() 127 public DetailsAdapter(MediaDetails details) { in DetailsAdapter() argument 129 mItems = new ArrayList<String>(details.size()); in DetailsAdapter() 131 setDetails(context, details); in DetailsAdapter() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | StorageFragment.java | 219 private void updateDetails(StorageMeasurement.MeasurementDetails details) { in updateDetails() argument 225 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 229 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 234 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 241 availSize = details.availSize; in updateDetails() 246 Log.i(TAG, "details availSize:" + details.availSize); in updateDetails() 247 mAvailablePref.setSize(details.availSize); in updateDetails() 249 mAppsUsagePref.setSize(details.appsSize.get(currentUser)); in updateDetails() 253 mCacheUsagePref.setSize(details.cacheSize); in updateDetails() 254 mMiscUsagePref.setSize(details.miscSize.get(currentUser)); in updateDetails() [all …]
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestCallDiagnosticService.java | 34 public Call.Details details; field in TestCallDiagnosticService.TestCallDiagnostics 36 TestCallDiagnostics(Call.Details details) { in TestCallDiagnostics() argument 37 this.details = details; in TestCallDiagnostics() 41 public void onCallDetailsChanged(@NonNull Call.Details details) { in onCallDetailsChanged() argument 42 Log.i(this, "onCallDetailsChanged; %s", details); in onCallDetailsChanged()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | DetailsDialog.java | 61 return builder.setTitle(R.string.details).setView(detailsList) in create() 83 public DetailsAdapter(Context context, MediaDetails details) { 85 mMediaDetails = details; 86 mItems = new ArrayList<String>(details.size()); 87 setDetails(context, details); 90 private void setDetails(Context context, MediaDetails details) { 93 for (Entry<Integer, Object> detail : details) { 187 if (details.hasUnit(key)) { 189 context, key), value, context.getString(details.getUnit(key))); 238 R.layout.details, parent, false);
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkNotificationManager.java | 212 final CharSequence details; in showNotification() local 223 details = r.getString(R.string.wifi_no_internet_detailed); in showNotification() 232 details = r.getString(R.string.private_dns_broken_detailed); in showNotification() 236 details = r.getString(R.string.network_partial_connectivity_detailed); in showNotification() 240 details = r.getString(R.string.wifi_no_internet_detailed); in showNotification() 245 details = r.getString(R.string.network_available_sign_in_detailed, name); in showNotification() 260 details = r.getString(R.string in showNotification() 263 details = r.getString( in showNotification() 270 details = r.getString(R.string.network_available_sign_in_detailed, name); in showNotification() 277 details = r.getString(R.string.network_switch_metered_detail, toTransport, in showNotification() [all …]
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/media/ |
D | CameraIcon.kt | 17 package com.android.avatarpicker.ui.details.items.media in <lambda>() 27 import com.android.avatarpicker.ui.details.items.ResourceViewModel in <lambda>() 28 import com.android.avatarpicker.ui.details.items.UiState in <lambda>() 29 import com.android.avatarpicker.ui.details.items.UriTypedItem in <lambda>()
|
D | MediaIcon.kt | 17 package com.android.avatarpicker.ui.details.items.media 26 import com.android.avatarpicker.ui.details.items.GetCircleModifier 27 import com.android.avatarpicker.ui.details.items.ResourceViewModel
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
D | ReportDetails.java | 65 final ReportDetails details = new ReportDetails(); in parseIncidentReport() local 74 return details; in parseIncidentReport() 81 parseImages(details.mImages, incident, context.getResources()); in parseIncidentReport() 82 parseReasons(details.mReasons, incident); in parseIncidentReport() 90 return details; in parseIncidentReport()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | RecordedProgramPresenter.java | 119 DetailsContent details = DetailsContent.createFromRecordedProgram(mContext, program); in onBindDvrItemViewHolder() local 121 mShowEpisodeTitle ? program.getEpisodeDisplayTitle(mContext) : details.getTitle()); in onBindDvrItemViewHolder() 122 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder() 124 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
|
D | ScheduledRecordingPresenter.java | 119 DetailsContent details = DetailsContent.createFromScheduledRecording(mContext, recording); in onBindDvrItemViewHolder() local 120 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder() 121 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder() 129 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | NetworkTraceHandler.cpp | 237 const BundleDetails& details = kv.second; in Write() local 240 dst->set_timestamp(details.minTs); in Write() 255 int count = details.time_and_len.size(); in Write() 259 for (const auto& kv : details.time_and_len) { in Write() 260 offsets.Append(kv.first - details.minTs); in Write() 267 event->set_total_duration(details.maxTs - details.minTs); in Write() 268 event->set_total_length(details.bytes); in Write()
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/ |
D | ResultHandlerImpl.kt | 26 import com.android.avatarpicker.ui.details.items.ResourceViewModel in <lambda>() 27 import com.android.avatarpicker.ui.details.items.SelectableType in <lambda>() 28 import com.android.avatarpicker.ui.details.items.UiState in <lambda>() 29 import com.android.avatarpicker.ui.details.items.UriTypedItem in <lambda>()
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/ |
D | DetailsList.kt | 17 package com.android.avatarpicker.ui.details in <lambda>() 21 import com.android.avatarpicker.ui.details.items.ItemViewComposer in <lambda>() 22 import com.android.avatarpicker.ui.details.items.SelectorWrapper in <lambda>()
|
/packages/apps/AvatarPicker/src/main/java/com/android/avatarpicker/ui/details/items/ |
D | ItemViewComposerImpl.kt | 17 package com.android.avatarpicker.ui.details.items 25 import com.android.avatarpicker.ui.details.items.media.CameraIcon 26 import com.android.avatarpicker.ui.details.items.media.PhotoPickerIcon
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | InspectorBot.java | 83 DetailsView details = (DetailsView) activity.findViewById(R.id.inspector_details_view); in isRowPresent() local 84 Map<String, String> rows = getTableRows(details); in isRowPresent() 90 DetailsView details = (DetailsView) activity.findViewById(R.id.inspector_details_view); in isRowEquals() local 91 Map<String, String> rows = getTableRows(details); in isRowEquals()
|