Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
H A DCustomTileTest.kt242 val tileState = tile.state regex
244 assertEquals(state, tileState.state)
245 assertEquals(label, tileState.label)
246 assertEquals(subtitle, tileState.secondaryLabel)
247 assertEquals(contentDescription, tileState.contentDescription)
248 assertEquals(stateDescription, tileState.stateDescription)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileViewImpl.kt132 private var tileState = false regex
380 if (tileState) R.string.switch_bar_on else R.string.switch_bar_off)
385 info.isChecked = tileState
402 sb.append(", tileState=$tileState")
446 if (tileState != newState) {
447 tileState = newState
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTile.java392 int tileState = mTile.getState(); in handleUpdateState() local
394 tileState = Tile.STATE_UNAVAILABLE; in handleUpdateState()
396 state.state = tileState; in handleUpdateState()