Searched refs:mDreamPickerController (Results 1 – 2 of 2) sorted by relevance
94 private DreamPickerController mDreamPickerController; field in DreamSettingsTest173 verify(mDreamPickerController).addCallback(mDreamPickerCallbackCaptor.capture()); in complicationsToggle_addAndRemoveActiveDreamChangeCallback()176 verify(mDreamPickerController).removeCallback(mDreamPickerCallbackCaptor.getValue()); in complicationsToggle_addAndRemoveActiveDreamChangeCallback()189 when(mDreamPickerController.getActiveDreamInfo()).thenReturn(activeDream); in complicationsToggle_showWhenDreamSupportsComplications()208 when(mDreamPickerController.getActiveDreamInfo()).thenReturn(activeDream); in complicationsToggle_hideWhenDreamDoesNotSupportComplications()227 when(mDreamPickerController.getActiveDreamInfo()).thenReturn(activeDream); in complicationsToggle_showWhenSwitchToDreamSupportsComplications()234 verify(mDreamPickerController).addCallback(mDreamPickerCallbackCaptor.capture()); in complicationsToggle_showWhenSwitchToDreamSupportsComplications()255 when(mDreamPickerController.getActiveDreamInfo()).thenReturn(activeDream); in homeControlToggle_enableWhenDreamCategoryIsDefault()274 when(mDreamPickerController.getActiveDreamInfo()).thenReturn(activeDream); in homePanelToggle_disableWhenDreamCategoryIsHomePanel()294 when(mDreamPickerController.getActiveDreamInfo()).thenReturn(activeDream); in homePanelToggle_disableWhenSwitchingFromDefaultToHomePanel()[all …]
68 private DreamPickerController mDreamPickerController; field in DreamSettings142 if (mDreamPickerController == null) { in createPreferenceControllers()143 mDreamPickerController = new DreamPickerController(context); in createPreferenceControllers()149 controllers.add(mDreamPickerController); in createPreferenceControllers()172 mDreamPickerController = dreamPickerController; in setDreamPickerController()221 if (mDreamPickerController != null) { in onCreate()222 mDreamPickerController.addCallback(mCallback); in onCreate()228 if (mDreamPickerController != null) { in onDestroy()229 mDreamPickerController.removeCallback(mCallback); in onDestroy()254 if (mDreamPickerController == null) { in updateComplicationsToggleVisibility()[all …]