Home
last modified time | relevance | path

Searched refs:tintMode (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/support/design/lollipop/android/support/design/widget/
DCircularBorderDrawableLollipop.java61 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
62 mTintMode = tintMode; in setTintMode()
63 mTintFilter = updateTintFilter(mTint, tintMode); in setTintMode()
77 private PorterDuffColorFilter updateTintFilter(ColorStateList tint, PorterDuff.Mode tintMode) { in updateTintFilter() argument
78 if (tint == null || tintMode == null) { in updateTintFilter()
83 return new PorterDuffColorFilter(color, tintMode); in updateTintFilter()
DFloatingActionButtonLollipop.java88 void setBackgroundTintMode(PorterDuff.Mode tintMode) { in setBackgroundTintMode() argument
89 DrawableCompat.setTintMode(mShapeDrawable, tintMode); in setBackgroundTintMode()
/frameworks/support/v4/java/android/support/v4/widget/
DCompoundButtonCompat.java52 void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode); in setButtonTintMode() argument
69 public void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { in setButtonTintMode() argument
70 CompoundButtonCompatDonut.setButtonTintMode(button, tintMode); in setButtonTintMode()
96 public void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { in setButtonTintMode() argument
97 CompoundButtonCompatLollipop.setButtonTintMode(button, tintMode); in setButtonTintMode()
153 @Nullable PorterDuff.Mode tintMode) { in setButtonTintMode() argument
154 IMPL.setButtonTintMode(button, tintMode); in setButtonTintMode()
/frameworks/support/v4/java/android/support/v4/graphics/drawable/
DDrawableCompat.java40 void setTintMode(Drawable drawable, PorterDuff.Mode tintMode); in setTintMode() argument
82 public void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
83 DrawableCompatBase.setTintMode(drawable, tintMode); in setTintMode()
175 public void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
176 DrawableCompatLollipop.setTintMode(drawable, tintMode); in setTintMode()
324 public static void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
325 IMPL.setTintMode(drawable, tintMode); in setTintMode()
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/
DDrawableCompatLollipop.java61 public static void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
65 DrawableCompatBase.setTintMode(drawable, tintMode); in setTintMode()
68 drawable.setTintMode(tintMode); in setTintMode()
/frameworks/support/v4/api21/android/support/v4/widget/
DCompoundButtonCompatLollipop.java33 static void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { in setButtonTintMode() argument
34 button.setButtonTintMode(tintMode); in setButtonTintMode()
/frameworks/support/v4/donut/android/support/v4/graphics/drawable/
DDrawableCompatBase.java40 public static void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { in setTintMode() argument
42 ((DrawableWrapper) drawable).setTintMode(tintMode); in setTintMode()
DDrawableWrapper.java35 void setTintMode(PorterDuff.Mode tintMode); in setTintMode() argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DTintManager.java189 final PorterDuff.Mode tintMode = getTintMode(resId);
190 if (tintMode != null) {
191 DrawableCompat.setTintMode(drawable, tintMode); in DrawableCompat.setTintMode() argument
214 PorterDuff.Mode tintMode = DEFAULT_MODE;
228 tintMode = PorterDuff.Mode.MULTIPLY;
237 drawable.setColorFilter(getPorterDuffColorFilter(color, tintMode));
585 PorterDuff.Mode tintMode, final int[] state) {
586 if (tint == null || tintMode == null) {
590 return getPorterDuffColorFilter(color, tintMode);
/frameworks/support/v4/donut/android/support/v4/widget/
DCompoundButtonCompatDonut.java47 static void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { in setButtonTintMode() argument
49 ((TintableCompoundButton) button).setSupportButtonTintMode(tintMode); in setButtonTintMode()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java294 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
295 mShapeState.mTintMode = tintMode; in setTintMode()
296 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode()
454 final int tintMode = a.getInt(R.styleable.ShapeDrawable_tintMode, -1); in updateStateFromTypedArray() local
455 if (tintMode != -1) { in updateStateFromTypedArray()
456 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
DColorDrawable.java188 public void setTintMode(Mode tintMode) { in setTintMode() argument
189 mColorState.mTintMode = tintMode; in setTintMode()
190 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode()
DDrawable.java585 public void setTintMode(@NonNull PorterDuff.Mode tintMode) {} in setTintMode() argument
1381 PorterDuff.Mode tintMode) { in updateTintFilter() argument
1382 if (tint == null || tintMode == null) { in updateTintFilter()
1388 return new PorterDuffColorFilter(color, tintMode); in updateTintFilter()
1392 tintFilter.setMode(tintMode); in updateTintFilter()
DNinePatchDrawable.java358 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
359 mNinePatchState.mTintMode = tintMode; in setTintMode()
360 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode()
471 final int tintMode = a.getInt(R.styleable.NinePatchDrawable_tintMode, -1); in updateStateFromTypedArray() local
472 if (tintMode != -1) { in updateStateFromTypedArray()
473 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatRadioButton.java116 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportButtonTintMode() argument
118 mCompoundButtonHelper.setSupportButtonTintMode(tintMode); in setSupportButtonTintMode()
DAppCompatCheckBox.java116 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportButtonTintMode() argument
118 mCompoundButtonHelper.setSupportButtonTintMode(tintMode); in setSupportButtonTintMode()
DAppCompatEditText.java121 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument
123 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
DAppCompatAutoCompleteTextView.java143 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument
145 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
DAppCompatBackgroundHelper.java94 void setSupportBackgroundTintMode(PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument
98 mBackgroundTint.mTintMode = tintMode; in setSupportBackgroundTintMode()
DAppCompatButton.java123 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument
125 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
DAppCompatMultiAutoCompleteTextView.java143 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument
145 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
DAppCompatCompoundButtonHelper.java94 void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportButtonTintMode() argument
95 mButtonTintMode = tintMode; in setSupportButtonTintMode()
/frameworks/support/design/src/android/support/design/widget/
DFloatingActionButton.java222 public void setBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setBackgroundTintMode() argument
223 if (mBackgroundTintMode != tintMode) { in setBackgroundTintMode()
224 mBackgroundTintMode = tintMode; in setBackgroundTintMode()
225 mImpl.setBackgroundTintMode(tintMode); in setBackgroundTintMode()
/frameworks/support/v4/donut/android/support/v4/view/
DTintableBackgroundView.java59 void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode); in setSupportBackgroundTintMode() argument
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
DDrawableWrapper.java196 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
197 DrawableCompat.setTintMode(mDrawable, tintMode); in setTintMode()

123