Home | History | Annotate | Download | only in dialer

Lines Matching refs:details

69     /** Fills the call details views with content. */
70 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details,
74 int count = details.callTypes.length;
76 views.callTypeIcons.add(details.callTypes[index]);
90 isHighlighted ? mCallTypeHelper.getHighlightedColor(details.callTypes[0]) : null;
93 CharSequence dateText = getCallDate(details);
99 CharSequence numberFormattedLabel = getCallTypeOrLocation(details);
105 mPhoneNumberHelper.getDisplayNumber(details.number,
106 details.numberPresentation, details.formattedNumber);
107 if (TextUtils.isEmpty(details.name)) {
109 if (TextUtils.isEmpty(details.geocode)
110 || mPhoneNumberUtilsWrapper.isVoicemailNumber(details.number)) {
113 numberText = details.geocode;
119 nameText = details.name;
134 * @param details Call details to use.
137 public CharSequence getCallTypeOrLocation(PhoneCallDetails details) {
140 if (!TextUtils.isEmpty(details.number)
141 && !PhoneNumberUtils.isUriNumber(details.number.toString())) {
142 if (details.numberLabel == ContactInfo.GEOCODE_AS_LABEL) {
143 numberFormattedLabel = details.geocode;
145 numberFormattedLabel = Phone.getTypeLabel(mResources, details.numberType,
146 details.numberLabel);
155 * @param details Call details to use.
158 public CharSequence getCallDate(PhoneCallDetails details) {
159 return DateUtils.getRelativeTimeSpanString(details.date,
165 /** Sets the text of the header view for the details page of a phone call. */
166 public void setCallDetailsHeader(TextView nameView, PhoneCallDetails details) {
169 mPhoneNumberHelper.getDisplayNumber(details.number, details.numberPresentation,
171 if (TextUtils.isEmpty(details.name)) {
174 nameText = details.name;