/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageViewTest.java | 35 import com.android.messaging.datamodel.data.DraftMessageData; 36 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftForSendTask; 37 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftTaskCallback; 60 @Mock protected DraftMessageData mockDraftMessageData; 111 Matchers.<BindingBase<DraftMessageData>>any())) in testSend() 124 Mockito.<Binding<DraftMessageData>>any()); in testSend() 136 view.onDraftChanged(mockDraftMessageData, DraftMessageData.ALL_CHANGED); in testSend() 162 Matchers.<BindingBase<DraftMessageData>>any())) in testNotDefaultSms() 176 view.onDraftChanged(mockDraftMessageData, DraftMessageData.ALL_CHANGED); in testNotDefaultSms()
|
D | ConversationInputManagerTest.java | 31 import com.android.messaging.datamodel.data.DraftMessageData; 53 @Mock protected DraftMessageData mockDraftMessageData; 88 final Binding<DraftMessageData> draftBinding = BindingBase.createBinding(this); in initNewInputManager()
|
D | ConversationFragmentTest.java | 32 import com.android.messaging.datamodel.data.DraftMessageData; 55 @Mock protected DraftMessageData mockDraftMessageData;
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | DraftMessageData.java | 49 public class DraftMessageData extends BindableData implements ReadDraftDataActionListener { class 56 void onDraftChanged(DraftMessageData data, int changeFlags); in onDraftChanged() 59 void onDraftAttachmentLimitReached(DraftMessageData data); in onDraftAttachmentLimitReached() 118 public DraftMessageData(final String conversationId) { in DraftMessageData() method in DraftMessageData 405 final BindingBase<DraftMessageData> binding) { in addPendingAttachment() 555 public boolean loadFromStorage(final BindingBase<DraftMessageData> binding, in loadFromStorage() 580 public void saveToStorage(final BindingBase<DraftMessageData> binding) { in saveToStorage() 585 private void saveToStorageInternal(final BindingBase<DraftMessageData> binding) { in saveToStorageInternal() 604 public MessageData prepareMessageForSending(final BindingBase<DraftMessageData> binding) { in prepareMessageForSending() 712 final CheckDraftTaskCallback callback, final Binding<DraftMessageData> binding) { in checkDraftForAction() [all …]
|
D | PendingAttachmentData.java | 93 public void loadAttachmentForDraft(final DraftMessageData draftMessageData, in loadAttachmentForDraft()
|
/packages/apps/Messaging/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentChooserFragment.java | 37 import com.android.messaging.datamodel.data.DraftMessageData; 38 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageDataListener; 59 Binding<DraftMessageData> mBinding = BindingBase.createBinding(this); 118 public void onDraftChanged(final DraftMessageData data, final int changeFlags) { in onDraftChanged() 120 if ((changeFlags & DraftMessageData.ATTACHMENTS_CHANGED) == in onDraftChanged() 121 DraftMessageData.ATTACHMENTS_CHANGED) { in onDraftChanged() 127 public void onDraftAttachmentLimitReached(final DraftMessageData data) { in onDraftAttachmentLimitReached()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageView.java | 49 import com.android.messaging.datamodel.data.DraftMessageData; 50 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftForSendTask; 51 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftTaskCallback; 52 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageDataListener; 87 DraftMessageData.DraftMessageSubscriptionDataProvider { 128 private final Binding<DraftMessageData> mBinding; 170 public void bind(final DraftMessageData data, final IComposeMessageViewHost host) { in bind() 343 ImmutableBindingRef<DraftMessageData> getDraftDataModel() { in getDraftDataModel() 394 public void onDraftChecked(DraftMessageData data, int result) { in sendMessageInternal() 475 public void onDraftChanged(final DraftMessageData data, final int changeFlags) { in onDraftChanged() [all …]
|
D | ConversationInputManager.java | 30 import com.android.messaging.datamodel.data.DraftMessageData; 31 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageSubscriptionDataProvider; 89 private final ImmutableBindingRef<DraftMessageData> mDraftDataModel; 124 final BindingBase<DraftMessageData> draftDataModel, in ConversationInputManager()
|
D | ConversationFragment.java | 78 import com.android.messaging.datamodel.data.DraftMessageData; 79 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageDataListener; 208 private ImmutableBindingRef<DraftMessageData> mDraftMessageDataModel; 1648 public void onDraftChanged(final DraftMessageData data, final int changeFlags) { in onDraftChanged() 1653 (DraftMessageData.WIDGET_CHANGED | DraftMessageData.ATTACHMENTS_CHANGED)) { in onDraftChanged() 1659 public void onDraftAttachmentLimitReached(final DraftMessageData data) { in onDraftAttachmentLimitReached() 1670 return DraftMessageData.ATTACHMENTS_CHANGED; in getAttachmentsClearedFlags()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridView.java | 33 import com.android.messaging.datamodel.data.DraftMessageData; 36 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageDataListener; 70 private ImmutableBindingRef<DraftMessageData> mDraftMessageDataModel; 81 public void setDraftMessageDataModel(final BindingBase<DraftMessageData> dataModel) { in setDraftMessageDataModel() 184 public void onDraftChanged(final DraftMessageData data, final int changeFlags) { in onDraftChanged() 188 if ((changeFlags & DraftMessageData.ATTACHMENTS_CHANGED) == in onDraftChanged() 189 DraftMessageData.ATTACHMENTS_CHANGED) { in onDraftChanged() 195 public void onDraftAttachmentLimitReached(final DraftMessageData data) { in onDraftAttachmentLimitReached()
|
D | MediaPicker.java | 43 import com.android.messaging.datamodel.data.DraftMessageData; 47 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageSubscriptionDataProvider; 164 private ImmutableBindingRef<DraftMessageData> mDraftMessageDataModel; 316 public void setDraftMessageDataModel(final BindingBase<DraftMessageData> draftBinding) { in setDraftMessageDataModel() 320 public ImmutableBindingRef<DraftMessageData> getDraftMessageDataModel() { in getDraftMessageDataModel()
|
D | MediaChooser.java | 34 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageSubscriptionDataProvider;
|
D | AudioRecordView.java | 36 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageSubscriptionDataProvider;
|
D | CameraManager.java | 40 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageSubscriptionDataProvider;
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
D | FakeDataModel.java | 35 import com.android.messaging.datamodel.data.DraftMessageData; 62 private DraftMessageData mDraftMessageData; 118 public FakeDataModel withDraftMessageData(final DraftMessageData draftMessageData) { in withDraftMessageData() 206 public DraftMessageData createDraftMessageData(String conversationId) { in createDraftMessageData()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/ |
D | MediaPickerTest.java | 29 import com.android.messaging.datamodel.data.DraftMessageData; 39 @Mock protected DraftMessageData mMockDraftMessageData; 73 final Binding<DraftMessageData> draftBinding = BindingBase.createBinding(this); in initFragment()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/ |
D | AttachmentChooserFragmentTest.java | 27 import com.android.messaging.datamodel.data.DraftMessageData; 53 @Mock protected DraftMessageData mockDraftMessageData; 129 fragment.onDraftChanged(mockDraftMessageData, DraftMessageData.ALL_CHANGED); in loadWith()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | DataModelImpl.java | 37 import com.android.messaging.datamodel.data.DraftMessageData; 169 public DraftMessageData createDraftMessageData(String conversationId) { in createDraftMessageData() 170 return new DraftMessageData(conversationId); in createDraftMessageData()
|
D | DataModel.java | 37 import com.android.messaging.datamodel.data.DraftMessageData; 110 public abstract DraftMessageData createDraftMessageData(String conversationId); in createDraftMessageData()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreview.java | 34 import com.android.messaging.datamodel.data.DraftMessageData; 151 public boolean onAttachmentsChanged(final DraftMessageData draftMessageData) { in onAttachmentsChanged()
|