Home
last modified time | relevance | path

Searched refs:details (Results 1 – 25 of 146) 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/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageFragment.java221 private void updateDetails(StorageMeasurement.MeasurementDetails details) { in updateDetails() argument
223 final long dcimSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
227 final long musicSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
232 final long downloadsSize = totalValues(details.mediaSize.get(currentUser), in updateDetails()
235 mAvailablePref.setSize(Math.max(0L, details.availSize - cachePartitionSize())); in updateDetails()
236 mAppsUsagePref.setSize(details.appsSize.get(currentUser)); in updateDetails()
240 mCacheUsagePref.setSize(details.cacheSize); in updateDetails()
241 mMiscUsagePref.setSize(details.miscSize.get(currentUser)); in updateDetails()
273 public void onDetailsChanged(StorageMeasurement.MeasurementDetails details) { in onDetailsChanged() argument
274 updateDetails(details); in onDetailsChanged()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestCallDiagnosticService.java34 public Call.Details details; field in TestCallDiagnosticService.TestCallDiagnostics
36 TestCallDiagnostics(Call.Details details) { in TestCallDiagnostics() argument
37 this.details = details; in TestCallDiagnostics()
41 public void onCallDetailsChanged(@NonNull Call.Details details) { in onCallDetailsChanged() argument
42 Log.i(this, "onCallDetailsChanged; %s", details); in onCallDetailsChanged()
/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.java242 public void setDetails(@Nullable String details) { in setDetails() argument
244 mDetails.setText(details); in setDetails()
245 mDetails.setVisibility(TextUtils.isEmpty(details) ? View.INVISIBLE : View.VISIBLE); in setDetails()
261 String details; in setDetails() local
263 details = null; in setDetails()
265 details = songArtist; in setDetails()
267 details = songTitle; in setDetails()
269 details = songArtist + DETAILS_SEPARATOR + songTitle; in setDetails()
272 setDetails(details); in setDetails()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkNotificationManager.java207 final CharSequence details; in showNotification() local
218 details = r.getString(R.string.wifi_no_internet_detailed); in showNotification()
227 details = r.getString(R.string.private_dns_broken_detailed); in showNotification()
231 details = r.getString(R.string.network_partial_connectivity_detailed); in showNotification()
235 details = r.getString(R.string.wifi_no_internet_detailed); in showNotification()
240 details = r.getString(R.string.network_available_sign_in_detailed, name); in showNotification()
252 details = mTelephonyManager.createForSubscriptionId(subId) in showNotification()
257 details = r.getString(R.string.network_available_sign_in_detailed, name); in showNotification()
264 details = r.getString(R.string.network_switch_metered_detail, toTransport, in showNotification()
301 builder.setStyle(new Notification.BigTextStyle().bigText(details)); in showNotification()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/
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()
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()
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/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/Dialer/src/com/android/car/dialer/telecom/
DProjectionCallHandler.java101 int state, String packageName, List<ProjectionStatus> details) { in onProjectionStatusChanged() argument
103 mProjectionDetails = details; in onProjectionStatusChanged()
136 Call.Details details = call.getDetails(); in getHfpBluetoothAddressForCall() local
137 if (details == null) { in getHfpBluetoothAddressForCall()
141 PhoneAccountHandle accountHandle = details.getAccountHandle(); in getHfpBluetoothAddressForCall()
/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()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarProjectionServiceTest.java114 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_defaultState()
117 assertThat(details).isEmpty(); in updateProjectionStatus_defaultState()
136 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_subscribeAfterUpdate()
139 assertThat(details).hasSize(1); in updateProjectionStatus_subscribeAfterUpdate()
140 assertThat(details.get(0)).isEqualTo(status); in updateProjectionStatus_subscribeAfterUpdate()
141 ProjectionStatus status = details.get(0); in updateProjectionStatus_subscribeAfterUpdate()
180 String activeProjectionPackageName, List<ProjectionStatus> details) { in updateProjectionStatus_subscribeBeforeUpdate()
/packages/apps/Dialer/java/com/android/incallui/
DConferenceManagerPresenter.java72 public void onDetailsChanged(DialerCall call, android.telecom.Call.Details details) { in onDetailsChanged() argument
74 details.can(android.telecom.Call.Details.CAPABILITY_DISCONNECT_FROM_CONFERENCE); in onDetailsChanged()
76 details.can(android.telecom.Call.Details.CAPABILITY_SEPARATE_FROM_CONFERENCE); in onDetailsChanged()
85 if (!details.can(android.telecom.Call.Details.CAPABILITY_MANAGE_CONFERENCE)) { in onDetailsChanged()

123456