Searched refs:dataModel (Results 1 – 5 of 5) sorted by relevance
32 DataModel dataModel; field in DataModelTest39 dataModel = new DataModelImpl(getTestContext()); in setUp()41 .withDataModel(dataModel); in setUp()46 final ConversationListData list = dataModel.createConversationListData(getContext(), in testCreateConversationList()49 final ConversationData conv = dataModel.createConversationData(getContext(), in testCreateConversationList()58 dataModel.setFocusedConversation(FOCUSED_CONV_ID); in testFocusedConversationIsObservable()59 assertTrue(dataModel.isNewMessageObservable(FOCUSED_CONV_ID)); in testFocusedConversationIsObservable()60 dataModel.setFocusedConversation(null); in testFocusedConversationIsObservable()61 assertFalse(dataModel.isNewMessageObservable(FOCUSED_CONV_ID)); in testFocusedConversationIsObservable()66 dataModel.setConversationListScrolledToNewestConversation(true); in testConversationIsObservableInList()[all …]
1665 final Cp2DataCardModel dataModel = new Cp2DataCardModel(); in generateDataModelFromContact() local1666 dataModel.customAboutCardName = aboutCardName.value; in generateDataModelFromContact()1667 dataModel.aboutCardEntries = aboutCardEntries; in generateDataModelFromContact()1668 dataModel.contactCardEntries = contactCardEntries; in generateDataModelFromContact()1669 dataModel.dataItemsMap = dataItemsMap; in generateDataModelFromContact()1670 return dataModel; in generateDataModelFromContact()2208 GPlusOrHangoutsDataItemModel dataModel) { in populateGPlusOrHangoutsDataItemModel() argument2211 dataModel.secondDataItem.getId()), dataModel.secondDataItem.getMimeType()); in populateGPlusOrHangoutsDataItemModel()2216 dataModel.dataItem.getContentValues().getAsString(Data.DATA5)) || in populateGPlusOrHangoutsDataItemModel()2218 dataModel.dataItem.getContentValues().getAsString(Data.DATA5))) { in populateGPlusOrHangoutsDataItemModel()[all …]
106 final DataModel dataModel = factory.getDataModel(); in initializeSync() local119 dataModel.onApplicationCreated(); in initializeSync()
239 public FakeFactory withDataModel(final DataModel dataModel) { in withDataModel() argument240 this.mDataModel = dataModel; in withDataModel()
81 public void setDraftMessageDataModel(final BindingBase<DraftMessageData> dataModel) { in setDraftMessageDataModel() argument82 mDraftMessageDataModel = BindingBase.createBindingReference(dataModel); in setDraftMessageDataModel()