Home
last modified time | relevance | path

Searched refs:contentText (Results 1 – 12 of 12) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DHybridGroupManager.java106 CharSequence contentText = resolveText(notification.getNotification()); in bindFromNotificationWithStyle() local
107 reusableView.bind(titleText, contentText, contentView); in bindFromNotificationWithStyle()
113 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText() local
114 if (contentText == null) { in resolveText()
115 contentText = notification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in resolveText()
117 return contentText; in resolveText()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
H A DBaseTunerSetupActivity.java385 String contentText = resources.getString(contentTextId); in sendNotification() local
387 sendNotificationInternal(context, contentTitle, contentText, tunerSetupIntent); in sendNotification()
391 sendRecommendationCard(context, contentTitle, contentText, largeIcon, tunerSetupIntent); in sendNotification()
396 Context context, String contentTitle, String contentText, Intent tunerSetupIntent) { in sendNotificationInternal() argument
408 .setContentText(contentText) in sendNotificationInternal()
430 String contentText, in sendRecommendationCard() argument
439 .setContentText(contentText) in sendRecommendationCard()
440 .setContentInfo(contentText) in sendRecommendationCard()
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DCertificateMonitor.java179 final String contentText; in buildNotification() local
184 contentText = resources.getString(R.string.ssl_ca_cert_noti_managed, in buildNotification()
189 contentText = resources.getString(R.string.ssl_ca_cert_noti_managed, in buildNotification()
193 contentText = resources.getString(R.string.ssl_ca_cert_noti_by_unknown); in buildNotification()
219 .setContentText(contentText) in buildNotification()
/aosp12/packages/apps/Dialer/java/com/android/dialer/app/calllog/
H A DLegacyVoicemailNotifier.java111 String contentText; in createNotification() local
114 contentText = getNotificationText(context, handle, voicemailNumber); in createNotification()
117 contentText = context.getString(R.string.notification_voicemail_no_vm_number); in createNotification()
127 .setContentText(contentText) in createNotification()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DSbnBuilder.java136 public SbnBuilder setContentText(Context context, String contentText) { in setContentText() argument
137 modifyNotification(context).setContentText(contentText); in setContentText()
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DNotificationMgr.java623 CharSequence contentText = mContext.getText(roamingOn in showDataRoamingNotification() local
631 .setContentText(contentText) in showDataRoamingNotification()
635 new Notification.BigTextStyle(builder).bigText(contentText).build(); in showDataRoamingNotification()
703 final CharSequence contentText = TextUtils.isEmpty(line1Num) ? in showLimitedSimFunctionWarningNotification() local
713 .setContentText(contentText) in showLimitedSimFunctionWarningNotification()
719 contentText).build(); in showLimitedSimFunctionWarningNotification()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntryBuilder.java201 public NotificationEntryBuilder setContentText(Context context, String contentText) { in setContentText() argument
202 mSbnBuilder.setContentText(context, contentText); in setContentText()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerNotificationWarnings.java262 String contentText; in showWarningNotification() local
266 contentText = getHybridContentString(percentage); in showWarningNotification()
268 contentText = mContext.getString(R.string.battery_low_percent_format, percentage); in showWarningNotification()
277 .setContentText(contentText) in showWarningNotification()
281 .setStyle(new Notification.BigTextStyle().bigText(contentText)) in showWarningNotification()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/utils/
H A DMockMessageNotificationBuilder.java269 public MockMessageNotificationBuilder setContentText(String contentText) { in setContentText() argument
270 mContentText = contentText; in setContentText()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DTimerNotificationBuilder.kt377 val contentText: CharSequence = AlarmUtils.getFormattedTime(context,
379 notification.setContentText(contentText).setContentTitle(stateText)
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageInstallerService.java1281 static Notification buildSuccessNotification(Context context, String contentText, in buildSuccessNotification() argument
1306 .setContentText(contentText) in buildSuccessNotification()
1307 .setStyle(new Notification.BigTextStyle().bigText(contentText)) in buildSuccessNotification()
/aosp12/frameworks/base/core/java/android/app/
H A DNotification.java2464 CharSequence contentTitle, CharSequence contentText, Intent contentIntent) in Notification() argument
2471 .setContentText(contentText) in Notification()
3301 CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent) { in setLatestEventInfo() argument
3318 if (contentText != null) { in setLatestEventInfo()
3319 builder.setContentText(contentText); in setLatestEventInfo()
6105 CharSequence contentText = mN.extras.getCharSequence(Notification.EXTRA_TEXT); in createSummaryText() local
6106 if (titleText != null && contentText != null) { in createSummaryText()
6110 if (contentText != null) { in createSummaryText()
6111 summary.append(bidi.unicodeWrap(contentText)); in createSummaryText()