Searched refs:mSmartspaceController (Results 1 – 4 of 4) sorted by relevance
121 when(mSmartspaceController.isEnabled()).thenReturn(true); in testSmartspaceEnabledRemovesKeyguardStatusArea()131 when(mSmartspaceController.isEnabled()).thenReturn(true); in onLocaleListChangedRebuildsSmartspaceView()136 verify(mSmartspaceController, times(2)).buildAndConnectView(mView); in onLocaleListChangedRebuildsSmartspaceView()143 when(mSmartspaceController.isEnabled()).thenReturn(true); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()144 when(mSmartspaceController.isDateWeatherDecoupled()).thenReturn(true); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()149 verify(mSmartspaceController, times(2)).buildAndConnectDateView(mView); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()150 verify(mSmartspaceController, times(2)).buildAndConnectWeatherView(mView); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()151 verify(mSmartspaceController, times(2)).buildAndConnectView(mView); in onLocaleListChanged_rebuildsSmartspaceViews_whenDecouplingEnabled()158 when(mSmartspaceController.isEnabled()).thenReturn(false); in testSmartspaceDisabledShowsKeyguardStatusArea()170 verify(mSmartspaceController).requestSmartspaceUpdate(); in testRefresh()[all …]
83 LockscreenSmartspaceController mSmartspaceController; field in KeyguardClockSwitchControllerBaseTest168 when(mSmartspaceController.buildAndConnectDateView(any())).thenReturn(mFakeDateView); in setup()169 when(mSmartspaceController.buildAndConnectWeatherView(any())).thenReturn(mFakeWeatherView); in setup()170 when(mSmartspaceController.buildAndConnectView(any())).thenReturn(mFakeSmartspaceView); in setup()180 mSmartspaceController, in setup()
59 private DreamSmartspaceController mSmartspaceController; field in SmartSpaceComplicationTest128 verify(mSmartspaceController).addListener(listenerCaptor.capture()); in testOverlayActive_addsTargetListener()145 verify(mSmartspaceController).addListener(listenerCaptor.capture()); in testOverlayActive_targetsNonEmpty_addsComplication()167 verify(mSmartspaceController).addListener(listenerCaptor.capture()); in testOverlayActive_targetsEmpty_addsComplication()188 verify(mSmartspaceController).addListener(listenerCaptor.capture()); in testOverlayInActive_removesTargetListener_removesComplication()196 verify(mSmartspaceController).removeListener(listenerCaptor.getValue()); in testOverlayInActive_removesTargetListener_removesComplication()204 mSmartspaceController, mock(ComplicationLayoutParams.class)); in testGetView_reusesSameView()205 when(mSmartspaceController.buildAndConnectView(any())).thenReturn(mBcSmartspaceView); in testGetView_reusesSameView()213 mSmartspaceController, in getRegistrant()
91 private final LockscreenSmartspaceController mSmartspaceController; field in KeyguardClockSwitchController187 mSmartspaceController = smartspaceController; in KeyguardClockSwitchController()331 if (mSmartspaceController.isEnabled()) { in onViewAttached()340 if (mSmartspaceController.isDateWeatherDecoupled()) { in onViewAttached()384 if (mSmartspaceController.isEnabled()) { in onLocaleListChanged()387 if (mSmartspaceController.isDateWeatherDecoupled()) { in onLocaleListChanged()400 mDateWeatherView = (ViewGroup) mSmartspaceController.buildAndConnectDateView(mView); in addDateWeatherView()418 mWeatherView = mSmartspaceController.buildAndConnectWeatherView(mView); in addWeatherView()434 mSmartspaceView = mSmartspaceController.buildAndConnectView(mView); in addSmartspaceView()477 mSmartspaceController.setSplitShadeEnabled(splitShadeEnabled); in setSplitShadeEnabled()[all …]