Home
last modified time | relevance | path

Searched refs:mDreamPickerController (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/
DDreamSettingsTest.java94 private DreamPickerController mDreamPickerController; field in DreamSettingsTest
173 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 …]
/packages/apps/Settings/src/com/android/settings/dream/
DDreamSettings.java68 private DreamPickerController mDreamPickerController; field in DreamSettings
142 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 …]