Home
last modified time | relevance | path

Searched refs:dateView (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSectionTest.kt62 private val dateView = LinearLayout(mContext).also { it.id = sharedR.id.date_smartspace_view } in <lambda>() constant
89 whenever(lockscreenSmartspaceController.buildAndConnectDateView(any())).thenReturn(dateView) in setup()
105 assertThat(dateView.parent).isNull() in testAddViews_notSmartspaceEnabled()
113 assertThat(weatherView.parent).isEqualTo(dateView) in testAddViews_smartspaceEnabled_dateWeatherDecoupled()
114 assert(dateView.parent == constraintLayout) in testAddViews_smartspaceEnabled_dateWeatherDecoupled()
123 assert(dateView.parent == null) in testAddViews_smartspaceEnabled_notDateWeatherDecoupled()
131 assertThat(weatherView.parent).isEqualTo(dateView) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
134 assertThat(smartspaceConstraints.layout.topToBottom).isEqualTo(dateView.id) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
136 val dateConstraints = constraintSet.getConstraint(dateView.id) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
146 val dateConstraints = constraintSet.getConstraint(dateView.id) in testConstraintsWhenHasCustomWeatherDataDisplay()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSmartspaceViewBinder.kt122 val dateView = in <lambda>() constant
124 addView(dateView) in <lambda>()
139 val dateView = in <lambda>() constant
141 removeView(dateView) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt833 val dateView = controller.buildAndConnectDateView(fakeParent) in <lambda>() constant
834 dateSmartspaceView = dateView as SmartspaceView in <lambda>()
835 fakeParent.addView(dateView) in <lambda>()
836 controller.stateChangeListener.onViewAttachedToWindow(dateView) in <lambda>()