Home
last modified time | relevance | path

Searched refs:smartspaceView (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSection.kt53 private var smartspaceView: View? = null variable in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSection
71 smartspaceView = smartspaceController.buildAndConnectView(constraintLayout) in addViews()
75 pastVisibility = smartspaceView?.visibility ?: View.GONE in addViews()
76 constraintLayout.addView(smartspaceView) in addViews()
83 keyguardUnlockAnimationController.lockscreenSmartspace = smartspaceView in addViews()
85 smartspaceView?.let { in addViews()
93 smartspaceView?.viewTreeObserver?.addOnGlobalLayoutListener(smartspaceVisibilityListener) in addViews()
182 listOf(smartspaceView, dateWeatherView).forEach { in removeViews()
189 smartspaceView?.viewTreeObserver?.removeOnGlobalLayoutListener(smartspaceVisibilityListener) in removeViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/ui/binder/
DSmartspaceViewBinder.kt32 smartspaceView: SmartspaceView, in <lambda>()
35 val view = smartspaceView as View in <lambda>()
40 viewModel.isAwake.collect { isAwake -> smartspaceView.setScreenOn(isAwake) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaViewController.kt37 private var smartspaceView: View? = null variable
71 smartspaceView = smartspaceController.buildAndConnectView(smartspaceContainer as ViewGroup) in addSmartspaceView()
74 (smartspaceContainer as ViewGroup).addView(smartspaceView, 0, lp) in addSmartspaceView()
79 smartspaceView?.setPaddingRelative(startPadding, 0, endPadding, 0) in addSmartspaceView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DSmartspaceSectionTest.kt60 private val smartspaceView = View(mContext).also { it.id = sharedR.id.bc_smartspace_view } in <lambda>() constant in com.android.systemui.keyguard.ui.view.layout.sections.SmartspaceSectionTest
86 .thenReturn(smartspaceView) in setup()
103 assertThat(smartspaceView.parent).isNull() in testAddViews_notSmartspaceEnabled()
112 assert(smartspaceView.parent == constraintLayout) in testAddViews_smartspaceEnabled_dateWeatherDecoupled()
121 assert(smartspaceView.parent == constraintLayout) in testAddViews_smartspaceEnabled_notDateWeatherDecoupled()
133 val smartspaceConstraints = constraintSet.getConstraint(smartspaceView.id) in testConstraintsWhenNotHasCustomWeatherDataDisplay()
147 assertThat(dateConstraints.layout.bottomToTop).isEqualTo(smartspaceView.id) in testConstraintsWhenHasCustomWeatherDataDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardSmartspaceViewBinder.kt88 val smartspaceView = in <lambda>() constant
90 if (smartspaceView.visibility == View.VISIBLE) { in <lambda>()
91 addView(smartspaceView) in <lambda>()
93 removeView(smartspaceView) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt189 private lateinit var smartspaceView: SmartspaceView in <lambda>() variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest
341 controller.stateChangeListener.onViewDetachedFromWindow(smartspaceView as View) in <lambda>()
387 verify(smartspaceView).setPrimaryTextColor(anyInt()) in <lambda>()
401 verify(smartspaceView).setDozeAmount(0.7f) in <lambda>()
414 verify(smartspaceView).setKeyguardBypassEnabled(true) in <lambda>()
735 controller.stateChangeListener.onViewDetachedFromWindow(smartspaceView as View) in <lambda>()
777 smartspaceView = view as SmartspaceView in <lambda>()
780 verify(smartspaceView).setKeyguardBypassEnabled(true) in <lambda>()
860 smartspaceView = view as SmartspaceView in <lambda>()
864 verify(smartspaceView).setUiSurface(BcSmartspaceDataPlugin.UI_SURFACE_LOCK_SCREEN_AOD) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DDreamSmartspaceControllerTest.kt92 private val smartspaceView: SmartspaceView by lazy { in <lambda>() constant in com.android.systemui.smartspace.DreamSmartspaceControllerTest
144 `when`(viewComponent.getView()).thenReturn(smartspaceView) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt459 smartspaceView = ssView, in <lambda>()