/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
H A D | MessageDetailsDialog.java | 105 final StringBuilder details = new StringBuilder(); 108 details.append(res.getString(R.string.message_type_label)); 109 details.append(res.getString(R.string.text_message)); 115 details.append('\n'); 116 details.append(res.getString(R.string.from_label)); 117 details.append(rawSender); 122 details.append('\n'); 123 details.append(res.getString(R.string.to_address_label)); 124 details.append(rawRecipients); 130 details 216 appendSentOrReceivedTimestamp(Resources res, StringBuilder details, ConversationMessageData data) argument 233 appendDebugInfo(StringBuilder details, ConversationMessageData data) argument [all...] |
H A D | SimSelectorItemView.java | 50 mDetailsTextView = (TextView) findViewById(R.id.details); 80 final String details = mData.displayDestination; 81 if (TextUtils.isEmpty(details)) { 85 mDetailsTextView.setText(details);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | PhoneCallDetailsHelper.java | 77 /** Fills the call details views with content. */ 78 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { argument 81 int count = details.callTypes.length; 84 views.callTypeIcons.add(details.callTypes[index]); 86 isVoicemail = details.callTypes[index] == Calls.VOICEMAIL_TYPE; 92 (details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO); 104 CharSequence callLocationAndDate = getCallLocationAndDate(details); 110 String accountLabel = mTelecomCallLogCache.getAccountLabel(details.accountHandle); 115 int color = PhoneAccountUtils.getAccountColor(mContext, details.accountHandle); 127 final CharSequence displayNumber = details 159 getCallLocationAndDate(PhoneCallDetails details) argument 184 getCallTypeOrLocation(PhoneCallDetails details) argument 213 getCallDate(PhoneCallDetails details) argument 222 setCallDetailsHeader(TextView nameView, PhoneCallDetails details) argument [all...] |
H A D | CallLogListItemHelper.java | 35 /** Helper for populating the details of a phone call. */ 44 * @param phoneCallDetailsHelper used to set the details of a phone call 61 * @param details the details of a phone call needed to fill in the data 65 PhoneCallDetails details) { 66 mPhoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); 69 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); 72 views.primaryActionView.setContentDescription(getCallDescription(details)); 76 views.nameOrNumber = getNameOrNumber(details); 116 * @param details Detail 63 setPhoneCallDetails( CallLogListItemViewHolder views, PhoneCallDetails details) argument 119 getContactBadgeDescription(PhoneCallDetails details) argument 158 getCallDescription(PhoneCallDetails details) argument 253 getNameOrNumber(PhoneCallDetails details) argument [all...] |
H A D | CallLogAsyncTaskUtil.java | 84 public void onGetCallDetails(PhoneCallDetails[] details); argument 107 PhoneCallDetails[] details = new PhoneCallDetails[numCalls]; 110 details[index] = 113 return details; 116 Log.w(TAG, "Invalid URI starting call details", e); 131 * Return the phone call details for a given call log URI. 161 PhoneCallDetails details = new PhoneCallDetails( 164 details.accountHandle = accountHandle; 165 details.contactUri = info.lookupUri; 166 details [all...] |
H A D | CallDetailHistoryAdapter.java | 38 * Adapter for a ListView containing history items from the details of a call. 118 PhoneCallDetails details = mPhoneCallDetails[position - 1]; 125 int callType = details.callTypes[0]; 126 boolean isVideoCall = (details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO 134 CharSequence dateValue = DateUtils.formatDateRange(mContext, details.date, details.date, 143 durationView.setText(formatDurationAndDataUsage(details.duration, details.dataUsage));
|
H A D | CallLogAdapter.java | 496 final PhoneCallDetails details = new PhoneCallDetails( 498 details.accountHandle = accountHandle; 499 details.callTypes = getCallTypes(c, count); 500 details.countryIso = countryIso; 501 details.date = c.getLong(CallLogQuery.DATE); 502 details.duration = c.getLong(CallLogQuery.DURATION); 503 details.features = getCallFeatures(c, count); 504 details.geocode = c.getString(CallLogQuery.GEOCODED_LOCATION); 505 details.transcription = c.getString(CallLogQuery.TRANSCRIPTION); 506 if (details [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
H A D | CallLogListItemHelperTest.java | 106 PhoneCallDetails details = getPhoneCallDetailsWithTypes(Calls.VOICEMAIL_TYPE); 107 mHelper.setPhoneCallDetails(mViewHolder, details); 112 PhoneCallDetails details = getPhoneCallDetailsWithTypes(Calls.VOICEMAIL_TYPE); 113 mHelper.setPhoneCallDetails(mViewHolder, details); 177 PhoneCallDetails details = 179 CharSequence description = mHelper.getCallDescription(details); 189 PhoneCallDetails details = 191 CharSequence description = mHelper.getCallDescription(details); 201 PhoneCallDetails details = 203 CharSequence description = mHelper.getCallDescription(details); 315 setDefaultDetails(PhoneCallDetails details) argument [all...] |
H A D | PhoneCallDetailsHelperTest.java | 169 PhoneCallDetails details = getPhoneCallDetails(); 170 details.features = Calls.FEATURES_VIDEO; 171 mHelper.setPhoneCallDetails(mViews, details); 180 PhoneCallDetails details = getPhoneCallDetails(); 181 details.features = 0; 182 mHelper.setPhoneCallDetails(mViews, details); 255 PhoneCallDetails details = getPhoneCallDetails( 259 mHelper.setCallDetailsHeader(mNameView, details); 321 /** Sets the phone call details with default values and the given number. */ 324 PhoneCallDetails details 386 setDefaultDetails(PhoneCallDetails details) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalMediaItem.java | 84 MediaDetails details = super.getDetails(); 85 details.addDetail(MediaDetails.INDEX_PATH, filePath); 86 details.addDetail(MediaDetails.INDEX_TITLE, caption); 88 details.addDetail(MediaDetails.INDEX_DATETIME, 90 details.addDetail(MediaDetails.INDEX_WIDTH, width); 91 details.addDetail(MediaDetails.INDEX_HEIGHT, height); 94 details.addDetail(MediaDetails.INDEX_LOCATION, new double[] {latitude, longitude}); 96 if (fileSize > 0) details.addDetail(MediaDetails.INDEX_SIZE, fileSize); 97 return details;
|
H A D | MediaDetails.java | 112 private static void setExifData(MediaDetails details, ExifTag tag, argument 127 details.addDetail(key, state); 129 details.addDetail(key, value); 134 public static void extractExifInfo(MediaDetails details, String filePath) { argument 145 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), 147 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), 149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), 151 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), 153 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), 155 setExifData(details, exi [all...] |
H A D | UriImage.java | 252 MediaDetails details = super.getDetails(); 254 details.addDetail(MediaDetails.INDEX_WIDTH, mWidth); 255 details.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); 258 details.addDetail(MediaDetails.INDEX_MIMETYPE, mContentType); 262 details.addDetail(MediaDetails.INDEX_PATH, filePath); 263 MediaDetails.extractExifInfo(details, filePath); 265 return details;
|
H A D | MediaObject.java | 124 MediaDetails details = new MediaDetails(); 125 return details;
|
H A D | LocalVideo.java | 219 MediaDetails details = super.getDetails(); 222 details.addDetail(MediaDetails.INDEX_DURATION, GalleryUtils.formatDuration( 225 return details;
|
H A D | MediaSet.java | 179 MediaDetails details = super.getDetails(); 180 details.addDetail(MediaDetails.INDEX_TITLE, getName()); 181 return details;
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ConfirmDeviceCredentialActivity.java | 33 public static Intent createIntent(CharSequence title, CharSequence details) { argument 38 intent.putExtra(KeyguardManager.EXTRA_DESCRIPTION, details); 42 public static Intent createIntent(CharSequence title, CharSequence details, long challenge) { argument 47 intent.putExtra(KeyguardManager.EXTRA_DESCRIPTION, details); 59 String details = intent.getStringExtra(KeyguardManager.EXTRA_DESCRIPTION); 65 details, false /* returnCredentials */, true /* isExternal */)) {
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | MediaDetails.java | 111 private static void setExifData(MediaDetails details, ExifTag tag, argument 126 details.addDetail(key, state); 128 details.addDetail(key, value); 137 public static void extractExifInfo(MediaDetails details, String filePath) { argument 147 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), 149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), 151 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), 153 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), 155 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), 157 setExifData(details, exi [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | DetailsNormal.java | 31 ContactFragment frag = (ContactFragment) findFragmentById(R.id.details);
|
H A D | HomeGroupsXLarge.java | 95 ContactFragment details = new ContactFragment(contactUri, 101 // commit is actually async, so add in details at largePane, which will be correct 104 xact.add(R.id.largePane, details); 108 xact.replace(R.id.largePane, details);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | DialogDetailsView.java | 79 MediaDetails details = mSource.getDetails(); 80 if (details != null) { 81 if (mIndex == index && mDetails == details) return; 83 mDetails = details; 84 setDetails(details); 88 private void setDetails(MediaDetails details) { argument 89 mAdapter = new DetailsAdapter(details); 127 public DetailsAdapter(MediaDetails details) { argument 129 mItems = new ArrayList<String>(details.size()); 131 setDetails(context, details); 134 setDetails(Context context, MediaDetails details) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | DetailsDialog.java | 43 * Displays details (such as Exif) of a local media item. 51 * @param mediaDetails the media details to display. 52 * @return A dialog that can be made visible to show the media details. 61 return builder.setTitle(R.string.details).setView(detailsList) 71 * An adapter for feeding a details list view with the contents of a 83 public DetailsAdapter(Context context, MediaDetails details) { argument 85 mMediaDetails = details; 86 mItems = new ArrayList<String>(details.size()); 87 setDetails(context, details); 90 private void setDetails(Context context, MediaDetails details) { argument [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | ConferenceManagerPresenter.java | 77 public void onDetailsChanged(Call call, android.telecom.Call.Details details) { argument 78 boolean canDisconnect = details.can( 80 boolean canSeparate = details.can( 90 if (!details.can(
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | CallDetailActivity.java | 69 * Displays the details of a specific call log entry. 99 public void onGetCallDetails(PhoneCallDetails[] details) { 100 if (details == null) { 110 PhoneCallDetails firstDetails = details[0]; 118 // Cache the details about the phone number. 162 new CallDetailHistoryAdapter(mContext, mInflater, mCallTypeHelper, details)); 190 * @param details The call details. 193 private CharSequence getNumberTypeOrLocation(PhoneCallDetails details) { 194 if (!TextUtils.isEmpty(details [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/ |
H A D | PersonItemView.java | 70 mDetailsTextView = (TextView) findViewById(R.id.details); 200 final String details = mBinding.getData().getDetails(); 201 if (TextUtils.isEmpty(details)) { 205 mDetailsTextView.setText(details);
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | PrivateVolumeSettings.java | 195 final PreferenceGroup details = showHeaders ? 197 addDetailItems(details, showShared, userInfo.id); 467 public void onDetailsChanged(MeasurementDetails details) { 468 updateDetails(details); 472 private void updateDetails(MeasurementDetails details) { argument 479 updatePreference(item, details.appsSize.get(userId)); 482 final long imagesSize = totalValues(details, userId, 488 final long videosSize = totalValues(details, userId, 493 final long audioSize = totalValues(details, userId, 500 updatePreference(item, details 523 totalValues(MeasurementDetails details, int userId, String... keys) argument [all...] |