Searched refs:weatherView (Results 1 – 4 of 4) sorted by relevance
61 private val weatherView = View(mContext).also { it.id = sharedR.id.weather_smartspace_view } in <lambda>() constant88 .thenReturn(weatherView) in setup()104 assertThat(weatherView.parent).isNull() in testAddViews_notSmartspaceEnabled()113 assertThat(weatherView.parent).isEqualTo(dateView) in testAddViews_smartspaceEnabled_dateWeatherDecoupled()122 assert(weatherView.parent == null) in testAddViews_smartspaceEnabled_notDateWeatherDecoupled()131 assertThat(weatherView.parent).isEqualTo(dateView) in testConstraintsWhenNotHasCustomWeatherDataDisplay()155 assertThat(constraintSet.getVisibility(weatherView.id)).isEqualTo(VISIBLE) in testNormalDateWeatherVisibility()159 assertThat(constraintSet.getVisibility(weatherView.id)).isEqualTo(GONE) in testNormalDateWeatherVisibility()168 assertThat(constraintSet.getVisibility(weatherView.id)).isEqualTo(GONE) in testCustomDateWeatherVisibility()
217 val weatherView = controller.buildAndConnectWeatherView(fakeParent, customView) in testConnectOnWeatherViewCreate() constant218 val weatherSmartspaceView = weatherView as SmartspaceView in testConnectOnWeatherViewCreate()219 fakeParent.addView(weatherView) in testConnectOnWeatherViewCreate()228 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in testConnectOnWeatherViewCreate()243 val weatherView = in testAddListenerInController_registersListenerForWeatherPlugin() constant245 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in testAddListenerInController_registersListenerForWeatherPlugin()266 val weatherView = in testDisconnect_emitsEmptyListAndRemovesNotifier() constant268 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in testDisconnect_emitsEmptyListAndRemovesNotifier()272 controller.stateChangeListener.onViewDetachedFromWindow(weatherView) in testDisconnect_emitsEmptyListAndRemovesNotifier()
54 private var weatherView: View? = null variable in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSection72 weatherView = smartspaceController.buildAndConnectWeatherView(constraintLayout) in addViews()81 dateWeatherView?.addView(weatherView, index) in addViews()
846 val weatherView = controller.buildAndConnectWeatherView(fakeParent) in <lambda>() constant847 weatherSmartspaceView = weatherView as SmartspaceView in <lambda>()848 fakeParent.addView(weatherView) in <lambda>()849 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in <lambda>()