/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | ConversationListPreferenceController.java | 85 abstract boolean matchesFilter(ConversationChannelWrapper conversation); in matchesFilter() argument 90 for (ConversationChannelWrapper conversation : conversations) { in populateConversations() 91 if (conversation.getNotificationChannel().isDemoted() in populateConversations() 92 || !matchesFilter(conversation)) { in populateConversations() 95 containerGroup.addPreference(createConversationPref(conversation, order++)); in populateConversations() 99 protected Preference createConversationPref(final ConversationChannelWrapper conversation, in createConversationPref() argument 104 pref.setTitle(getTitle(conversation)); in createConversationPref() 105 pref.setSummary(getSummary(conversation)); in createConversationPref() 106 pref.setIcon(mBackend.getConversationDrawable(mContext, conversation.getShortcutInfo(), in createConversationPref() 107 conversation.getPkg(), conversation.getUid(), in createConversationPref() [all …]
|
D | AppConversationListPreferenceController.java | 133 for (ConversationChannelWrapper conversation : mConversations) { in populateConversations() 134 if (conversation.getNotificationChannel().isDemoted()) { in populateConversations() 137 mPreference.addPreference(createConversationPref(conversation)); in populateConversations() 141 protected Preference createConversationPref(final ConversationChannelWrapper conversation) { in createConversationPref() argument 143 populateConversationPreference(conversation, pref); in createConversationPref() 147 protected void populateConversationPreference(final ConversationChannelWrapper conversation, in populateConversationPreference() argument 149 ShortcutInfo si = conversation.getShortcutInfo(); in populateConversationPreference() 153 : conversation.getNotificationChannel().getName()); in populateConversationPreference() 154 pref.setSummary(conversation.getNotificationChannel().getGroup() != null in populateConversationPreference() 156 conversation.getParentChannelLabel(), conversation.getGroupLabel()) in populateConversationPreference() [all …]
|
D | PriorityConversationsPreferenceController.java | 62 boolean matchesFilter(ConversationChannelWrapper conversation) { in matchesFilter() argument 63 return conversation.getNotificationChannel().isImportantConversation(); in matchesFilter()
|
D | AllConversationsPreferenceController.java | 62 boolean matchesFilter(ConversationChannelWrapper conversation) { in matchesFilter() argument 63 return !conversation.getNotificationChannel().isImportantConversation(); in matchesFilter()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ReadDraftDataAction.java | 42 final ConversationListItemData conversation); in onReadDraftDataSucceeded() argument 74 public final ConversationListItemData conversation; field in ReadDraftDataAction.DraftData 76 DraftData(final MessageData message, final ConversationListItemData conversation) { in DraftData() argument 78 this.conversation = conversation; in DraftData() 87 final ConversationListItemData conversation = in executeAction() local 90 if (conversation != null) { in executeAction() 93 conversation.getSelfId()); in executeAction() 96 message = MessageData.createDraftMessage(conversationId, conversation.getSelfId(), in executeAction() 100 + " selfId=" + conversation.getSelfId()); in executeAction() 104 + " selfId=" + conversation.getSelfId()); in executeAction() [all …]
|
D | WriteDraftMessageAction.java | 58 final ConversationListItemData conversation = in executeAction() local 60 if (conversation != null) { in executeAction() 61 final String senderAndSelf = conversation.getSelfId(); in executeAction()
|
D | InsertNewMessageAction.java | 211 final ConversationListItemData conversation = in getSelf() local 213 if (conversation != null) { in getSelf() 214 selfId = conversation.getSelfId(); in getSelf()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | AbstractConversationListActivity.java | 144 for (final SelectedConversation conversation : conversations) { in onActionBarDelete() 146 conversation.conversationId, in onActionBarDelete() 147 conversation.timestamp); in onActionBarDelete() 160 for (final SelectedConversation conversation : conversations) { in onActionBarArchive() 161 final String conversationId = conversation.conversationId; in onActionBarArchive() 195 for (final SelectedConversation conversation : conversations) { in onActionBarNotification() 197 conversation.conversationId, isNotificationOn); in onActionBarNotification() 210 public void onActionBarAddContact(final SelectedConversation conversation) { in onActionBarAddContact() argument 212 if (conversation.icon != null) { in onActionBarAddContact() 213 avatarUri = Uri.parse(conversation.icon); in onActionBarAddContact() [all …]
|
D | MultiSelectActionModeCallback.java | 42 void onActionBarAddContact(final SelectedConversation conversation); in onActionBarAddContact() argument 43 void onActionBarBlock(final SelectedConversation conversation); in onActionBarBlock() argument 173 final SelectedConversation conversation = mSelectedConversations.valueAt(0); in updateActionIconsVisiblity() local 176 final boolean isInContacts = !TextUtils.isEmpty(conversation.participantLookupKey); in updateActionIconsVisiblity() 177 mAddContactMenuItem.setVisible(!conversation.isGroup && !isInContacts); in updateActionIconsVisiblity() 179 final String otherParticipant = conversation.otherParticipantNormalizedDestination; in updateActionIconsVisiblity() 192 for (final SelectedConversation conversation : conversations) { in updateActionIconsVisiblity() 193 if (conversation.notificationEnabled) { in updateActionIconsVisiblity() 199 if (conversation.isArchived) { in updateActionIconsVisiblity()
|
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/ |
D | ConversationNotificationInfo.java | 76 @NonNull ConversationNotification conversation, @NonNull String notificationKey) { in createConversationNotificationInfo() argument 77 MessagingStyle messagingStyle = conversation.getMessagingStyle(); in createConversationNotificationInfo() 79 if (!Utils.isValidConversationNotification(conversation, /* isShallowCheck= */ true)) { in createConversationNotificationInfo() 90 if (conversation.getAppIcon() != null) { in createConversationNotificationInfo() 91 byte[] iconBytes = conversation.getAppIcon().toByteArray(); in createConversationNotificationInfo() 98 conversation.getMessagingAppDisplayName(), in createConversationNotificationInfo() 99 conversation.getMessagingAppPackageName(), in createConversationNotificationInfo()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeConversationsImagePreferenceController.java | 137 for (ConversationChannelWrapper conversation : conversations.getList()) { in loadConversations() 138 if (!conversation.getNotificationChannel().isDemoted()) { in loadConversations() 141 conversation.getShortcutInfo(), in loadConversations() 142 conversation.getPkg(), in loadConversations() 143 conversation.getUid(), in loadConversations() 144 conversation.getNotificationChannel() in loadConversations()
|
D | ZenModePriorityConversationsPreferenceController.java | 151 for (ConversationChannelWrapper conversation : allConversations.getList()) { in updateChannelCounts() 152 if (!conversation.getNotificationChannel().isDemoted()) { in updateChannelCounts() 163 for (ConversationChannelWrapper conversation : impConversations.getList()) { in updateChannelCounts() 164 if (!conversation.getNotificationChannel().isDemoted()) { in updateChannelCounts()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationActivity.java | 17 package com.android.messaging.ui.conversation; 36 import com.android.messaging.ui.conversation.ConversationActivityUiState.ConversationActivityUiStat… 37 import com.android.messaging.ui.conversation.ConversationFragment.ConversationFragmentHost; 181 final ConversationFragment conversation = getConversationFragment(); in updateActionBar() local 185 } else if (conversation != null && mUiState.shouldShowConversationFragment()) { in updateActionBar() 186 conversation.updateActionBar(actionBar); in updateActionBar()
|
D | ConversationMessageAdapter.java | 16 package com.android.messaging.ui.conversation; 29 import com.android.messaging.ui.conversation.ConversationMessageView.ConversationMessageViewHost;
|
D | ConversationSimSelector.java | 16 package com.android.messaging.ui.conversation; 26 import com.android.messaging.ui.conversation.SimSelectorView.SimSelectorViewListener;
|
/packages/apps/Car/libs/car-messenger-common/proto/ |
D | notification_msg.proto | 32 // Metadata of a new conversation (new in the history of the current 34 ConversationNotification conversation = 2; field 35 // Metadata of a new conversation received in an existing conversation. 102 // MessagingStyle metadata of this conversation. 117 // The Conversation title of this conversation. 123 // True if this is a group conversation.
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AppBubbleListPreferenceController.java | 130 public Preference createConversationPref(final ConversationChannelWrapper conversation) { 132 populateConversationPreference(conversation, pref); 135 conversation.getNotificationChannel().setAllowBubbles(DEFAULT_ALLOW_BUBBLE); 136 mBackend.updateChannel(mAppRow.pkg, mAppRow.uid, conversation.getNotificationChannel());
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ConversationActivityUiStateTest.java | 17 package com.android.messaging.ui.conversation; 24 import com.android.messaging.ui.conversation.ConversationActivityUiState; 25 import com.android.messaging.ui.conversation.ConversationActivityUiState.ConversationActivityUiStat…
|
D | ConversationMessageViewTest.java | 17 package com.android.messaging.ui.conversation; 29 import com.android.messaging.ui.conversation.ConversationMessageView; 30 import com.android.messaging.ui.conversation.ConversationMessageView.ConversationMessageViewHost;
|
D | ConversationInputManagerTest.java | 16 package com.android.messaging.ui.conversation; 32 import com.android.messaging.ui.conversation.ConversationInputManager.ConversationInputHost; 33 import com.android.messaging.ui.conversation.ConversationInputManager.ConversationInputSink;
|
D | ConversationFragmentTest.java | 17 package com.android.messaging.ui.conversation; 37 import com.android.messaging.ui.conversation.ConversationFragment.ConversationFragmentHost;
|
D | ComposeMessageViewTest.java | 17 package com.android.messaging.ui.conversation; 40 import com.android.messaging.ui.conversation.ComposeMessageView.IComposeMessageViewHost;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ConversationListItemData.java | 498 ConversationListItemData conversation = null; in getExistingConversation() local 511 conversation = new ConversationListItemData(); in getExistingConversation() 512 conversation.bind(cursor); in getExistingConversation() 520 return conversation; in getExistingConversation()
|
D | DraftMessageData.java | 611 final MessageData message, final ConversationListItemData conversation) { in onReadDraftDataSucceeded() argument 617 mIsGroupConversation = conversation.getIsGroup(); in onReadDraftDataSucceeded() 618 mIncludeEmailAddress = conversation.getIncludeEmailAddress(); in onReadDraftDataSucceeded()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeBypassingAppsPreferenceControllerTest.java | 173 NotificationChannel conversation = mock(NotificationChannel.class); in testUpdateBypassingApps_conversation() local 174 when(conversation.getConversationId()).thenReturn("conversation!"); in testUpdateBypassingApps_conversation() 175 channelsBypassing.add(conversation); in testUpdateBypassingApps_conversation()
|