Searched refs:tint (Results 1 - 25 of 72) sorted by relevance

123

/frameworks/support/compat/api21/android/support/v4/widget/
H A DCompoundButtonCompatLollipop.java25 static void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
26 button.setButtonTintList(tint);
/frameworks/support/compat/gingerbread/android/support/v4/graphics/drawable/
H A DTintAwareDrawable.java35 void setTint(@ColorInt int tint); argument
36 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/compat/gingerbread/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/compat/java/android/support/v4/widget/
H A DCompoundButtonCompat.java48 void setButtonTintList(CompoundButton button, ColorStateList tint); argument
57 public void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
58 CompoundButtonCompatGingerbread.setButtonTintList(button, tint);
84 public void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
85 CompoundButtonCompatLollipop.setButtonTintList(button, tint);
114 * Applies a tint to the button drawable. Does not modify the current tint
118 * automatically mutate the drawable and apply the specified tint and tint
121 * @param tint th
125 setButtonTintList(@onNull CompoundButton button, @Nullable ColorStateList tint) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatBackgroundHelper.java52 ColorStateList tint = mDrawableManager
54 if (tint != null) {
55 setInternalBackgroundTint(tint);
75 // Update the default background tint
87 // We don't know that this drawable is, so we need to clear the default background tint
95 void setSupportBackgroundTintList(ColorStateList tint) { argument
100 // Store the original tint and null out the applicable tint. updateBackgroundTint() will
101 // set mTintList to the tint to actually use
102 mBackgroundTint.mOriginalTintList = tint;
176 setInternalBackgroundTint(ColorStateList tint) argument
[all...]
H A DAppCompatDrawableManager.java264 // First mutate the Drawable, then wrap it and set the tint list
298 // If we didn't tint using a ColorFilter, and we're set to fail if we don't
534 ColorStateList tint = useCache ? getTintListFromCache(context, resId) : null;
536 if (tint == null) {
539 tint = getColorStateList(context, R.color.abc_tint_edittext);
541 tint = getColorStateList(context, R.color.abc_tint_switch_track);
543 tint = getColorStateList(context, R.color.abc_tint_switch_thumb);
545 tint = createDefaultButtonColorStateList(context, customTint);
547 tint = createBorderlessButtonColorStateList(context, customTint);
549 tint
609 createButtonColorStateList(@onNull final Context context, @ColorInt final int baseColor, final @Nullable ColorStateList tint) argument
663 tintDrawable(Drawable drawable, TintInfo tint, int[] state) argument
686 createTintFilter(ColorStateList tint, PorterDuff.Mode tintMode, final int[] state) argument
[all...]
H A DAppCompatCheckBox.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#buttonTint} and
92 public void setSupportButtonTintList(@Nullable ColorStateList tint) { argument
94 mCompoundButtonHelper.setSupportButtonTintList(tint);
H A DAppCompatCompoundButtonHelper.java81 void setSupportButtonTintList(ColorStateList tint) { argument
82 mButtonTintList = tint;
126 // stateful before applying the tint, so let's try again.
H A DAppCompatEditText.java39 * <li>Allows dynamic tint of it background via the background tint methods in
41 * <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 DAppCompatImageButton.java37 * <li>Allows dynamic tint of it background via the background tint methods in
39 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
99 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
101 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
H A DAppCompatImageView.java37 * <li>Allows dynamic tint of it background via the background tint methods in
39 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and
108 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument
110 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
/frameworks/support/compat/gingerbread/android/support/v4/widget/
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...]
H A DCompoundButtonCompatGingerbread.java34 static void setButtonTintList(CompoundButton button, ColorStateList tint) { argument
36 ((TintableCompoundButton) button).setSupportButtonTintList(tint);
/frameworks/support/compat/tests/java/android/support/v4/graphics/
H A DTestTintAwareDrawable.java36 public void setTintList(ColorStateList tint) { argument
H A DDrawableCompatTest.java124 // Assert that the tint aware drawable was not wrapped
132 final ColorStateList tint = ColorStateList.valueOf(Color.BLACK);
135 // Now set the tint list and mode using DrawableCompat
136 DrawableCompat.setTintList(d, tint);
140 verify(d).setTintList(tint);
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
H A DDrawableCompatLollipop.java47 public static void setTint(Drawable drawable, int tint) { argument
48 drawable.setTint(tint);
51 public static void setTintList(Drawable drawable, ColorStateList tint) { argument
52 drawable.setTintList(tint);
H A DDrawableWrapperLollipop.java63 public void setTintList(ColorStateList tint) { argument
65 super.setTintList(tint);
67 mDrawable.setTintList(tint);
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DBottomNavigationViewActions.java35 * Sets item icon tint list on the content of the bottom navigation view.
37 public static ViewAction setItemIconTintList(@Nullable final ColorStateList tint) { argument
46 return "Set item icon tint list";
54 navigationView.setItemIconTintList(tint);
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java48 void setTint(Drawable drawable, int tint); argument
49 void setTintList(Drawable drawable, ColorStateList tint); argument
89 public void setTint(Drawable drawable, int tint) { argument
90 DrawableCompatBase.setTint(drawable, tint);
94 public void setTintList(Drawable drawable, ColorStateList tint) { argument
95 DrawableCompatBase.setTintList(drawable, tint);
219 public void setTint(Drawable drawable, int tint) { argument
220 DrawableCompatLollipop.setTint(drawable, tint);
224 public void setTintList(Drawable drawable, ColorStateList tint) { argument
225 DrawableCompatLollipop.setTintList(drawable, tint);
385 setTint(@onNull Drawable drawable, @ColorInt int tint) argument
395 setTintList(@onNull Drawable drawable, @Nullable ColorStateList tint) argument
[all...]
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DCat.java126 public static void tint(int color, Drawable ... ds) { method in class:Cat
155 tint(mBodyColor, D.body, D.head, D.leg1, D.leg2, D.leg3, D.leg4, D.tail,
157 tint(0x20000000, D.leg2Shadow, D.tailShadow);
159 tint(0xFFFFFFFF, D.leftEye, D.rightEye, D.mouth, D.nose);
161 tint(isDark(mBodyColor) ? 0xFFEF9A9A : 0x20D50000, D.leftEarInside, D.rightEarInside);
163 tint(chooseP(nsr, P_BELLY_COLORS), D.belly);
164 tint(chooseP(nsr, P_BELLY_COLORS), D.back);
166 tint(faceColor, D.faceSpot);
168 tint(0xFF000000, D.mouth, D.nose);
174 tint(
[all...]
/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;
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java190 public void setTint(int tint) { argument
191 DrawableCompat.setTint(mDrawable, tint);
195 public void setTintList(ColorStateList tint) { argument
196 DrawableCompat.setTintList(mDrawable, tint);
/frameworks/support/v7/cardview/api21/android/support/v7/widget/
H A DRoundRectDrawable.java168 public void setTintList(ColorStateList tint) { argument
169 mTint = tint;
202 * Ensures the tint filter is consistent with the current tint color and
205 private PorterDuffColorFilter createTintFilter(ColorStateList tint, PorterDuff.Mode tintMode) { argument
206 if (tint == null || tintMode == null) {
209 final int color = tint.getColorForState(getState(), Color.TRANSPARENT);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DISub.aidl105 * Set SIM icon tint color by simInfo index
106 * @param tint the icon tint color of the SIM
110 int setIconTint(int tint, int subId);

Completed in 875 milliseconds

123