Searched defs:tint (Results 1 - 25 of 64) sorted by relevance

123

/frameworks/support/v4/api21/android/support/v4/widget/
H A DCompoundButtonCompatLollipop.java25 static void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
26 button.setButtonTintList(tint);
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
H A DTintAwareDrawable.java31 void setTint(@ColorInt int tint); argument
32 void setTintList(ColorStateList tint); argument
H A DDrawableCompatBase.java34 public static void setTint(Drawable drawable, int tint) { argument
36 ((TintAwareDrawable) drawable).setTint(tint);
40 public static void setTintList(Drawable drawable, ColorStateList tint) { argument
42 ((TintAwareDrawable) drawable).setTintList(tint);
/frameworks/support/v4/donut/android/support/v4/view/
H A DTintableBackgroundView.java30 * Applies a tint to the background drawable. Does not modify the current tint
34 * mutate the drawable and apply the specified tint and tint mode.
36 * @param tint the tint to apply, may be {@code null} to clear tint
40 void setSupportBackgroundTintList(@Nullable ColorStateList tint); argument
43 * Return the tint applied to the background drawable, if specified.
45 * @return the tint applie
[all...]
/frameworks/support/v4/donut/android/support/v4/widget/
H A DCompoundButtonCompatDonut.java34 static void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
36 ((TintableCompoundButton) button).setSupportButtonTintList(tint);
H A DTintableCompoundButton.java31 * Applies a tint to the button drawable. Does not modify the current tint
36 * should automatically mutate the drawable and apply the specified tint and tint mode.
38 * @param tint the tint to apply, may be {@code null} to clear tint
40 public void setSupportButtonTintList(@Nullable ColorStateList tint); argument
43 * Returns the tint applied to the button drawable
51 * Specifies the blending mode which should be used to apply the tint specifie
[all...]
/frameworks/support/v4/tests/java/android/support/v4/graphics/
H A DTestTintAwareDrawable.java39 public void setTintList(ColorStateList tint) { argument
/frameworks/support/v4/java/android/support/v4/widget/
H A DCompoundButtonCompat.java50 void setButtonTintList(CompoundButton button, ColorStateList tint); argument
59 public void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
60 CompoundButtonCompatDonut.setButtonTintList(button, tint);
86 public void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
87 CompoundButtonCompatLollipop.setButtonTintList(button, tint);
116 * Applies a tint to the button drawable. Does not modify the current tint
120 * automatically mutate the drawable and apply the specified tint and tint
123 * @param tint th
127 setButtonTintList(@onNull CompoundButton button, @Nullable ColorStateList tint) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatCheckBox.java35 * <li>Allows dynamic tint of it background via the background tint methods in
37 * <li>Allows setting of the background tint using {@link R.attr#buttonTint} and
92 public void setSupportButtonTintList(@Nullable ColorStateList tint) { argument
94 mCompoundButtonHelper.setSupportButtonTintList(tint);
H A DAppCompatRadioButton.java35 * <li>Allows dynamic tint of it background via the background tint methods in
37 * <li>Allows setting of the background tint using {@link R.attr#buttonTint} and
92 public void setSupportButtonTintList(@Nullable ColorStateList tint) { argument
94 mCompoundButtonHelper.setSupportButtonTintList(tint);
H A DAppCompatAutoCompleteTextView.java36 * <li>Allows dynamic tint of it background via the background tint methods in
38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
116 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
118 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatBackgroundHelper.java48 ColorStateList tint = mDrawableManager.getTintList(mView.getContext(),
50 if (tint != null) {
51 setInternalBackgroundTint(tint);
70 // Update the default background tint
77 // We don't know that this drawable is, so we need to clear the default background tint
81 void setSupportBackgroundTintList(ColorStateList tint) { argument
85 mBackgroundTint.mTintList = tint;
116 // effect on any widgets using the compat tint on API 21 (EditText)
130 void setInternalBackgroundTint(ColorStateList tint) { argument
131 if (tint !
[all...]
H A DAppCompatEditText.java36 * <li>Allows dynamic tint of it background via the background tint methods in
38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
94 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
96 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatImageButton.java34 * <li>Allows dynamic tint of it background via the background tint methods in
36 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
97 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
99 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatImageView.java34 * <li>Allows dynamic tint of it background via the background tint methods in
36 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
97 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
99 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatMultiAutoCompleteTextView.java36 * <li>Allows dynamic tint of it background via the background tint methods in
38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
116 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
118 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatTextView.java36 * <li>Allows dynamic tint of it background via the background tint methods in
38 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
94 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
96 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatButton.java38 * <li>Allows dynamic tint of it background via the background tint methods in
40 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
96 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
98 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatCompoundButtonHelper.java82 void setSupportButtonTintList(ColorStateList tint) { argument
83 mButtonTintList = tint;
127 // stateful before applying the tint, so let's try again.
H A DAppCompatSeekBarHelper.java98 void setTickMarkTintList(@Nullable ColorStateList tint) { argument
99 mTickMarkTintList = tint;
135 // stateful before applying the tint, so let's try again.
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DNavigationViewActions.java146 * Sets item icon tint list on the content of the navigation view.
148 public static ViewAction setItemIconTintList(final @Nullable ColorStateList tint) { argument
157 return "Set item icon tint list";
165 navigationView.setItemIconTintList(tint);
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatLollipop.java44 public static void setTint(Drawable drawable, int tint) { argument
45 drawable.setTint(tint);
48 public static void setTintList(Drawable drawable, ColorStateList tint) { argument
49 drawable.setTintList(tint);
H A DDrawableWrapperLollipop.java63 public void setTintList(ColorStateList tint) { argument
65 super.setTintList(tint);
67 mDrawable.setTintList(tint);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java182 public void setTintList(ColorStateList tint) { argument
183 mColorState.mTint = tint;
184 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode);
/frameworks/support/design/base/android/support/design/widget/
H A DCircularBorderDrawable.java125 void setBorderTint(ColorStateList tint) { argument
126 if (tint != null) {
127 mCurrentBorderTintColor = tint.getColorForState(getState(), mCurrentBorderTintColor);
129 mBorderTint = tint;

Completed in 573 milliseconds

123