Searched refs:isSwitchToEnabled (Results 1 – 7 of 7) sorted by relevance
60 isSwitchToEnabled = canSwitchUsers || (isCurrent && !isGuest), in createRecord()70 isSwitchToEnabled: Boolean, in createRecord()78 isSwitchToEnabled = isSwitchToEnabled, in createRecord()
144 item.isSwitchToEnabled ? null : getDisabledUserAvatarColorFilter()); in createUserDetailItemView()149 v.setEnabled(item.isSwitchToEnabled); in createUserDetailItemView()165 } else if (!item.isSwitchToEnabled) { in getDrawable()191 } else if (userRecord.isSwitchToEnabled) { in onClick()
42 @JvmField val isSwitchToEnabled: Boolean = false, constant in com.android.systemui.user.data.source.UserRecord
507 item.isSwitchToEnabled ? null : getDisabledUserAvatarColorFilter()); in createUserDetailItemView()512 v.setEnabled(item.isSwitchToEnabled); in createUserDetailItemView()531 if (item.isSwitchToEnabled) { in getDrawable()
842 isSwitchToEnabled = true, in <lambda>()1022 .forEach { action -> assertThat(action.isSwitchToEnabled).isFalse() } in <lambda>()1046 .forEach { action -> assertThat(action.isSwitchToEnabled).isFalse() } in <lambda>()1237 isSwitchToEnabled = true, in <lambda>()1258 isSwitchToEnabled: Boolean = false, in <lambda>()1265 assertThat(record.isSwitchToEnabled).isEqualTo(isSwitchToEnabled) in <lambda>()
1158 view.setEnabled(item.isSwitchToEnabled); in setupUserSwitcher()1172 if (item.isSwitchToEnabled) { in setupUserSwitcher()
597 isSwitchToEnabled = in <lambda>()