Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DHybridGroupManager.java121 final CharSequence contentText = resolveText(notification.getNotification()); in updateReusableView() local
123 reusableView.bind(titleText, contentText, contentView); in updateReusableView()
129 CharSequence contentText = notification.extras.getCharSequence(Notification.EXTRA_TEXT); in resolveText() local
130 if (contentText == null) { in resolveText()
131 contentText = notification.extras.getCharSequence(Notification.EXTRA_BIG_TEXT); in resolveText()
133 return contentText; in resolveText()
DSingleLineViewInflater.kt67 var contentText = HybridGroupManager.resolveText(notification) in inflateSingleLineViewModel() variable
72 contentText = contentText, in inflateSingleLineViewModel()
84 contentText = conversationTextData.conversationText in inflateSingleLineViewModel()
105 contentText = contentText, in inflateSingleLineViewModel()
DHybridConversationNotificationView.java279 CharSequence contentText, in setText() argument
291 super.bind(/* title = */ titleText, /* text = */ contentText, /* contentView = */ null); in setText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestSessionNotification.java66 String contentText; in createPersistentNotification() local
68 contentText = mContext.getString( in createPersistentNotification()
71 contentText = mContext.getString( in createPersistentNotification()
74 contentText = mContext.getString( in createPersistentNotification()
98 .setContentText(contentText) in createPersistentNotification()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java178 final String contentText; in buildNotification() local
183 contentText = resources.getString(R.string.ssl_ca_cert_noti_managed, in buildNotification()
188 contentText = resources.getString(R.string.ssl_ca_cert_noti_managed, in buildNotification()
192 contentText = resources.getString(R.string.ssl_ca_cert_noti_by_unknown); in buildNotification()
223 .setContentText(contentText) in buildNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewInflaterTest.kt120 assertEquals(LAST_MESSAGE, singleLineViewModel.contentText) in <lambda>()
146 assertEquals(LAST_MESSAGE, singleLineViewModel.contentText) in <lambda>()
167 assertEquals(LAST_MESSAGE, singleLineViewModel.contentText) in <lambda>()
191 assertEquals(LAST_MESSAGE, singleLineViewModel.contentText) in <lambda>()
220 assertEquals(LAST_MESSAGE, singleLineViewModel.contentText) in <lambda>()
250 assertEquals(LAST_MESSAGE, singleLineViewModel.contentText) in <lambda>()
DSingleLineViewBinderTest.kt83 Assert.assertEquals(viewModel.contentText, viewHolder?.textView?.text) in bindNonConversationSingleLineView()
DSingleLineConversationViewBinderTest.kt102 assertEquals(viewModel.contentText, viewHolder.textView.text) in bindGroupConversationSingleLineView()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/
DSnackBar.kt48 contentText: String, in Snackbar()
78 SnackbarContentText(contentText, modifier = Modifier.padding( in Snackbar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ui/viewbinder/
DSingleLineViewBinder.kt29 /* text = */ viewModel?.contentText, in bind()
DSingleLineConversationViewBinder.kt36 viewModel.contentText, in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ui/viewmodel/
DSingleLineViewModel.kt33 var contentText: CharSequence?, variable in com.android.systemui.statusbar.notification.row.ui.viewmodel.SingleLineViewModel
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DSbnBuilder.java136 public SbnBuilder setContentText(Context context, String contentText) { in setContentText() argument
137 modifyNotification(context).setContentText(contentText); in setContentText()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryBuilder.java241 public NotificationEntryBuilder setContentText(Context context, String contentText) { in setContentText() argument
242 mSbnBuilder.setContentText(context, contentText); in setContentText()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
DCredentialSelectorActivity.kt226 contentText = stringResource(R.string.request_cancelled_by, appDisplayName), in UiCancellationScreen()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DAutoDataSwitchController.java1123 CharSequence contentText = mContext.getText(
1128 .setContentText(contentText)
1134 .setStyle(new Notification.BigTextStyle().bigText(contentText))
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java305 final String contentText = mContext.getString( in showWarningNotification() local
314 .setContentText(contentText) in showWarningNotification()
318 .setStyle(new Notification.BigTextStyle().bigText(contentText)) in showWarningNotification()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/
DGetCredentialComponents.kt985 contentText = stringResource(R.string.get_dialog_use_saved_passkey_for), in RemoteCredentialSnackBarScreen()
1005 contentText = stringResource(R.string.no_sign_in_info_in, lastLocked.providerDisplayName), in EmptyAuthEntrySnackBarScreen()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java1964 static Notification buildSuccessNotification(Context context, String contentText,
1989 .setContentText(contentText)
1990 .setStyle(new Notification.BigTextStyle().bigText(contentText))
/frameworks/base/core/java/android/app/
DNotification.java2618 CharSequence contentTitle, CharSequence contentText, Intent contentIntent) in Notification() argument
2629 .setContentText(contentText) in Notification()
3713 CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent) { in setLatestEventInfo() argument
3730 if (contentText != null) { in setLatestEventInfo()
3731 builder.setContentText(contentText); in setLatestEventInfo()
6845 CharSequence contentText = mN.extras.getCharSequence(Notification.EXTRA_TEXT); in createSummaryText() local
6846 if (titleText != null && contentText != null) { in createSummaryText()
6850 if (contentText != null) { in createSummaryText()
6851 summary.append(bidi.unicodeWrap(contentText)); in createSummaryText()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DSensorPrivacyService.java702 Spanned contentText = Html.fromHtml(getUiContext().getString( in showSensorUseReminderNotification() local
727 .setContentText(contentText) in showSensorUseReminderNotification()