/frameworks/support/compat/java/android/support/v4/widget/ |
D | CompoundButtonCompat.java | 68 public void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { in setButtonTintMode() argument 70 ((TintableCompoundButton) button).setSupportButtonTintMode(tintMode); in setButtonTintMode() 117 public void setButtonTintMode(CompoundButton button, PorterDuff.Mode tintMode) { in setButtonTintMode() argument 118 button.setButtonTintMode(tintMode); in setButtonTintMode() 175 @Nullable PorterDuff.Mode tintMode) { in setButtonTintMode() argument 176 IMPL.setButtonTintMode(button, tintMode); in setButtonTintMode()
|
D | TintableCompoundButton.java | 62 void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode); in setSupportButtonTintMode() argument
|
/frameworks/support/compat/java/android/support/v4/graphics/drawable/ |
D | DrawableWrapperApi14.java | 282 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument 283 mState.mTintMode = tintMode; in setTintMode() 294 final PorterDuff.Mode tintMode = mState.mTintMode; in updateTint() local 296 if (tintList != null && tintMode != null) { in updateTint() 298 if (!mColorFilterSet || color != mCurrentColor || tintMode != mCurrentMode) { in updateTint() 299 setColorFilter(color, tintMode); in updateTint() 301 mCurrentMode = tintMode; in updateTint()
|
D | DrawableWrapperApi21.java | 94 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument 96 super.setTintMode(tintMode); in setTintMode() 98 mDrawable.setTintMode(tintMode); in setTintMode()
|
D | DrawableCompat.java | 161 public static void setTintMode(@NonNull Drawable drawable, @NonNull PorterDuff.Mode tintMode) { in setTintMode() argument 163 drawable.setTintMode(tintMode); in setTintMode() 165 ((TintAwareDrawable) drawable).setTintMode(tintMode); in setTintMode()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | RoundRectDrawable.java | 177 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument 178 mTintMode = tintMode; in setTintMode() 207 private PorterDuffColorFilter createTintFilter(ColorStateList tint, PorterDuff.Mode tintMode) { in createTintFilter() argument 208 if (tint == null || tintMode == null) { in createTintFilter() 212 return new PorterDuffColorFilter(color, tintMode); in createTintFilter()
|
/frameworks/support/compat/java/android/support/v4/view/ |
D | MenuItemCompat.java | 105 void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode); in setIconTintMode() argument 193 public void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) { in setIconTintMode() argument 261 public void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) { in setIconTintMode() argument 262 item.setIconTintMode(tintMode); in setIconTintMode() 680 public static void setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) { 682 ((SupportMenuItem) item).setIconTintMode(tintMode); 684 IMPL.setIconTintMode(item, tintMode);
|
D | TintableBackgroundView.java | 59 void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode); in setSupportBackgroundTintMode() argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatImageButton.java | 163 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument 165 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode() 218 public void setSupportImageTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportImageTintMode() argument 220 mImageHelper.setSupportImageTintMode(tintMode); in setSupportImageTintMode()
|
D | AppCompatImageView.java | 173 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument 175 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode() 229 public void setSupportImageTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportImageTintMode() argument 231 mImageHelper.setSupportImageTintMode(tintMode); in setSupportImageTintMode()
|
D | AppCompatRadioButton.java | 122 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportButtonTintMode() argument 124 mCompoundButtonHelper.setSupportButtonTintMode(tintMode); in setSupportButtonTintMode()
|
D | AppCompatCheckBox.java | 119 public void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportButtonTintMode() argument 121 mCompoundButtonHelper.setSupportButtonTintMode(tintMode); in setSupportButtonTintMode()
|
D | AppCompatEditText.java | 124 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument 126 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
|
D | AppCompatDrawableManager.java | 270 final PorterDuff.Mode tintMode = getTintMode(resId); in tintDrawable() local 271 if (tintMode != null) { in tintDrawable() 272 DrawableCompat.setTintMode(drawable, tintMode); in tintDrawable() 443 PorterDuff.Mode tintMode = DEFAULT_MODE; in tintDrawableUsingColorFilter() local 457 tintMode = PorterDuff.Mode.MULTIPLY; in tintDrawableUsingColorFilter() 473 drawable.setColorFilter(getPorterDuffColorFilter(color, tintMode)); in tintDrawableUsingColorFilter() 717 PorterDuff.Mode tintMode, final int[] state) { in createTintFilter() argument 718 if (tint == null || tintMode == null) { in createTintFilter() 722 return getPorterDuffColorFilter(color, tintMode); in createTintFilter()
|
D | AppCompatMultiAutoCompleteTextView.java | 142 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument 144 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
|
D | AppCompatAutoCompleteTextView.java | 142 public void setSupportBackgroundTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportBackgroundTintMode() argument 144 mBackgroundTintHelper.setSupportBackgroundTintMode(tintMode); in setSupportBackgroundTintMode()
|
D | AppCompatCompoundButtonHelper.java | 92 void setSupportButtonTintMode(@Nullable PorterDuff.Mode tintMode) { in setSupportButtonTintMode() argument 93 mButtonTintMode = tintMode; in setSupportButtonTintMode()
|
/frameworks/support/compat/tests/java/android/support/v4/graphics/ |
D | DrawableCompatTest.java | 139 final PorterDuff.Mode tintMode = PorterDuff.Mode.DST; in testTintAwareDrawableGetsTintCallsDirectly() local 143 DrawableCompat.setTintMode(d, tintMode); in testTintAwareDrawableGetsTintCallsDirectly() 147 verify(d).setTintMode(tintMode); in testTintAwareDrawableGetsTintCallsDirectly()
|
D | TestTintAwareDrawable.java | 41 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | SlashDrawable.java | 210 public void setTintMode(@NonNull Mode tintMode) { in setTintMode() argument 211 mTintMode = tintMode; in setTintMode() 212 super.setTintMode(tintMode); in setTintMode() 213 mDrawable.setTintMode(tintMode); in setTintMode()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 300 public void setTintMode(PorterDuff.Mode tintMode) { in setTintMode() argument 301 mShapeState.mTintMode = tintMode; in setTintMode() 302 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode() 476 final int tintMode = a.getInt(R.styleable.ShapeDrawable_tintMode, -1); in updateStateFromTypedArray() local 477 if (tintMode != -1) { in updateStateFromTypedArray() 478 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
|
D | ColorDrawable.java | 191 public void setTintMode(Mode tintMode) { in setTintMode() argument 192 mColorState.mTintMode = tintMode; in setTintMode() 193 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode()
|
D | NinePatchDrawable.java | 352 public void setTintMode(@Nullable PorterDuff.Mode tintMode) { in setTintMode() argument 353 mNinePatchState.mTintMode = tintMode; in setTintMode() 354 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode() 462 final int tintMode = a.getInt(R.styleable.NinePatchDrawable_tintMode, -1); in updateStateFromTypedArray() local 463 if (tintMode != -1) { in updateStateFromTypedArray() 464 state.mTintMode = Drawable.parseTintMode(tintMode, Mode.SRC_IN); in updateStateFromTypedArray()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | TestUtilsActions.java | 118 public static ViewAction setBackgroundTintModeViewCompat(final PorterDuff.Mode tintMode) { 134 ViewCompat.setBackgroundTintMode(view, tintMode);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 195 public void setTintMode(Mode tintMode) { in setTintMode() argument 197 mTintFilter = new PorterDuffColorFilter(0, tintMode); in setTintMode() 199 mTintFilter.setMode(tintMode); in setTintMode()
|