/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageView.java | 48 import com.android.messaging.datamodel.data.DraftMessageData; 49 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftForSendTask; 50 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftTaskCallback; 51 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageDataListener; 83 DraftMessageData.DraftMessageSubscriptionDataProvider { 124 private final Binding<DraftMessageData> mBinding; 166 public void bind(final DraftMessageData data, final IComposeMessageViewHost host) { in bind() 339 ImmutableBindingRef<DraftMessageData> getDraftDataModel() { in getDraftDataModel() 390 public void onDraftChecked(DraftMessageData data, int result) { in sendMessageInternal() 471 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 | 77 import com.android.messaging.datamodel.data.DraftMessageData; 78 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageDataListener; 206 private ImmutableBindingRef<DraftMessageData> mDraftMessageDataModel; 1638 public void onDraftChanged(final DraftMessageData data, final int changeFlags) { in onDraftChanged() 1643 (DraftMessageData.WIDGET_CHANGED | DraftMessageData.ATTACHMENTS_CHANGED)) { in onDraftChanged() 1649 public void onDraftAttachmentLimitReached(final DraftMessageData data) { in onDraftAttachmentLimitReached() 1660 return DraftMessageData.ATTACHMENTS_CHANGED; in getAttachmentsClearedFlags()
|
/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 393 final BindingBase<DraftMessageData> binding) { in addPendingAttachment() 543 public boolean loadFromStorage(final BindingBase<DraftMessageData> binding, in loadFromStorage() 568 public void saveToStorage(final BindingBase<DraftMessageData> binding) { in saveToStorage() 573 private void saveToStorageInternal(final BindingBase<DraftMessageData> binding) { in saveToStorageInternal() 592 public MessageData prepareMessageForSending(final BindingBase<DraftMessageData> binding) { in prepareMessageForSending() 700 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/tests/src/com/android/messaging/ui/conversation/ |
D | ComposeMessageViewTest.java | 34 import com.android.messaging.datamodel.data.DraftMessageData; 35 import com.android.messaging.datamodel.data.DraftMessageData.CheckDraftForSendTask; 36 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 | 30 import com.android.messaging.datamodel.data.DraftMessageData; 52 @Mock protected DraftMessageData mockDraftMessageData; 87 final Binding<DraftMessageData> draftBinding = BindingBase.createBinding(this); in initNewInputManager()
|
D | ConversationFragmentTest.java | 31 import com.android.messaging.datamodel.data.DraftMessageData; 55 @Mock protected DraftMessageData mockDraftMessageData;
|
/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/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 | 44 import com.android.messaging.datamodel.data.DraftMessageData; 48 import com.android.messaging.datamodel.data.DraftMessageData.DraftMessageSubscriptionDataProvider; 169 private ImmutableBindingRef<DraftMessageData> mDraftMessageDataModel; 329 public void setDraftMessageDataModel(final BindingBase<DraftMessageData> draftBinding) { in setDraftMessageDataModel() 333 public ImmutableBindingRef<DraftMessageData> getDraftMessageDataModel() { in getDraftMessageDataModel()
|
D | MediaChooser.java | 33 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; 64 private DraftMessageData mDraftMessageData; 125 public FakeDataModel withDraftMessageData(final DraftMessageData draftMessageData) { in withDraftMessageData() 213 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 | 26 import com.android.messaging.datamodel.data.DraftMessageData; 57 @Mock protected DraftMessageData mockDraftMessageData; 133 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; 163 public DraftMessageData createDraftMessageData(String conversationId) { in createDraftMessageData() 164 return new DraftMessageData(conversationId); in createDraftMessageData()
|
D | DataModel.java | 37 import com.android.messaging.datamodel.data.DraftMessageData; 111 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; 148 public boolean onAttachmentsChanged(final DraftMessageData draftMessageData) { in onAttachmentsChanged()
|