Home
last modified time | relevance | path

Searched refs:sender (Results 1 – 25 of 42) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DNestedFolderTeaserView.java541 String sender = senderAddress.getPersonal(); in populateUnreadSenders() local
542 sender = (sender != null) ? bidiFormatter.unicodeWrap(sender) : null; in populateUnreadSenders()
545 if (!TextUtils.isEmpty(sender)) { in populateUnreadSenders()
549 if (existingSender.length() >= sender.length()) { in populateUnreadSenders()
551 sender = existingSender; in populateUnreadSenders()
554 emailtoNameMap.put(senderEmail, sender); in populateUnreadSenders()
595 String sender = null;
602 if (sender == null || priority < p.priority) {
603 sender = p.name;
609 if (sender != null) {
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java292 public void sendEventRelatedEvent(Object sender, long eventType, long eventId, long startMillis, in sendEventRelatedEvent() argument
298 sendEventRelatedEventWithExtra(sender, eventType, eventId, startMillis, endMillis, x, y, in sendEventRelatedEvent()
317 public void sendEventRelatedEventWithExtra(Object sender, long eventType, long eventId, in sendEventRelatedEventWithExtra() argument
319 sendEventRelatedEventWithExtraWithTitleWithCalendarId(sender, eventType, eventId, in sendEventRelatedEventWithExtra()
339 public void sendEventRelatedEventWithExtraWithTitleWithCalendarId(Object sender, long eventType, in sendEventRelatedEventWithExtraWithTitleWithCalendarId() argument
364 this.sendEvent(sender, info); in sendEventRelatedEventWithExtraWithTitleWithCalendarId()
376 public void sendEvent(Object sender, long eventType, Time start, Time end, long eventId, in sendEvent() argument
378 sendEvent(sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null, in sendEvent()
385 public void sendEvent(Object sender, long eventType, Time start, Time end, long eventId, in sendEvent() argument
387 sendEvent(sender, eventType, start, end, start, eventId, viewType, extraLong, query, in sendEvent()
[all …]
/packages/apps/Email/provider_src/com/android/email/mail/
DSender.java72 Sender sender = null; in findSender() local
86 sender = instantiateSender(context, className, account); in findSender()
95 return sender; in findSender()
110 Sender sender = findSender(appContext, R.xml.senders_product, account); in getInstance() local
111 if (sender == null) { in getInstance()
112 sender = findSender(appContext, R.xml.senders, account); in getInstance()
114 if (sender == null) { in getInstance()
117 return sender; in getInstance()
/packages/services/Car/service/src/com/android/car/
DCanBusErrorNotifier.java52 public void removeFailureReport(Object sender) { in removeFailureReport() argument
53 setCanBusFailure(false, sender); in removeFailureReport()
56 public void reportFailure(Object sender) { in reportFailure() argument
57 setCanBusFailure(true, sender); in reportFailure()
60 private void setCanBusFailure(boolean failed, Object sender) { in setCanBusFailure() argument
64 ? mReportedObjects.add(sender) : mReportedObjects.remove(sender); in setCanBusFailure()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationUtils.java1341 for (final String sender : senderAddressesSet) { in tagNotificationsWithPeople()
1342 if (TextUtils.isEmpty(sender)) { in tagNotificationsWithPeople()
1346 notificationBuilder.addPerson(MailTo.MAILTO_SCHEME.concat(sender)); in tagNotificationsWithPeople()
1390 for (SpannableString sender : styledSenders) { in ellipsizeStyledSenders()
1391 if (sender == null) { in ellipsizeStyledSenders()
1395 CharacterStyle[] spans = sender.getSpans(0, sender.length(), CharacterStyle.class); in ellipsizeStyledSenders()
1396 if (SendersView.sElidedString.equals(sender.toString())) { in ellipsizeStyledSenders()
1397 prevSender = sender; in ellipsizeStyledSenders()
1398 sender = copyStyles(spans, sElidedPaddingToken + sender + sElidedPaddingToken); in ellipsizeStyledSenders()
1402 prevSender = sender; in ellipsizeStyledSenders()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/widget/
DWidgetService.java477 for (SpannableString sender : parts) {
478 if (sender == null) {
482 CharacterStyle[] spans = sender.getSpans(0, sender.length(), CharacterStyle.class);
483 if (SendersView.sElidedString.equals(sender.toString())) {
484 prevSender = sender;
485 sender = copyStyles(spans, mElidedPaddingToken + sender + mElidedPaddingToken);
489 prevSender = sender;
490 sender = copyStyles(spans, mSendersSplitToken + sender);
492 prevSender = sender;
495 builder.append(sender);
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DSyncMessage.java44 private final String sender; field in SyncMessage
61 + sender in toString()
72 sender = getString(wrappedData, OmtpConstants.SENDER); in SyncMessage()
131 return sender; in getSender()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DMailPrefs.java381 public boolean getDisplayImagesFromSender(String sender) { in getDisplayImagesFromSender() argument
382 boolean displayImages = getSenderWhitelist().contains(sender); in getDisplayImagesFromSender()
390 displayImages = Pattern.compile(pattern).matcher(sender).matches(); in getDisplayImagesFromSender()
401 public void setDisplayImagesFromSender(String sender, List<Pattern> allowedPatterns) { in setDisplayImagesFromSender() argument
406 if (pattern.matcher(sender).matches()) { in setDisplayImagesFromSender()
422 if (!whitelist.contains(sender)) { in setDisplayImagesFromSender()
428 updatedList.add(sender); in setDisplayImagesFromSender()
/packages/modules/NetworkStack/tests/unit/src/android/net/util/
DPacketReaderTest.java152 final DatagramSocket sender = new DatagramSocket(); in sendPacket() local
153 sender.connect(mLocalSockName); in sendPacket()
154 sender.send(new DatagramPacket(contents, contents.length)); in sendPacket()
155 sender.close(); in sendPacket()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DMessageNotificationViewHolder.java123 Person sender = message.getSenderPerson(); in bindBody() local
124 if (sender != null) { in bindBody()
125 senderName = sender.getName(); in bindBody()
126 avatar = sender.getIcon(); in bindBody()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationItemView.java1079 for (SpannableString sender : parts) { in elideParticipants()
1081 if (sender == null) { in elideParticipants()
1088 CharacterStyle[] spans = sender.getSpans(0, sender.length(), CharacterStyle.class); in elideParticipants()
1095 if (SendersView.sElidedString.equals(sender.toString())) { in elideParticipants()
1096 sender = copyStyles(spans, sElidedPaddingToken + sender + sElidedPaddingToken); in elideParticipants()
1100 sender = copyStyles(spans, sSendersSplitToken + sender); in elideParticipants()
1104 prevSender = sender; in elideParticipants()
1110 width = (int) sPaint.measureText(sender.toString()); in elideParticipants()
1117 TextUtils.ellipsize(sender, sPaint, width, TruncateAt.END)); in elideParticipants()
1128 fragmentDisplayText = sender; in elideParticipants()
DSpamWarningView.java41 public void showSpamWarning(Message message, Address sender) { in showSpamWarning() argument
46 final String senderAddress = sender.getAddress(); in showSpamWarning()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DBugleActionToasts.java99 @Nullable final ParticipantData sender, @Nullable final MessageData message) { in onMessageReceived() argument
106 final String senderDisplayName = (sender == null) in onMessageReceived()
107 ? res.getString(R.string.unknown_sender) : sender.getDisplayName(false); in onMessageReceived()
DSyncMessageBatch.java161 final ParticipantData sender = isOutgoing ? in storeSms() local
165 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, sender)); in storeSms()
255 final ParticipantData sender = isOutgoing ? in storeMms() local
258 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, sender)); in storeMms()
DProcessDownloadedMmsAction.java358 final ParticipantData sender = ParticipantData.getFromId( in processBackgroundResponse() local
361 toastMessage.getConversationId(), sender, toastMessage); in processBackgroundResponse() local
444 final ParticipantData sender = ParticipantData.getFromRawPhoneBySimLocale(from, in processResult() local
447 BugleDatabaseOperations.getOrCreateParticipantInTransaction(db, sender); in processResult()
455 db, sender.getNormalizedDestination()); in processResult()
DReceiveMmsMessageAction.java123 final ParticipantData sender = ParticipantData .getFromId( in executeAction() local
125 BugleActionToasts.onMessageReceived(conversationId, sender, message); in executeAction()
DReceiveSmsMessageAction.java151 final ParticipantData sender = ParticipantData.getFromId(db, participantId); in executeAction() local
152 BugleActionToasts.onMessageReceived(conversationId, sender, message); in executeAction()
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCheckSettingsFragment.java434 final Sender sender = Sender.getInstance(mContext, mAccount); in doInBackground() local
435 sender.close(); in doInBackground()
436 sender.open(); in doInBackground()
437 sender.close(); in doInBackground()
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/
DFallbackAssistant.java126 Person sender = messageList.get(0).getSenderPerson(); in handleReadAction() local
127 if (sender != null) { in handleReadAction()
128 messages.add(sender.getName()); in handleReadAction()
/packages/apps/BasicSmsReceiver/tests/src/com/android/basicsmsreceiver/
DDialogSmsDisplayTests.java131 String sender = message.getOriginatingAddress(); in setUp()
133 assertEquals(mReceivedSender, sender); in setUp()
135 mReceivedSender = sender; in setUp()
/packages/apps/Dialer/java/com/android/voicemail/impl/imap/
DImapHelper.java280 String sender = fromAddresses[0].getAddress(); in getNumber() local
281 int atPos = sender.indexOf('@'); in getNumber()
284 sender = sender.substring(0, atPos); in getNumber()
286 return sender; in getNumber()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessageNotificationState.java409 String sender; in build() local
414 sender = (convInfo.mGroupConversationName.length() > in build()
419 sender = messageLineInfo.mAuthorFullName; in build()
426 sender, text, mAttachmentUri, mAttachmentType)); in build()
427 if (sender != null) { in build()
431 senders.append(sender); in build()
DBugleNotifications.java984 static CharSequence formatInboxMessage(final String sender, in formatInboxMessage() argument
994 if (!TextUtils.isEmpty(sender)) { in formatInboxMessage()
995 spannableStringBuilder.append(sender); in formatInboxMessage()
996 spannableStringBuilder.setSpan(notificationSenderSpan, 0, sender.length(), 0); in formatInboxMessage()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java47 void onChange(AccountHeaderPresenter sender); in onChange() argument
51 public void onChange(AccountHeaderPresenter sender) {
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskExecutor.java382 void setMessageSenderForTest(MessageSender sender) {
383 messageSender = sender;

12