Home
last modified time | relevance | path

Searched refs:getCardHeader (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/
DHomeAudioCardPresenterTest.java62 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()
DMediaViewModelTest.java99 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()
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/assistive/
DAssistiveCardPresenterTest.java60 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()
DProjectionModelTest.java92 assertNull(mModel.getCardHeader()); in noChange_doesNotCallPresenter()
122 assertNull(mModel.getCardHeader()); in changeProjectionStatusToInactive_callsPresenter()
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/
DCardPresenterTest.java78 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()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
DCardPresenter.java35 if (model != null && model.getCardHeader() != null) { in onModelUpdated()
36 mView.updateHeaderView(model.getCardHeader()); in onModelUpdated()
DHomeCardInterface.java131 CardHeader getCardHeader(); in getCardHeader() method
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/assistive/
DAssistiveCardPresenter.java75 if (model.getCardHeader() == null) { in onModelUpdated()
80 if (candidate.getCardHeader() != null) { in onModelUpdated()
DFakeWeatherModel.java50 public CardHeader getCardHeader() { in getCardHeader() method in FakeWeatherModel
DProjectionModel.java88 public CardHeader getCardHeader() { in getCardHeader() method in ProjectionModel
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DHomeAudioCardPresenter.java89 if (model.getCardHeader() == null) { in onModelUpdated()
94 if (mMediaViewModel != null && mMediaViewModel.getCardHeader() != null) { in onModelUpdated()
DMediaViewModel.java127 public CardHeader getCardHeader() { in getCardHeader() method in MediaViewModel
DInCallModel.java159 public CardHeader getCardHeader() { in getCardHeader() method in InCallModel