/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/src/com/android/dialer/calllog/ |
D | PhoneCallDetailsHelper.java | 78 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { in setPhoneCallDetails() argument 81 int count = details.callTypes.length; in setPhoneCallDetails() 84 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails() 86 isVoicemail = details.callTypes[index] == Calls.VOICEMAIL_TYPE; in setPhoneCallDetails() 92 (details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO); in setPhoneCallDetails() 104 CharSequence callLocationAndDate = getCallLocationAndDate(details); in setPhoneCallDetails() 110 String accountLabel = mTelecomCallLogCache.getAccountLabel(details.accountHandle); in setPhoneCallDetails() 115 int color = PhoneAccountUtils.getAccountColor(mContext, details.accountHandle); in setPhoneCallDetails() 127 final CharSequence displayNumber = details.displayNumber; in setPhoneCallDetails() 128 if (TextUtils.isEmpty(details.name)) { in setPhoneCallDetails() [all …]
|
D | CallLogListItemHelper.java | 65 PhoneCallDetails details) { in setPhoneCallDetails() argument 66 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); in setPhoneCallDetails() 69 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); in setPhoneCallDetails() 72 views.primaryActionView.setContentDescription(getCallDescription(details)); in setPhoneCallDetails() 76 views.nameOrNumber = getNameOrNumber(details); in setPhoneCallDetails() 119 private CharSequence getContactBadgeDescription(PhoneCallDetails details) { in getContactBadgeDescription() argument 120 return mResources.getString(R.string.description_contact_details, getNameOrNumber(details)); in getContactBadgeDescription() 158 public CharSequence getCallDescription(PhoneCallDetails details) { in getCallDescription() argument 159 int lastCallType = getLastCallType(details.callTypes); in getCallDescription() 163 final CharSequence nameOrNumber = getNameOrNumber(details); in getCallDescription() [all …]
|
D | CallLogAsyncTaskUtil.java | 84 public void onGetCallDetails(PhoneCallDetails[] details); in onGetCallDetails() argument 107 PhoneCallDetails[] details = new PhoneCallDetails[numCalls]; in getCallDetails() 110 details[index] = in getCallDetails() 113 return details; in getCallDetails() 165 PhoneCallDetails details = new PhoneCallDetails( in getPhoneCallDetailsForUri() local 168 details.accountHandle = accountHandle; in getPhoneCallDetailsForUri() 169 details.contactUri = info.lookupUri; in getPhoneCallDetailsForUri() 170 details.name = info.name; in getPhoneCallDetailsForUri() 171 details.numberType = info.type; in getPhoneCallDetailsForUri() 172 details.numberLabel = info.label; in getPhoneCallDetailsForUri() [all …]
|
D | CallLogAdapter.java | 498 final PhoneCallDetails details = new PhoneCallDetails( in bindCallLogListViewHolder() local 500 details.accountHandle = accountHandle; in bindCallLogListViewHolder() 501 details.callTypes = getCallTypes(c, count); in bindCallLogListViewHolder() 502 details.countryIso = countryIso; in bindCallLogListViewHolder() 503 details.date = c.getLong(CallLogQuery.DATE); in bindCallLogListViewHolder() 504 details.duration = c.getLong(CallLogQuery.DURATION); in bindCallLogListViewHolder() 505 details.features = getCallFeatures(c, count); in bindCallLogListViewHolder() 506 details.geocode = c.getString(CallLogQuery.GEOCODED_LOCATION); in bindCallLogListViewHolder() 507 details.transcription = c.getString(CallLogQuery.TRANSCRIPTION); in bindCallLogListViewHolder() 508 if (details.callTypes[0] == CallLog.Calls.VOICEMAIL_TYPE) { in bindCallLogListViewHolder() [all …]
|
D | CallDetailHistoryAdapter.java | 118 PhoneCallDetails details = mPhoneCallDetails[position - 1]; in getView() local 125 int callType = details.callTypes[0]; in getView() 126 boolean isVideoCall = (details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO in getView() 134 CharSequence dateValue = DateUtils.formatDateRange(mContext, details.date, details.date, in getView() 143 durationView.setText(formatDurationAndDataUsage(details.duration, details.dataUsage)); in getView()
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
D | CallLogListItemHelperTest.java | 106 PhoneCallDetails details = getPhoneCallDetailsWithTypes(Calls.VOICEMAIL_TYPE); in testSetPhoneCallDetails_ReadVoicemail() local 107 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_ReadVoicemail() 112 PhoneCallDetails details = getPhoneCallDetailsWithTypes(Calls.VOICEMAIL_TYPE); in testSetPhoneCallDetails_UnreadVoicemail() local 113 mHelper.setPhoneCallDetails(mViewHolder, details); in testSetPhoneCallDetails_UnreadVoicemail() 177 PhoneCallDetails details = in testGetCallDescription_NoVoicemailOutgoing() local 179 CharSequence description = mHelper.getCallDescription(details); in testGetCallDescription_NoVoicemailOutgoing() 189 PhoneCallDetails details = in testGetCallDescription_NoVoicemailIncoming() local 191 CharSequence description = mHelper.getCallDescription(details); in testGetCallDescription_NoVoicemailIncoming() 201 PhoneCallDetails details = in testGetCallDescription_NoVoicemailMissed() local 203 CharSequence description = mHelper.getCallDescription(details); in testGetCallDescription_NoVoicemailMissed() [all …]
|
D | PhoneCallDetailsHelperTest.java | 169 PhoneCallDetails details = getPhoneCallDetails(); in testSetPhoneCallDetails_Video() local 170 details.features = Calls.FEATURES_VIDEO; in testSetPhoneCallDetails_Video() 171 mHelper.setPhoneCallDetails(mViews, details); in testSetPhoneCallDetails_Video() 180 PhoneCallDetails details = getPhoneCallDetails(); in testSetPhoneCallDetails_NoVideo() local 181 details.features = 0; in testSetPhoneCallDetails_NoVideo() 182 mHelper.setPhoneCallDetails(mViews, details); in testSetPhoneCallDetails_NoVideo() 255 PhoneCallDetails details = getPhoneCallDetails( in testSetCallDetailsHeader_VoicemailNumber() local 259 mHelper.setCallDetailsHeader(mNameView, details); in testSetCallDetailsHeader_VoicemailNumber() 324 PhoneCallDetails details = getPhoneCallDetails(number, presentation, formattedNumber); in setPhoneCallDetailsWithNumber() local 325 details.callTypes = new int[]{ Calls.VOICEMAIL_TYPE }; in setPhoneCallDetailsWithNumber() [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 | 252 MediaDetails details = super.getDetails(); in getDetails() local 254 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth); in getDetails() 255 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); in getDetails() 258 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails() 262 details.addDetail(MediaDetails.INDEX_PATH, filePath); in getDetails() 263 MediaDetails.extractExifInfo(details, filePath); in getDetails() 265 return details; in getDetails()
|
D | LocalImage.java | 321 MediaDetails details = super.getDetails(); in getDetails() local 322 details.addDetail(MediaDetails.INDEX_ORIENTATION, Integer.valueOf(rotation)); in getDetails() 326 MediaDetails.extractExifInfo(details, filePath); in getDetails() 328 return details; in getDetails()
|
D | MediaSet.java | 179 MediaDetails details = super.getDetails(); in getDetails() local 180 details.addDetail(MediaDetails.INDEX_TITLE, getName()); in getDetails() 181 return details; in getDetails()
|
D | LocalVideo.java | 219 MediaDetails details = super.getDetails(); in getDetails() local 222 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( in getDetails() 225 return details; in getDetails()
|
/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/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/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/apps/Settings/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeSettings.java | 195 final PreferenceGroup details = showHeaders ? in update() local 197 addDetailItems(details, showShared, userInfo.id); in update() 467 public void onDetailsChanged(MeasurementDetails details) { 468 updateDetails(details); 472 private void updateDetails(MeasurementDetails details) { in updateDetails() argument 479 updatePreference(item, details.appsSize.get(userId)); in updateDetails() 482 final long imagesSize = totalValues(details, userId, in updateDetails() 488 final long videosSize = totalValues(details, userId, in updateDetails() 493 final long audioSize = totalValues(details, userId, in updateDetails() 500 updatePreference(item, details.miscSize.get(userId)); in updateDetails() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | CallDetailActivity.java | 100 public void onGetCallDetails(PhoneCallDetails[] details) { 101 if (details == null) { 111 PhoneCallDetails firstDetails = details[0]; 163 new CallDetailHistoryAdapter(mContext, mInflater, mCallTypeHelper, details)); 194 private CharSequence getNumberTypeOrLocation(PhoneCallDetails details) { 195 if (!TextUtils.isEmpty(details.name)) { 196 return Phone.getTypeLabel(mResources, details.numberType, 197 details.numberLabel); 199 return details.geocode;
|
/packages/apps/Settings/src/com/android/settings/ |
D | ConfirmDeviceCredentialActivity.java | 33 public static Intent createIntent(CharSequence title, CharSequence details) { in createIntent() argument 38 intent.putExtra(KeyguardManager.EXTRA_DESCRIPTION, details); in createIntent() 42 public static Intent createIntent(CharSequence title, CharSequence details, long challenge) { in createIntent() argument 47 intent.putExtra(KeyguardManager.EXTRA_DESCRIPTION, details); in createIntent() 59 String details = intent.getStringExtra(KeyguardManager.EXTRA_DESCRIPTION); in onCreate() local 63 details, false /* returnCredentials */, true /* isExternal */)) { in onCreate()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageResetActivity.java | 324 public void onDetailsChanged(MeasurementDetails details) { 325 mLastMeasurementDetails = details; 555 private void updateDetails(MeasurementDetails details) { in updateDetails() argument 557 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 561 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 566 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails() 569 mAvailSize.setSize(details.availSize); in updateDetails() 570 mAppsSize.setSize(details.appsSize.get(currentUser)); in updateDetails() 574 mCacheSize.setSize(details.cacheSize); in updateDetails() 575 mMiscSize.setSize(details.miscSize.get(currentUser)); in updateDetails()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | ConferenceManagerPresenter.java | 77 public void onDetailsChanged(Call call, android.telecom.Call.Details details) { in onDetailsChanged() argument 78 boolean canDisconnect = details.can( in onDetailsChanged() 80 boolean canSeparate = details.can( in onDetailsChanged() 90 if (!details.can( in onDetailsChanged()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PersonItemView.java | 70 mDetailsTextView = (TextView) findViewById(R.id.details); in onFinishInflate() 200 final String details = mBinding.getData().getDetails(); in updateViewAppearance() local 201 if (TextUtils.isEmpty(details)) { in updateViewAppearance() 205 mDetailsTextView.setText(details); in updateViewAppearance()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | HomeGroupsXLarge.java | 95 ContactFragment details = new ContactFragment(contactUri, in onContactSelected() local 104 xact.add(R.id.largePane, details); in onContactSelected() 108 xact.replace(R.id.largePane, details); in onContactSelected()
|