Lines Matching refs:message
56 mMessageView = (TextView) findViewById(R.id.message);
61 * @param message the message contents to bind
63 public void bind(CellBroadcastMessage message) {
64 mCbMessage = message;
66 Drawable background = message.isRead() ?
72 mChannelView.setText(CellBroadcastResources.getDialogTitleResource(message));
73 mDateView.setText(message.getDateString(getContext()));
74 mMessageView.setText(formatMessage(message));
77 private static CharSequence formatMessage(CellBroadcastMessage message) {
78 String body = message.getMessageBody();
83 if (!message.isRead()) {
92 // Speak the date first, then channel name, then message body