/frameworks/support/v4/donut/android/support/v4/graphics/drawable/ |
DrawableWrapper.java | 31 void setTint(int tint); 33 void setTintList(ColorStateList tint);
|
DrawableCompatBase.java | 28 public static void setTint(Drawable drawable, int tint) { 30 ((DrawableWrapper) drawable).setTint(tint); 34 public static void setTintList(Drawable drawable, ColorStateList tint) { 36 ((DrawableWrapper) drawable).setTintList(tint);
|
DrawableWrapperDonut.java | 191 public void setTint(int tint) { 192 setTintList(ColorStateList.valueOf(tint)); 196 public void setTintList(ColorStateList tint) { 197 mTintList = tint;
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
CircularBorderDrawableLollipop.java | 28 * Lollipop version of {@link CircularBorderDrawable} which accepts tint calls. 54 public void setTintList(ColorStateList tint) { 55 mTint = tint; 56 mTintFilter = updateTintFilter(tint, mTintMode); 74 * Ensures the tint filter is consistent with the current tint color and 77 private PorterDuffColorFilter updateTintFilter(ColorStateList tint, PorterDuff.Mode tintMode) { 78 if (tint == null || tintMode == null) { 82 final int color = tint.getColorForState(getState(), Color.TRANSPARENT);
|
FloatingActionButtonLollipop.java | 56 // Now we need to tint the original background with the tint 80 void setBackgroundTintList(ColorStateList tint) { 81 DrawableCompat.setTintList(mShapeDrawable, tint); 83 DrawableCompat.setTintList(mBorderDrawable, tint);
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
DrawableCompatLollipop.java | 39 public static void setTint(Drawable drawable, int tint) { 43 DrawableCompatBase.setTint(drawable, tint); 46 drawable.setTint(tint); 50 public static void setTintList(Drawable drawable, ColorStateList tint) { 54 DrawableCompatBase.setTintList(drawable, tint); 57 drawable.setTintList(tint);
|
/frameworks/support/v4/api21/android/support/v4/widget/ |
CompoundButtonCompatLollipop.java | 25 static void setButtonTintList(CompoundButton button, ColorStateList tint) { 26 button.setButtonTintList(tint);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatBackgroundHelper.java | 49 ColorStateList tint = mTintManager.getTintList( local 51 if (tint != null) { 52 setInternalBackgroundTint(tint); 71 // Update the default background tint 76 // We don't know that this drawable is, so we need to clear the default background tint 80 void setSupportBackgroundTintList(ColorStateList tint) { 84 mBackgroundTint.mTintList = tint; 118 void setInternalBackgroundTint(ColorStateList tint) { 119 if (tint != null) { 123 mInternalBackgroundTint.mTintList = tint; [all...] |
AppCompatAutoCompleteTextView.java | 39 * <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 117 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { 119 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
|
AppCompatButton.java | 40 * <li>Allows dynamic tint of it background via the background tint methods in 42 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 97 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { 99 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
|
AppCompatCheckBox.java | 36 * <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#buttonTint} and 93 public void setSupportButtonTintList(@Nullable ColorStateList tint) { 95 mCompoundButtonHelper.setSupportButtonTintList(tint);
|
AppCompatEditText.java | 38 * <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 95 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { 97 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
|
AppCompatMultiAutoCompleteTextView.java | 39 * <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 117 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { 119 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
|
AppCompatRadioButton.java | 36 * <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#buttonTint} and 93 public void setSupportButtonTintList(@Nullable ColorStateList tint) { 95 mCompoundButtonHelper.setSupportButtonTintList(tint);
|
AppCompatCompoundButtonHelper.java | 83 void setSupportButtonTintList(ColorStateList tint) { 84 mButtonTintList = tint; 128 // stateful before applying the tint, so let's try again.
|
/frameworks/support/v4/donut/android/support/v4/view/ |
TintableBackgroundView.java | 30 * 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); 43 * Return the tint applied to the background drawable, if specified. 45 * @return the tint applied to the background drawabl [all...] |
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
DrawableCompat.java | 38 void setTint(Drawable drawable, int tint); 39 void setTintList(Drawable drawable, ColorStateList tint); 72 public void setTint(Drawable drawable, int tint) { 73 DrawableCompatBase.setTint(drawable, tint); 77 public void setTintList(Drawable drawable, ColorStateList tint) { 78 DrawableCompatBase.setTintList(drawable, tint); 165 public void setTint(Drawable drawable, int tint) { 166 DrawableCompatLollipop.setTint(drawable, tint); 170 public void setTintList(Drawable drawable, ColorStateList tint) { 171 DrawableCompatLollipop.setTintList(drawable, tint); [all...] |
/frameworks/support/v4/donut/android/support/v4/widget/ |
TintableCompoundButton.java | 31 * 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); 43 * Returns the tint applied to the button drawable 51 * Specifies the blending mode which should be used to apply the tint specified b [all...] |
CompoundButtonCompatDonut.java | 34 static void setButtonTintList(CompoundButton button, ColorStateList tint) { 36 ((TintableCompoundButton) button).setSupportButtonTintList(tint);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
CompoundButtonCompat.java | 50 void setButtonTintList(CompoundButton button, ColorStateList tint); 59 public void setButtonTintList(CompoundButton button, ColorStateList tint) { 60 CompoundButtonCompatDonut.setButtonTintList(button, tint); 86 public void setButtonTintList(CompoundButton button, ColorStateList tint) { 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 the tint to apply, may be {@code null} to clear tin [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
TintManager.java | 184 // First wrap the Drawable and set the tint list 201 // If we didn't tint using a ColorFilter, and we're set to fail if we don't 286 ColorStateList tint = mTintLists != null ? mTintLists.get(resId) : null; 288 if (tint == null) { 291 tint = createEditTextColorStateList(context); 293 tint = createSwitchTrackColorStateList(context); 295 tint = createSwitchThumbColorStateList(context); 298 tint = createDefaultButtonColorStateList(context); 300 tint = createColoredButtonColorStateList(context); 303 tint = createSpinnerColorStateList(context) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/ |
DrawableWrapper.java | 186 public void setTint(int tint) { 187 DrawableCompat.setTint(mDrawable, tint); 191 public void setTintList(ColorStateList tint) { 192 DrawableCompat.setTintList(mDrawable, tint);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
ISub.aidl | 105 * 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);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
ShapeDrawable.java | 287 public void setTintList(ColorStateList tint) { 288 mShapeState.mTint = tint; 289 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode); 459 final ColorStateList tint = a.getColorStateList(R.styleable.ShapeDrawable_tint); local 460 if (tint != null) { 461 state.mTint = tint;
|
/frameworks/support/design/base/android/support/design/widget/ |
FloatingActionButtonImpl.java | 47 abstract void setBackgroundTintList(ColorStateList tint);
|