/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | StatusBehavior.kt | 38 override fun bind(cws: ControlWithState, colorOffset: Int) { in <lambda>() 39 val status = cws.control?.status ?: Control.STATUS_UNKNOWN in <lambda>() 45 showNotFoundDialog(cvh, cws) in <lambda>() 48 showNotFoundDialog(cvh, cws) in <lambda>() 62 private fun showNotFoundDialog(cvh: ControlViewHolder, cws: ControlWithState) { in <lambda>() 64 val ai = pm.getApplicationInfo(cws.componentName.packageName, PackageManager.GET_META_DATA) in <lambda>() 82 cws.control?.getAppIntent()?.send(options) in <lambda>()
|
D | ControlViewHolder.kt | 105 lateinit var cws: ControlWithState variable in com.android.systemui.controls.ui.ControlViewHolder 114 get() = cws.control?.let { it.deviceType } ?: cws.ci.deviceType in <lambda>() 116 get() = cws.control?.let { it.status } ?: Control.STATUS_UNKNOWN in <lambda>() 118 get() = cws.control?.let { it.controlTemplate } ?: ControlTemplate.NO_TEMPLATE in <lambda>() 152 fun bindData(cws: ControlWithState, isLocked: Boolean) { in bindData() 158 this.cws = cws in bindData() 163 title.setText(cws.ci.controlTitle) in bindData() 164 subtitle.setText(cws.ci.controlSubtitle) in bindData() 166 cws.control?.let { in bindData() 173 cws.control?.let { in bindData() [all …]
|
D | ControlActionCoordinatorImpl.kt | 92 cvh.cws.ci.controlId, in <lambda>() 98 cvh.cws.control?.isAuthRequired ?: true /* authIsRequired */ in <lambda>() 108 cvh.cws.ci.controlId, in <lambda>() 118 cvh.cws.control?.isAuthRequired ?: true /* authIsRequired */ in <lambda>() 136 cvh.cws.ci.controlId, in <lambda>() 139 cvh.cws.control?.isAuthRequired ?: true /* authIsRequired */ in <lambda>() 148 cvh.cws.ci.controlId, in <lambda>() 152 cvh.cws.control?.let { in <lambda>() 158 cvh.cws.control?.isAuthRequired ?: true /* authIsRequired */ in <lambda>()
|
D | DefaultBehavior.kt | 26 override fun bind(cws: ControlWithState, colorOffset: Int) { in bind() 27 cvh.setStatusText(cws.control?.getStatusText() ?: "") in bind()
|
D | ToggleBehavior.kt | 43 override fun bind(cws: ControlWithState, colorOffset: Int) { in bind() 44 this.control = cws.control!! in bind()
|
D | TemperatureControlBehavior.kt | 39 override fun bind(cws: ControlWithState, colorOffset: Int) { in <lambda>() 40 this.control = cws.control!! in <lambda>()
|
D | TouchBehavior.kt | 68 override fun bind(cws: ControlWithState, colorOffset: Int) { in bind() 69 this.control = cws.control!! in bind()
|
D | Behavior.kt | 37 fun bind(cws: ControlWithState, colorOffset: Int = 0)
|
D | ThumbnailBehavior.kt | 69 override fun bind(cws: ControlWithState, colorOffset: Int) { in bind() 70 this.control = cws.control!! in bind()
|
D | ToggleRangeBehavior.kt | 122 override fun bind(cws: ControlWithState, colorOffset: Int) { in <lambda>() 123 this.control = cws.control!! in <lambda>()
|
D | ControlsUiControllerImpl.kt | 797 val cws = ControlWithState(componentName, it.ci, c) in <lambda>() constant 799 controlsById.put(key, cws) in <lambda>() 802 uiExecutor.execute { it.bindData(cws, isLocked) } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlViewHolderTest.kt | 73 val cws = ControlWithState( in setUp() constant 81 cvh.bindData(cws, isLocked = false) in setUp() 120 val cws = ControlWithState( in chevronIcon() constant 127 cvh.bindData(cws, false) in chevronIcon()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlActionCoordinatorImplTest.kt | 106 `when`(cvh.cws.ci.controlId).thenReturn(ID) in any() 107 `when`(cvh.cws.control?.isAuthRequired()).thenReturn(true) in any() 187 `when`(cvh.cws.control).thenReturn(null) in testNullControl()
|