Home | History | Annotate | Download | only in tiles

Lines Matching refs:state

89     protected void handleUpdateState(BooleanState state, Object arg) {
94 if (state.slash == null) {
95 state.slash = new SlashState();
99 state.value = (Boolean) arg;
101 state.value = mProfileController.isWorkModeEnabled();
104 state.icon = mIcon;
105 if (state.value) {
106 state.slash.isSlashed = false;
107 state.contentDescription = mContext.getString(
110 state.slash.isSlashed = true;
111 state.contentDescription = mContext.getString(
114 state.label = mContext.getString(R.string.quick_settings_work_mode_label);
115 state.expandedAccessibilityClassName = Switch.class.getName();
116 state.state = state.value ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE;