Set the Thumb ColorStateList

@param stateList ColorStateList
329521
public void setThumbColor(ColorStateList stateList) {
        mThumbStateList = stateList;
        mThumbColor = mThumbStateList.getDefaultColor();

        if (mAlpha < 255) {
            mCurThumbColor = Ui.modulateColorAlpha(mThumbColor, mAlpha);
        } else {
            mCurThumbColor = mThumbColor;
        }
    }
777076
public void addStateListener(StateListener l) {
        if (mListeners == null) {
            mListeners = new ArrayList<StateListener>();
        }
        if (!mListeners.contains(l)) {
            mListeners.add(l);
        }
    }
552978
@NonNull
    public IconicsDrawable contourColor(@NonNull ColorStateList colors) {
        if (colors != null) {
            mContourBrush.setColors(colors);
            if (mContourBrush.applyState(getState())) {
                invalidateSelf();
            }
        }
        return this;
    }
994934
function(list, map, legendSize) {
            var hexColor;
            this.colorList = [];
            this.hcConfig.colors = [];
            for(i = 0; i < list.length; i++) {
                hexColor = this.colorPalette.getColor(list[i], map[list[i]], legendSize);
                this.colorList.push(hexColor);
                this.hcConfig.colors.push(this.colorUtils.addAlphaToColor(hexColor, 1.0));
            }
        }
62355
@NonNull
    public IconicsDrawable backgroundColor(@NonNull ColorStateList colors) {
        if (colors != null) {
            boolean isInvalidate = false;

            if (mRoundedCornerRx == -1) {
                mRoundedCornerRx = 0;
                isInvalidate = true;
            }
            if (mRoundedCornerRy == -1) {
                mRoundedCornerRy = 0;
                isInvalidate = true;
            }

            mBackgroundBrush.setColors(colors);
            if (mBackgroundBrush.applyState(getState())) {
                isInvalidate = true;
            }

            if (isInvalidate) {
                invalidateSelf();
            }
        }
        return this;
    }
1092784
public void setMinorTickMarkColor(final Color COLOR) {
        if (null == minorTickMarkColor) {
            _minorTickMarkColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            minorTickMarkColor.set(COLOR);
        }
    }
489494
private void setSelectionStateOfAll(State state)
    {
        Objects.requireNonNull(state, "The state may not be null");
        List<Object> allNodes = JTrees.getAllNodes(getModel());
        for (Object node : allNodes)
        {
            setSelectionState(node, state);
        }
    }
58370
public void setLifecycleHookSpecificationList(java.util.Collection<LifecycleHookSpecification> lifecycleHookSpecificationList) {
        if (lifecycleHookSpecificationList == null) {
            this.lifecycleHookSpecificationList = null;
            return;
        }

        this.lifecycleHookSpecificationList = new com.amazonaws.internal.SdkInternalList<LifecycleHookSpecification>(lifecycleHookSpecificationList);
    }
190076
public void setShowValues(Collection<PresenceState> stateValues) {
        ArrayList<String> values = new ArrayList<>(stateValues.size());

        for (PresenceState state : stateValues) {
            values.add(state.toString());
        }
        addField(SubscribeOptionFields.show_values, FormField.Type.list_multi);
        setAnswer(SubscribeOptionFields.show_values.getFieldName(), values);
    }
973983
def setCurrentState(self, state):
        
        self._currentState = state
        
        palette = self.palette()
        if state == XLineEdit.State.Normal:
            palette = QApplication.instance().palette()
        
        elif state == XLineEdit.State.Failed:
            palette.setColor(palette.Base, QColor('#ffc9bc'))
            palette.setColor(palette.Text, QColor('#aa2200'))
            palette.setColor(palette.Disabled, palette.Text, QColor('#e58570'))
        
        elif state == XLineEdit.State.Passed:
            palette.setColor(palette.Base, QColor('#d1ffd1'))
            palette.setColor(palette.Text, QColor('#00aa00'))
            palette.setColor(palette.Disabled, palette.Text, QColor('#75e575'))
        
        self._hintColor = palette.color(palette.Disabled, palette.Text)
        self.setPalette(palette)
862561
public void setPartitionInputList(java.util.Collection<PartitionInput> partitionInputList) {
        if (partitionInputList == null) {
            this.partitionInputList = null;
            return;
        }

        this.partitionInputList = new java.util.ArrayList<PartitionInput>(partitionInputList);
    }
998856
public void setTickMarkColor(final Color COLOR) {
        if (null == tickMarkColor) {
            _tickMarkColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            tickMarkColor.set(COLOR);
        }
    }
1075404
def __set_false_state(self):
        

        LOGGER.debug("> Setting variable QPushButton() to 'False' state.")

        self.__state = False

        palette = QPalette()
        palette.setColor(QPalette.Button, self.__colors[1])
        self.setPalette(palette)

        self.setChecked(False)
        self.setText(self.__labels[1])
876580
private final void setColor(ColorSet colorSet) {
        int[] rgb = ColorSet.getRGB(colorSet);
        this.red   = rgb[0] / 255.0;
        this.green = rgb[1] / 255.0;
        this.blue  = rgb[2] / 255.0;
    }
838123
public Dialog actionTextColor(ColorStateList color){
        positiveActionTextColor(color);
        negativeActionTextColor(color);
        neutralActionTextColor(color);
        return this;
    }
1178212
public void setConstantTypesClassesBlackList(final List<Class> constantTypesBlackList) {
        List<String> values = new LinkedList<String>();
        for (Class aClass : constantTypesBlackList) {
            values.add(aClass.getName());
        }
        setConstantTypesBlackList(values);
    }
766411
@SuppressWarnings({"unchecked", "unused"})
	public void setViewState(MvpViewState<View> viewState) {
		mViewStateAsView = (View) viewState;
		mViewState = (MvpViewState) viewState;
	}