Home
last modified time | relevance | path

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

123456

/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DMessageDetailsDialog.java105 final StringBuilder details = new StringBuilder(); in getSmsMessageDetails() local
108 details.append(res.getString(R.string.message_type_label)); in getSmsMessageDetails()
109 details.append(res.getString(R.string.text_message)); in getSmsMessageDetails()
115 details.append('\n'); in getSmsMessageDetails()
116 details.append(res.getString(R.string.from_label)); in getSmsMessageDetails()
117 details.append(rawSender); in getSmsMessageDetails()
122 details.append('\n'); in getSmsMessageDetails()
123 details.append(res.getString(R.string.to_address_label)); in getSmsMessageDetails()
124 details.append(rawRecipients); in getSmsMessageDetails()
130 details.append('\n'); in getSmsMessageDetails()
[all …]
DSimSelectorItemView.java50 mDetailsTextView = (TextView) findViewById(R.id.details); in onFinishInflate()
80 final String details = mData.displayDestination; in updateViewAppearance() local
81 if (TextUtils.isEmpty(details)) { in updateViewAppearance()
85 mDetailsTextView.setText(details); in updateViewAppearance()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java133 private boolean shouldShowLocation(PhoneCallDetails details) { in shouldShowLocation() argument
134 if (TextUtils.isEmpty(details.geocode)) { in shouldShowLocation()
138 if (details.sourceType == ContactSource.Type.SOURCE_TYPE_CEQUINT_CALLER_ID) { in shouldShowLocation()
142 && cachedNumberLookupService.isBusiness(details.sourceType)) { in shouldShowLocation()
147 if (!TextUtils.isEmpty(details.namePrimary)) { in shouldShowLocation()
154 public void setPhoneCallDetails(PhoneCallDetailsViews views, PhoneCallDetails details) { in setPhoneCallDetails() argument
157 int count = details.callTypes.length; in setPhoneCallDetails()
160 views.callTypeIcons.add(details.callTypes[index]); in setPhoneCallDetails()
162 isVoicemail = details.callTypes[index] == Calls.VOICEMAIL_TYPE; in setPhoneCallDetails()
168 (details.features & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO); in setPhoneCallDetails()
[all …]
DCallLogListItemHelper.java63 public void updatePhoneCallDetails(PhoneCallDetails details) { in updatePhoneCallDetails() argument
65 details.callLocationAndDate = phoneCallDetailsHelper.getCallLocationAndDate(details); in updatePhoneCallDetails()
66 details.callDescription = getCallDescription(details); in updatePhoneCallDetails()
75 public void setPhoneCallDetails(CallLogListItemViewHolder views, PhoneCallDetails details) { in setPhoneCallDetails() argument
76 phoneCallDetailsHelper.setPhoneCallDetails(views.phoneCallDetailsViews, details); in setPhoneCallDetails()
79 views.quickContactView.setContentDescription(getContactBadgeDescription(details)); in setPhoneCallDetails()
82 views.primaryActionView.setContentDescription(details.callDescription); in setPhoneCallDetails()
86 views.nameOrNumber = getNameOrNumber(details); in setPhoneCallDetails()
90 views.callTypeOrLocation = phoneCallDetailsHelper.getCallTypeOrLocation(details); in setPhoneCallDetails()
93 views.countryIso = details.countryIso; in setPhoneCallDetails()
[all …]
DCallLogAdapter.java818 PhoneCallDetails details = createPhoneCallDetails(c, groupSize, views); in bindCallLogListViewHolder() local
830 loadAndRender(views, views.rowId, details, callDetailsEntries); in bindCallLogListViewHolder()
866 final PhoneCallDetails details, in loadAndRender() argument
887 details.isBlocked = viewHolder.blockId != null; in loadAndRender()
896 details.hasIncomingCalls() in loadAndRender()
900 details.isSpam = viewHolder.isSpam; in loadAndRender()
902 return !isCancelled() && loadData(viewHolder, rowId, details); in loadAndRender()
911 if (currentDayGroup != details.previousGroup) { in loadAndRender()
917 render(viewHolder, details, rowId); in loadAndRender()
957 final PhoneCallDetails details = in createPhoneCallDetails() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMediaDetails.java112 private static void setExifData(MediaDetails details, ExifTag tag, in setExifData() argument
127 details.addDetail(key, state); in setExifData()
129 details.addDetail(key, value); in setExifData()
134 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo() argument
145 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), in extractExifInfo()
147 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), in extractExifInfo()
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), in extractExifInfo()
151 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), in extractExifInfo()
153 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), in extractExifInfo()
155 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE), 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()
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()
/packages/apps/Camera2/src/com/android/camera/data/
DMediaDetails.java111 private static void setExifData(MediaDetails details, ExifTag tag, in setExifData() argument
126 details.addDetail(key, state); in setExifData()
128 details.addDetail(key, value); in setExifData()
137 public static void extractExifInfo(MediaDetails details, String filePath) { in extractExifInfo() argument
147 setExifData(details, exif.getTag(ExifInterface.TAG_FLASH), in extractExifInfo()
149 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_WIDTH), in extractExifInfo()
151 setExifData(details, exif.getTag(ExifInterface.TAG_IMAGE_LENGTH), in extractExifInfo()
153 setExifData(details, exif.getTag(ExifInterface.TAG_MAKE), in extractExifInfo()
155 setExifData(details, exif.getTag(ExifInterface.TAG_MODEL), in extractExifInfo()
157 setExifData(details, exif.getTag(ExifInterface.TAG_APERTURE_VALUE), in extractExifInfo()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java79 MediaDetails details = mSource.getDetails(); in reloadDetails()
80 if (details != null) { in reloadDetails()
81 if (mIndex == index && mDetails == details) return; in reloadDetails()
83 mDetails = details; in reloadDetails()
84 setDetails(details); in reloadDetails()
88 private void setDetails(MediaDetails details) { in setDetails() argument
89 mAdapter = new DetailsAdapter(details); in setDetails()
127 public DetailsAdapter(MediaDetails details) { in DetailsAdapter() argument
129 mItems = new ArrayList<String>(details.size()); in DetailsAdapter()
131 setDetails(context, details); in DetailsAdapter()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DKeyInputHandler.java51 public boolean onKey(@Nullable DocumentItemDetails details, int keyCode, KeyEvent event) { in onKey() argument
64 if (details != null) { in onKey()
65 int itemType = details.getItemViewType(); in onKey()
73 if (mCallbacks.onFocusItem(details, keyCode, event)) { in onKey()
77 if (shouldExtendSelection(details, event)) { in onKey()
80 mSelectionHelper.startRange(details.getPosition()); in onKey()
82 mSelectionHelper.extendRange(details.getPosition()); in onKey()
95 return mCallbacks.onItemActivated(details, event); in onKey()
109 public abstract boolean onFocusItem(T details, int keyCode, KeyEvent event); in onFocusItem() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeSettings.java228 final PreferenceGroup details = showHeaders ? in update() local
230 addDetailItems(details, showShared, userInfo.id); in update()
552 public void onDetailsChanged(MeasurementDetails details) {
553 updateDetails(details);
557 private void updateDetails(MeasurementDetails details) { in updateDetails() argument
580 updatePreference(item, details.appsSize.get(userId)); in updateDetails()
581 accountedSize += details.appsSize.get(userId); in updateDetails()
582 if (LOGV) Log.v(TAG, "appsSize: " + details.appsSize.get(userId) in updateDetails()
586 final long imagesSize = totalValues(details, userId, in updateDetails()
594 final long videosSize = totalValues(details, userId, in updateDetails()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java205 private void updateDetails(StorageMeasurement.MeasurementDetails details) { in updateDetails() argument
207 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
211 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
216 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
219 mAvailablePref.setSize(details.availSize); in updateDetails()
220 mAppsUsagePref.setSize(details.appsSize.get(currentUser)); in updateDetails()
224 mCacheUsagePref.setSize(details.cacheSize); in updateDetails()
225 mMiscUsagePref.setSize(details.miscSize.get(currentUser)); in updateDetails()
247 public void onDetailsChanged(StorageMeasurement.MeasurementDetails details) { in onDetailsChanged() argument
248 updateDetails(details); in onDetailsChanged()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeSettings.java228 final PreferenceGroup details = showHeaders ? in update() local
230 addDetailItems(details, showShared, userInfo.id); in update()
538 public void onDetailsChanged(MeasurementDetails details) {
539 updateDetails(details);
543 private void updateDetails(MeasurementDetails details) { in updateDetails() argument
565 updatePreference(item, details.appsSize.get(userId)); in updateDetails()
566 accountedSize += details.appsSize.get(userId); in updateDetails()
567 if (LOGV) Log.v(TAG, "appsSize: " + details.appsSize.get(userId) in updateDetails()
570 final long imagesSize = totalValues(details, userId, in updateDetails()
577 final long videosSize = totalValues(details, userId, in updateDetails()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DDetailsDialog.java61 return builder.setTitle(R.string.details).setView(detailsList) in create()
83 public DetailsAdapter(Context context, MediaDetails details) {
85 mMediaDetails = details;
86 mItems = new ArrayList<String>(details.size());
87 setDetails(context, details);
90 private void setDetails(Context context, MediaDetails details) {
93 for (Entry<Integer, Object> detail : details) {
187 if (details.hasUnit(key)) {
189 context, key), value, context.getString(details.getUnit(key)));
238 R.layout.details, parent, false);
/packages/apps/Car/Radio/src/com/android/car/radio/
DDisplayController.java247 public void setDetails(@Nullable String details) { in setDetails() argument
249 mDetails.setText(details); in setDetails()
250 mDetails.setVisibility(TextUtils.isEmpty(details) ? View.INVISIBLE : View.VISIBLE); in setDetails()
266 String details; in setDetails() local
268 details = null; in setDetails()
270 details = songArtist; in setDetails()
272 details = songTitle; in setDetails()
274 details = songArtist + DETAILS_SEPARATOR + songTitle; in setDetails()
277 setDetails(details); in setDetails()
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/
DReportDetails.java65 final ReportDetails details = new ReportDetails(); in parseIncidentReport() local
74 return details; in parseIncidentReport()
81 parseImages(details.mImages, incident, context.getResources()); in parseIncidentReport()
82 parseReasons(details.mReasons, incident); in parseIncidentReport()
90 return details; in parseIncidentReport()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordedProgramPresenter.java119 DetailsContent details = DetailsContent.createFromRecordedProgram(mContext, program); in onBindDvrItemViewHolder() local
121 mShowEpisodeTitle ? program.getEpisodeDisplayTitle(mContext) : details.getTitle()); in onBindDvrItemViewHolder()
122 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder()
124 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
DScheduledRecordingPresenter.java119 DetailsContent details = DetailsContent.createFromScheduledRecording(mContext, recording); in onBindDvrItemViewHolder() local
120 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder()
121 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder()
129 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
DSeriesRecordingPresenter.java208 DetailsContent details = DetailsContent.createFromSeriesRecording(mContext, series); in onBindDvrItemViewHolder() local
209 cardView.setTitle(details.getTitle()); in onBindDvrItemViewHolder()
210 cardView.setImageUri(details.getLogoImageUri(), details.isUsingChannelLogo()); in onBindDvrItemViewHolder()
211 cardView.setDetailBackgroundImageUri(details.getBackgroundImageUri()); in onBindDvrItemViewHolder()
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/
DProjectionCallHandler.java76 int state, String packageName, List<ProjectionStatus> details) { in onProjectionStatusChanged() argument
78 mProjectionDetails = details; in onProjectionStatusChanged()
111 Call.Details details = call.getDetails(); in getHfpBluetoothAddressForCall() local
112 if (details == null) { in getHfpBluetoothAddressForCall()
116 PhoneAccountHandle accountHandle = details.getAccountHandle(); in getHfpBluetoothAddressForCall()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastResourcesTest.java59 CharSequence details = CellBroadcastResources.getMessageDetails(mContext, true, in testGetMessageDetails() local
62 assertNotNull(details); in testGetMessageDetails()
71 CharSequence details = CellBroadcastResources.getMessageDetails(mContext, true, in testGetMessageDetailsCmasMessage() local
74 assertNotNull(details); in testGetMessageDetailsCmasMessage()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DProjectionContextualInfoLiveData.java45 int state, @Nullable String packageName, @NonNull List<ProjectionStatus> details) { in onProjectionStatusChanged() argument
68 getStatusMessage(packageName, details), in onProjectionStatusChanged()
75 String packageName, List<ProjectionStatus> details) { in getStatusMessage() argument
76 for (ProjectionStatus status : details) { in getStatusMessage()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java120 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_defaultState()
123 assertThat(details).isEmpty(); in updateProjectionStatus_defaultState()
142 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_subscribeAfterUpdate()
145 assertThat(details).hasSize(1); in updateProjectionStatus_subscribeAfterUpdate()
146 assertThat(details.get(0)).isEqualTo(status); in updateProjectionStatus_subscribeAfterUpdate()
147 ProjectionStatus status = details.get(0); in updateProjectionStatus_subscribeAfterUpdate()
186 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_subscribeBeforeUpdate()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DInspectorBot.java82 DetailsView details = (DetailsView) activity.findViewById(R.id.inspector_details_view); in isRowPresent() local
83 Map<String, String> rows = getTableRows(details); in isRowPresent()
89 DetailsView details = (DetailsView) activity.findViewById(R.id.inspector_details_view); in isRowEquals() local
90 Map<String, String> rows = getTableRows(details); in isRowEquals()

123456