Searched refs:getCardHeader (Results 1 – 13 of 13) sorted by relevance
62 when(mModel.getCardHeader()).thenReturn(CARD_HEADER); in setUp()80 when(mOtherModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullDifferentModel_doesNotUpdate()98 when(mModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullSameModel_updatesFragment()107 when(mModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullModelAndNullCurrentModel_updatesFragment()
99 assertNull(mMediaViewModel.getCardHeader()); in noChange_doesNotCallPresenter()119 CardHeader header = mMediaViewModel.getCardHeader(); in changeSourceAndMetadata_updatesModel()136 CardHeader header = mMediaViewModel.getCardHeader(); in changeSourceOnly_updatesModel()153 assertNull(mMediaViewModel.getCardHeader()); in changeMetadataOnly_doesNotCallPresenter()
60 when(mModel.getCardHeader()).thenReturn(CARD_HEADER); in setUp()78 when(mOtherModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullDifferentModel_doesNotUpdate()96 when(mModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullSameModel_updatesFragment()105 when(mModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullModelAndNullCurrentModel_doesNotUpdate()
92 assertNull(mModel.getCardHeader()); in noChange_doesNotCallPresenter()122 assertNull(mModel.getCardHeader()); in changeProjectionStatusToInactive_callsPresenter()
78 when(mModel.getCardHeader()).thenReturn(CARD_HEADER); in onModelUpdated_validModel_updatesFragment()89 when(mModel.getCardHeader()).thenReturn(CARD_HEADER); in onModelUpdated_validHeaderNullContent_showsHeaderOnly()100 when(mModel.getCardHeader()).thenReturn(null); in onModelUpdated_nullHeaderValidContent_hidesFragment()
35 if (model != null && model.getCardHeader() != null) { in onModelUpdated()36 mView.updateHeaderView(model.getCardHeader()); in onModelUpdated()
131 CardHeader getCardHeader(); in getCardHeader() method
75 if (model.getCardHeader() == null) { in onModelUpdated()80 if (candidate.getCardHeader() != null) { in onModelUpdated()
50 public CardHeader getCardHeader() { in getCardHeader() method in FakeWeatherModel
88 public CardHeader getCardHeader() { in getCardHeader() method in ProjectionModel
89 if (model.getCardHeader() == null) { in onModelUpdated()94 if (mMediaViewModel != null && mMediaViewModel.getCardHeader() != null) { in onModelUpdated()
127 public CardHeader getCardHeader() { in getCardHeader() method in MediaViewModel
159 public CardHeader getCardHeader() { in getCardHeader() method in InCallModel