Lines Matching defs:details

33     /** Helper for populating the details of a phone call. */
43 * @param phoneCallDetailsHelper used to set the details of a phone call
58 * @param details the details of a phone call needed to fill in the data
61 Context context, CallLogListItemViews views, PhoneCallDetails details) {
62 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details);
65 views.quickContactView.setContentDescription(getContactBadgeDescription(details));
68 views.primaryActionView.setContentDescription(getCallDescription(context, details));
72 views.nameOrNumber = this.getNameOrNumber(details);
97 * @param details Details of call.
100 private CharSequence getContactBadgeDescription(PhoneCallDetails details) {
101 return mResources.getString(R.string.description_contact_details, getNameOrNumber(details));
132 * @param details Details of call.
135 public CharSequence getCallDescription(Context context, PhoneCallDetails details) {
136 int lastCallType = getLastCallType(details.callTypes);
140 final CharSequence nameOrNumber = getNameOrNumber(details);
143 final CharSequence typeOrLocation = mPhoneCallDetailsHelper.getCallTypeOrLocation(details);
146 final CharSequence timeOfCall = mPhoneCallDetailsHelper.getCallDate(details);
156 if (details.callTypes.length > 1) {
158 details.callTypes.length));
162 if ((details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO &&
167 int stringID = getCallDescriptionStringID(details);
182 * @param details Call details.
185 public int getCallDescriptionStringID(PhoneCallDetails details) {
186 int lastCallType = getLastCallType(details.callTypes);
216 * Return the name or number of the caller specified by the details.
217 * @param details Call details
220 private CharSequence getNameOrNumber(PhoneCallDetails details) {
222 if (!TextUtils.isEmpty(details.name)) {
223 recipient = details.name;
226 details.number, details.numberPresentation, details.formattedNumber);