Home
last modified time | relevance | path

Searched refs:details (Results 1 – 23 of 23) 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.java108 private static void setExifData(MediaDetails details, ExifInterface exif, String tag, in setExifData() argument
115 details.addDetail(key, state); in setExifData()
117 details.addDetail(key, value); in setExifData()
122 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo() argument
125 setExifData(details, exif, ExifInterface.TAG_FLASH, MediaDetails.INDEX_FLASH); in extractExifInfo()
126 setExifData(details, exif, ExifInterface.TAG_IMAGE_WIDTH, MediaDetails.INDEX_WIDTH); in extractExifInfo()
127 setExifData(details, exif, ExifInterface.TAG_IMAGE_LENGTH, in extractExifInfo()
129 setExifData(details, exif, ExifInterface.TAG_MAKE, MediaDetails.INDEX_MAKE); in extractExifInfo()
130 setExifData(details, exif, ExifInterface.TAG_MODEL, MediaDetails.INDEX_MODEL); in extractExifInfo()
131 setExifData(details, exif, ExifTags.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, 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()
DMtpImage.java152 MediaDetails details = super.getDetails();
154 details.addDetail(MediaDetails.INDEX_TITLE, mFileName);
155 details.addDetail(MediaDetails.INDEX_DATETIME, formater.format(new Date(mDateTaken)));
156 details.addDetail(MediaDetails.INDEX_WIDTH, mImageWidth);
157 details.addDetail(MediaDetails.INDEX_HEIGHT, mImageHeight);
158 details.addDetail(MediaDetails.INDEX_SIZE, Long.valueOf(mObjectSize));
159 return details;
DUriImage.java252 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()
DMediaObject.java127 MediaDetails details = new MediaDetails(); in getDetails() local
128 return details; in getDetails()
DMediaSet.java185 MediaDetails details = super.getDetails(); in getDetails() local
186 details.addDetail(MediaDetails.INDEX_TITLE, getName()); in getDetails()
187 return details; in getDetails()
DLocalImage.java329 MediaDetails details = super.getDetails(); in getDetails() local
330 details.addDetail(MediaDetails.INDEX_ORIENTATION, Integer.valueOf(rotation)); in getDetails()
334 MediaDetails.extractExifInfo(details, filePath); in getDetails()
336 return details; in getDetails()
DLocalVideo.java217 MediaDetails details = super.getDetails(); in getDetails() local
220 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( in getDetails()
223 return details; in getDetails()
/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.java594 final PhoneCallDetails details; in bindView() local
596 details = new PhoneCallDetails(number, formattedNumber, countryIso, geocode, in bindView()
600 details = new PhoneCallDetails(number, formattedNumber, countryIso, geocode, in bindView()
607 mCallLogViewsHelper.setPhoneCallDetails(views, details, isHighlighted); in bindView()
/packages/apps/Mms/src/com/android/mms/ui/
DMessageUtils.java173 StringBuilder details = new StringBuilder(); in getNotificationIndDetails() local
189 details.append(res.getString(R.string.message_type_label)); in getNotificationIndDetails()
190 details.append(res.getString(R.string.multimedia_notification)); in getNotificationIndDetails()
194 details.append('\n'); in getNotificationIndDetails()
195 details.append(res.getString(R.string.from_label)); in getNotificationIndDetails()
196 details.append(!TextUtils.isEmpty(from)? from: in getNotificationIndDetails()
200 details.append('\n'); in getNotificationIndDetails()
201 details.append(res.getString( in getNotificationIndDetails()
207 details.append('\n'); in getNotificationIndDetails()
208 details.append(res.getString(R.string.subject_label)); in getNotificationIndDetails()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java76 MediaDetails details = mSource.getDetails(); in reloadDetails()
77 if (details != null) { in reloadDetails()
78 if (mIndex == index && mDetails == details) return; in reloadDetails()
80 mDetails = details; in reloadDetails()
81 setDetails(details); in reloadDetails()
85 private void setDetails(MediaDetails details) { in setDetails() argument
86 mAdapter = new DetailsAdapter(details); in setDetails()
118 public DetailsAdapter(MediaDetails details) { in DetailsAdapter() argument
120 mItems = new ArrayList<String>(details.size()); in DetailsAdapter()
122 setDetails(context, details); in DetailsAdapter()
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageMeasurement.java148 public void updateDetails(StorageMeasurement meas, MeasurementDetails details); in updateDetails() argument
207 private void sendExactUpdate(MeasurementDetails details) { in sendExactUpdate() argument
215 receiver.updateDetails(this, details); in sendExactUpdate()
226 public StatsObserver(boolean isInternal, MeasurementDetails details, int currentUser, in StatsObserver() argument
229 mDetails = details; in StatsObserver()
399 final MeasurementDetails details = new MeasurementDetails(); in measureExactStorage() local
400 final Message finished = obtainMessage(MSG_COMPLETED, details); in measureExactStorage()
402 details.totalSize = mTotalSize; in measureExactStorage()
403 details.availSize = mAvailSize; in measureExactStorage()
420 details.mediaSize.put(type, size); in measureExactStorage()
[all …]
DStorageVolumePreferenceCategory.java95 final MeasurementDetails details = (MeasurementDetails) msg.obj;
96 updateDetails(details);
318 public void updateDetails(MeasurementDetails details) { in updateDetails() argument
323 mItemTotal.setSummary(formatSize(details.totalSize)); in updateDetails()
324 mItemAvailable.setSummary(formatSize(details.availSize)); in updateDetails()
328 updatePreference(mItemApps, details.appsSize); in updateDetails()
330 final long dcimSize = totalValues(details.mediaSize, Environment.DIRECTORY_DCIM, in updateDetails()
334 final long musicSize = totalValues(details.mediaSize, Environment.DIRECTORY_MUSIC, in updateDetails()
339 final long downloadsSize = totalValues(details.mediaSize, Environment.DIRECTORY_DOWNLOADS); in updateDetails()
342 updatePreference(mItemCache, details.cacheSize); in updateDetails()
[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/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastListActivity.java172 CharSequence details = CellBroadcastResources.getMessageDetails(getActivity(), cbm); in showBroadcastDetails() local
175 .setMessage(details) in showBroadcastDetails()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageDetail.java221 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()