Home
last modified time | relevance | path

Searched refs:details (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DPhoneCallDetailsHelper.java65 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details, in setPhoneCallDetails() argument
69 int count = details.callTypes.length; in setPhoneCallDetails()
71 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails()
84 isHighlighted ? mCallTypeHelper.getHighlightedColor(details.callTypes[0]) : null; in setPhoneCallDetails()
88 DateUtils.getRelativeTimeSpanString(details.date, in setPhoneCallDetails()
98 if (!TextUtils.isEmpty(details.number) in setPhoneCallDetails()
99 && !PhoneNumberUtils.isUriNumber(details.number.toString())) { in setPhoneCallDetails()
100 numberFormattedLabel = Phone.getTypeLabel(mResources, details.numberType, in setPhoneCallDetails()
101 details.numberLabel); in setPhoneCallDetails()
108 mPhoneNumberHelper.getDisplayNumber(details.number, details.formattedNumber); in setPhoneCallDetails()
[all …]
DCallDetailActivity.java393 PhoneCallDetails[] details = new PhoneCallDetails[numCalls]; in updateData() local
396 details[index] = getPhoneCallDetailsForUri(callUris[index]); in updateData()
398 return details; in updateData()
407 public void onPostExecute(PhoneCallDetails[] details) { in updateData() argument
408 if (details == null) { in updateData()
418 PhoneCallDetails firstDetails = details[0]; in updateData()
552 mCallTypeHelper, details, hasVoicemail(), canPlaceCallsTo, in updateData()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaDetails.java106 private static void setExifData(MediaDetails details, ExifInterface exif, String tag, in setExifData() argument
113 details.addDetail(key, state); in setExifData()
115 details.addDetail(key, value); in setExifData()
120 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo() argument
123 setExifData(details, exif, ExifInterface.TAG_FLASH, MediaDetails.INDEX_FLASH); in extractExifInfo()
124 setExifData(details, exif, ExifInterface.TAG_IMAGE_WIDTH, MediaDetails.INDEX_WIDTH); in extractExifInfo()
125 setExifData(details, exif, ExifInterface.TAG_IMAGE_LENGTH, in extractExifInfo()
127 setExifData(details, exif, ExifInterface.TAG_MAKE, MediaDetails.INDEX_MAKE); in extractExifInfo()
128 setExifData(details, exif, ExifInterface.TAG_MODEL, MediaDetails.INDEX_MODEL); in extractExifInfo()
129 setExifData(details, exif, ExifInterface.TAG_APERTURE, MediaDetails.INDEX_APERTURE); in extractExifInfo()
[all …]
DLocalMediaItem.java84 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, formater.format(new Date(dateTakenInMs))); in getDetails()
91 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); in getDetails()
93 if (fileSize > 0) details.addDetail(MediaDetails.INDEX_SIZE, fileSize); in getDetails()
94 return details; in getDetails()
DMtpImage.java150 MediaDetails details = super.getDetails();
152 details.addDetail(MediaDetails.INDEX_TITLE, mFileName);
153 details.addDetail(MediaDetails.INDEX_DATETIME, formater.format(new Date(mDateTaken)));
154 details.addDetail(MediaDetails.INDEX_WIDTH, mImageWidth);
155 details.addDetail(MediaDetails.INDEX_HEIGHT, mImageHeight);
156 details.addDetail(MediaDetails.INDEX_SIZE, Long.valueOf(mObjectSize));
157 return details;
DUriImage.java238 MediaDetails details = super.getDetails(); in getDetails() local
240 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth); in getDetails()
241 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); in getDetails()
244 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); in getDetails()
248 details.addDetail(MediaDetails.INDEX_PATH, filePath); in getDetails()
249 MediaDetails.extractExifInfo(details, filePath); in getDetails()
251 return details; in getDetails()
DMediaObject.java107 MediaDetails details = new MediaDetails(); in getDetails() local
108 return details; in getDetails()
DLocalImage.java293 MediaDetails details = super.getDetails(); in getDetails() local
294 details.addDetail(MediaDetails.INDEX_ORIENTATION, Integer.valueOf(rotation)); in getDetails()
295 MediaDetails.extractExifInfo(details, filePath); in getDetails()
296 return details; in getDetails()
DMediaSet.java178 MediaDetails details = super.getDetails(); in getDetails() local
179 details.addDetail(MediaDetails.INDEX_TITLE, getName()); in getDetails()
180 return details; in getDetails()
DLocalVideo.java216 MediaDetails details = super.getDetails(); in getDetails() local
219 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( in getDetails()
222 return details; in getDetails()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageUtils.java144 StringBuilder details = new StringBuilder(); in getNotificationIndDetails() local
160 details.append(res.getString(R.string.message_type_label)); in getNotificationIndDetails()
161 details.append(res.getString(R.string.multimedia_notification)); in getNotificationIndDetails()
165 details.append('\n'); in getNotificationIndDetails()
166 details.append(res.getString(R.string.from_label)); in getNotificationIndDetails()
167 details.append(!TextUtils.isEmpty(from)? from: in getNotificationIndDetails()
171 details.append('\n'); in getNotificationIndDetails()
172 details.append(res.getString( in getNotificationIndDetails()
178 details.append('\n'); in getNotificationIndDetails()
179 details.append(res.getString(R.string.subject_label)); in getNotificationIndDetails()
[all …]
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallLogListItemHelper.java59 public void setPhoneCallDetails(CallLogListItemViews views, PhoneCallDetails details, in setPhoneCallDetails() argument
61 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details, in setPhoneCallDetails()
63 boolean canCall = mPhoneNumberHelper.canPlaceCallsTo(details.number); in setPhoneCallDetails()
64 boolean canPlay = details.callTypes[0] == Calls.VOICEMAIL_TYPE; in setPhoneCallDetails()
72 configureCallSecondaryAction(views, details); in setPhoneCallDetails()
83 PhoneCallDetails details) { in configureCallSecondaryAction() argument
86 views.secondaryActionView.setContentDescription(getCallActionDescription(details)); in configureCallSecondaryAction()
90 private CharSequence getCallActionDescription(PhoneCallDetails details) { in getCallActionDescription() argument
92 if (!TextUtils.isEmpty(details.name)) { in getCallActionDescription()
93 recipient = details.name; in getCallActionDescription()
[all …]
DCallDetailHistoryAdapter.java136 PhoneCallDetails details = mPhoneCallDetails[position - 1]; in getView() local
143 int callType = details.callTypes[0]; in getView()
148 CharSequence dateValue = DateUtils.formatDateRange(mContext, details.date, details.date, in getView()
157 durationView.setText(formatDuration(details.duration)); in getView()
DCallLogAdapter.java595 final PhoneCallDetails details; in bindView() local
597 details = new PhoneCallDetails(number, formattedNumber, countryIso, geocode, in bindView()
601 details = new PhoneCallDetails(number, formattedNumber, countryIso, geocode, in bindView()
608 mCallLogViewsHelper.setPhoneCallDetails(views, details, isHighlighted); in bindView()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java74 MediaDetails details = mSource.getDetails(); in reloadDetails()
75 if (details != null) { in reloadDetails()
76 if (mIndex == index && mDetails == details) return; in reloadDetails()
78 mDetails = details; in reloadDetails()
79 setDetails(details); in reloadDetails()
83 private void setDetails(MediaDetails details) { in setDetails() argument
84 mAdapter = new DetailsAdapter(details); in setDetails()
114 public DetailsAdapter(MediaDetails details) { in DetailsAdapter() argument
116 mItems = new ArrayList<String>(details.size()); in DetailsAdapter()
118 setDetails(context, details); in DetailsAdapter()
[all …]
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java55 boolean launchConfirmationActivity(int request, CharSequence message, CharSequence details) { in launchConfirmationActivity() argument
59 launched = confirmPattern(request, message, details); in launchConfirmationActivity()
79 private boolean confirmPattern(int request, CharSequence message, CharSequence details) { in confirmPattern() argument
86 intent.putExtra(ConfirmLockPattern.FOOTER_TEXT, details); in confirmPattern()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DHomeGroupsXLarge.java95 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()
DDetailsNormal.java31 ContactFragment frag = (ContactFragment) findFragmentById(R.id.details); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DResearchLogger.java322 public void logStateChange(final String subgroup, final String details) { in logStateChange() argument
323 write(LogGroup.STATE_CHANGE, subgroup + "\t" + details); in logStateChange()
373 public static void logUnstructured(String logGroup, final String details) { in logUnstructured() argument
375 getInstance().write(LogGroup.UNSTRUCTURED, logGroup + "\t" + details); in logUnstructured()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java212 mDetailsParent = (ViewGroup)mRootView.findViewById(R.id.details); in createDetails()
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java684 POSITION_DETAILS, R.string.details) in addImageMenuItems()