Searched refs:tintMode (Results 1 - 25 of 59) sorted by relevance

123

/frameworks/support/compat/java/android/support/v4/view/
H A DTintableBackgroundView.java55 * @param tintMode the blending mode used to apply the tint, may be
59 void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode); argument
H A DMenuItemCompat.java106 void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode); argument
194 public void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) { argument
262 public void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) { argument
263 item.setIconTintMode(tintMode);
677 * @param tintMode the blending mode used to apply the tint, may be
681 public static void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) { argument
683 ((SupportMenuItem) item).setIconTintMode(tintMode);
685 IMPL.setIconTintMode(item, tintMode);
/frameworks/support/compat/ics/android/support/v4/graphics/drawable/
H A DTintAwareDrawable.java36 void setTintMode(PorterDuff.Mode tintMode); argument
H A DDrawableWrapperApi14.java282 public void setTintMode(PorterDuff.Mode tintMode) { argument
283 mState.mTintMode = tintMode;
294 final PorterDuff.Mode tintMode = mState.mTintMode;
296 if (tintList != null && tintMode != null) {
298 if (!mColorFilterSet || color != mCurrentColor || tintMode != mCurrentMode) {
299 setColorFilter(color, tintMode);
301 mCurrentMode = tintMode;
/frameworks/support/compat/java/android/support/v4/widget/
H A DTintableCompoundButton.java55 * @param tintMode the blending mode used to apply the tint, may be
62 void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode); argument
H A DCompoundButtonCompat.java69 public void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { argument
71 ((TintableCompoundButton) button).setSupportButtonTintMode(tintMode);
118 public void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { argument
119 button.setButtonTintMode(tintMode);
169 * @param tintMode the blending mode used to apply the tint, may be
176 @Nullable PorterDuff.Mode tintMode) {
177 IMPL.setButtonTintMode(button, tintMode);
175 setButtonTintMode(@onNull CompoundButton button, @Nullable PorterDuff.Mode tintMode) argument
H A DTintableImageSourceView.java61 * @param tintMode the blending mode used to apply the tint, may be
65 void setSupportImageTintMode(@Nullable PorterDuff.Mode tintMode); argument
/frameworks/support/compat/tests/java/android/support/v4/graphics/
H A DTestTintAwareDrawable.java41 public void setTintMode(PorterDuff.Mode tintMode) { argument
H A DDrawableCompatTest.java139 final PorterDuff.Mode tintMode = PorterDuff.Mode.DST;
143 DrawableCompat.setTintMode(d, tintMode);
147 verify(d).setTintMode(tintMode);
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
H A DDrawableWrapperApi21.java83 public void setTintMode(PorterDuff.Mode tintMode) { argument
85 super.setTintMode(tintMode);
87 mDrawable.setTintMode(tintMode);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatImageButton.java50 * {@link R.attr#tintMode}.</li>
170 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { argument
172 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode);
225 public void setSupportImageTintMode(@Nullable PorterDuff.Mode tintMode) { argument
227 mImageHelper.setSupportImageTintMode(tintMode);
H A DAppCompatImageView.java49 * {@link R.attr#tintMode}.</li>
180 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { argument
182 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode);
236 public void setSupportImageTintMode(@Nullable PorterDuff.Mode tintMode) { argument
238 mImageHelper.setSupportImageTintMode(tintMode);
H A DAppCompatCheckBox.java117 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { argument
119 mCompoundButtonHelper.setSupportButtonTintMode(tintMode);
H A DAppCompatCompoundButtonHelper.java92 void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { argument
93 mButtonTintMode = tintMode;
H A DAppCompatEditText.java124 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { argument
126 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode);
H A DAppCompatRadioButton.java117 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { argument
119 mCompoundButtonHelper.setSupportButtonTintMode(tintMode);
H A DAppCompatAutoCompleteTextView.java142 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { argument
144 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode);
H A DAppCompatBackgroundHelper.java102 void setSupportBackgroundTintMode(PorterDuff.Mode tintMode) { argument
106 mBackgroundTint.mTintMode = tintMode;
H A DAppCompatButton.java127 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { argument
129 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode);
H A DAppCompatImageHelper.java121 void setSupportImageTintMode(PorterDuff.Mode tintMode) { argument
125 mImageTint.mTintMode = tintMode;
/frameworks/support/v7/cardview/src/android/support/v7/widget/
H A DRoundRectDrawable.java177 public void setTintMode(PorterDuff.Mode tintMode) { argument
178 mTintMode = tintMode;
207 private PorterDuffColorFilter createTintFilter(ColorStateList tint, PorterDuff.Mode tintMode) { argument
208 if (tint == null || tintMode == null) {
212 return new PorterDuffColorFilter(color, tintMode);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DTestUtilsActions.java118 public static ViewAction setBackgroundTintModeViewCompat(final PorterDuff.Mode tintMode) { argument
134 ViewCompat.setBackgroundTintMode(view, tintMode);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java300 public void setTintMode(PorterDuff.Mode tintMode) { argument
301 mShapeState.mTintMode = tintMode;
302 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode);
476 final int tintMode = a.getInt(R.styleable.ShapeDrawable_tintMode, -1);
477 if (tintMode != -1) {
478 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN);
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DDrawableCompat.java79 public void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { argument
81 ((TintAwareDrawable) drawable).setTintMode(tintMode);
241 public void setTintMode(Drawable drawable, PorterDuff.Mode tintMode) { argument
242 drawable.setTintMode(tintMode);
439 * @param tintMode A Porter-Duff blending mode
441 public static void setTintMode(@NonNull Drawable drawable, @Nullable PorterDuff.Mode tintMode) { argument
442 IMPL.setTintMode(drawable, tintMode);
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java204 public void setTintMode(PorterDuff.Mode tintMode) { argument
205 DrawableCompat.setTintMode(mDrawable, tintMode);

Completed in 306 milliseconds

123