Home
last modified time | relevance | path

Searched refs:weatherView (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSectionTest.kt61 private val weatherView = View(mContext).also { it.id = sharedR.id.weather_smartspace_view } in <lambda>() constant
88 .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()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DDreamSmartspaceControllerTest.kt217 val weatherView = controller.buildAndConnectWeatherView(fakeParent, customView) in testConnectOnWeatherViewCreate() constant
218 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() constant
245 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in testAddListenerInController_registersListenerForWeatherPlugin()
266 val weatherView = in testDisconnect_emitsEmptyListAndRemovesNotifier() constant
268 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in testDisconnect_emitsEmptyListAndRemovesNotifier()
272 controller.stateChangeListener.onViewDetachedFromWindow(weatherView) in testDisconnect_emitsEmptyListAndRemovesNotifier()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSection.kt54 private var weatherView: View? = null variable in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSection
72 weatherView = smartspaceController.buildAndConnectWeatherView(constraintLayout) in addViews()
81 dateWeatherView?.addView(weatherView, index) in addViews()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt846 val weatherView = controller.buildAndConnectWeatherView(fakeParent) in <lambda>() constant
847 weatherSmartspaceView = weatherView as SmartspaceView in <lambda>()
848 fakeParent.addView(weatherView) in <lambda>()
849 controller.stateChangeListener.onViewAttachedToWindow(weatherView) in <lambda>()