/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | AppCompatButton.java | 44 * <li>Allows dynamic tint of its background via the background tint methods in 46 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 104 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument 106 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
|
H A D | AppCompatTextView.java | 46 * <li>Allows dynamic tint of its background via the background tint methods in 48 * <li>Allows setting of the background tint using {@link R.attr#backgroundTint} and 114 public void setSupportBackgroundTintList(@Nullable ColorStateList tint) { argument 116 mBackgroundTintHelper.setSupportBackgroundTintList(tint);
|
H A D | SwitchCompat.java | 510 * Applies a tint to the track drawable. Does not modify the current 511 * tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 514 * automatically mutate the drawable and apply the specified tint and tint 517 * @param tint the tint to apply, may be {@code null} to clear tint 522 public void setTrackTintList(@Nullable ColorStateList tint) { argument 523 mTrackTintList = tint; 530 * @return the tint applie 644 setThumbTintList(@ullable ColorStateList tint) argument [all...] |
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
H A D | VectorDrawableCompat.java | 100 * <dt><code>android:tint</code></dt> 101 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd> 103 * <dd>The Porter-Duff blending mode for the tint color. Default is src_in.</dd> 295 // Color filters always override tint filters. 387 * Ensures the tint filter is consistent with the current tint color and 390 PorterDuffColorFilter updateTintFilter(PorterDuffColorFilter tintFilter, ColorStateList tint, argument 392 if (tint == null || tintMode == null) { 397 final int color = tint 402 setTint(int tint) argument 412 setTintList(ColorStateList tint) argument [all...] |
H A D | AndroidResources.java | 23 android.R.attr.name, android.R.attr.tint, android.R.attr.height,
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 677 public void setTintList(ColorStateList tint) { argument 679 if (state.mTint != tint) { 680 state.mTint = tint; 681 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode); 868 final ColorStateList tint = a.getColorStateList(R.styleable.BitmapDrawable_tint); 869 if (tint != null) { 870 state.mTint = tint;
|
H A D | Drawable.java | 577 * filter disables {@link #setTintList(ColorStateList) tint}. 593 * {@link #setTintList(ColorStateList) tint}. 607 * Specifies tint color for this drawable. 609 * A Drawable's drawing content will be blended together with its tint 614 * To clear the tint, pass {@code null} to 619 * {@link #setColorFilter(int, PorterDuff.Mode)} overrides tint. 631 * Specifies tint color for this drawable as a color state list. 633 * A Drawable's drawing content will be blended together with its tint 639 * {@link #setColorFilter(int, PorterDuff.Mode)} overrides tint. 642 * @param tint Colo 647 setTintList(@ullable ColorStateList tint) argument 1512 updateTintFilter(@ullable PorterDuffColorFilter tintFilter, @Nullable ColorStateList tint, @Nullable PorterDuff.Mode tintMode) argument [all...] |
H A D | DrawableWrapper.java | 308 public void setTintList(@Nullable ColorStateList tint) { argument 310 mDrawable.setTintList(tint);
|
H A D | DrawableContainer.java | 185 public void setTintList(ColorStateList tint) { argument 188 if (mDrawableContainerState.mTintList != tint) { 189 mDrawableContainerState.mTintList = tint; 192 mCurrDrawable.setTintList(tint); 392 // This may have been called as the result of a tint changing, in 539 // Color filter always overrides tint.
|
H A D | VectorDrawable.java | 93 * <dt><code>android:tint</code></dt> 94 * <dd>The color to apply to the drawable as a tint. By default, no tint is applied.</dd> 96 * <dd>The Porter-Duff blending mode for the tint color. Default is src_in.</dd> 412 // Color filters always override tint filters. 471 public void setTintList(ColorStateList tint) { argument 473 if (state.mTint != tint) { 474 state.mTint = tint; 475 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); 741 final ColorStateList tint [all...] |
/frameworks/support/car/src/main/java/androidx/car/widget/ |
H A D | PagedScrollBarView.java | 462 int tint = ContextCompat.getColor(getContext(), tintResId); 463 mUpButton.setColorFilter(tint, PorterDuff.Mode.SRC_IN); 466 mDownButton.setColorFilter(tint, PorterDuff.Mode.SRC_IN);
|
/frameworks/base/core/java/android/view/ |
H A D | MenuItem.java | 237 * Applies a tint to this item's icon. Does not modify the 238 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 241 * automatically mutate the icon and apply the specified tint and 242 * tint mode using 245 * @param tint the tint to apply, may be {@code null} to clear tint 251 public default MenuItem setIconTintList(@Nullable ColorStateList tint) { return this; } argument 254 * @return the tint applied to this item's icon 262 * Specifies the blending mode used to apply the tint specifie [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 221 * Applies a tint to the thumb drawable. Does not modify the current tint 225 * mutate the drawable and apply the specified tint and tint mode using 228 * @param tint the tint to apply, may be {@code null} to clear tint 234 public void setThumbTintList(@Nullable ColorStateList tint) { argument 235 mThumbTintList = tint; 242 * Returns the tint applie 388 setTickMarkTintList(@ullable ColorStateList tint) argument [all...] |
H A D | CheckedTextView.java | 209 * Applies a tint to the check mark drawable. Does not modify the 210 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 213 * automatically mutate the drawable and apply the specified tint and 214 * tint mode using 217 * @param tint the tint to apply, may be {@code null} to clear tint 223 public void setCheckMarkTintList(@Nullable ColorStateList tint) { argument 224 mCheckMarkTintList = tint; 231 * Returns the tint applie [all...] |
H A D | ProgressBar.java | 640 * Applies a tint to the indeterminate drawable. Does not modify the 641 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 644 * automatically mutate the drawable and apply the specified tint and 645 * tint mode using 648 * @param tint the tint to apply, may be {@code null} to clear tint 655 public void setIndeterminateTintList(@Nullable ColorStateList tint) { argument 659 mProgressTintInfo.mIndeterminateTintList = tint; 666 * @return the tint applie 925 setProgressTintList(@ullable ColorStateList tint) argument 1007 setProgressBackgroundTintList(@ullable ColorStateList tint) argument 1085 setSecondaryProgressTintList(@ullable ColorStateList tint) argument [all...] |
H A D | CompoundButton.java | 287 * Applies a tint to the button drawable. Does not modify the current tint 291 * automatically mutate the drawable and apply the specified tint and tint 295 * @param tint the tint to apply, may be {@code null} to clear tint 301 public void setButtonTintList(@Nullable ColorStateList tint) { argument 302 mButtonTintList = tint; 309 * @return the tint applie [all...] |
H A D | Switch.java | 531 * Applies a tint to the track drawable. Does not modify the current 532 * tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 535 * automatically mutate the drawable and apply the specified tint and tint 538 * @param tint the tint to apply, may be {@code null} to clear tint 544 public void setTrackTintList(@Nullable ColorStateList tint) { argument 545 mTrackTintList = tint; 552 * @return the tint applie 667 setThumbTintList(@ullable ColorStateList tint) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | Clock.java | 254 public void onDarkChanged(Rect area, float darkIntensity, int tint) { argument 255 mNonAdaptedColor = DarkIconDispatcher.getTint(area, this, tint);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/ |
H A D | MenuItemWrapperICS.java | 351 public MenuItem setIconTintList(ColorStateList tint) { argument 352 mWrappedObject.setIconTintList(tint);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | ScrimController.java | 576 private void updateScrimColor(View scrim, float alpha, int tint) { argument 587 Color.alpha(tint)); 589 scrimView.setTint(tint); 608 int tint = ColorUtils.blendARGB(initialScrimTint, finalScrimTint, animAmount); 609 updateScrimColor(scrim, alpha, tint); 685 // At the end of the animation we need to remove the tint. 857 pw.print(" tint=0x"); pw.println(Integer.toHexString(mScrimInFront.getTint())); 861 pw.print(" tint=0x"); pw.println(Integer.toHexString(mScrimBehind.getTint()));
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | CircledImageView.java | 427 /** Sets the tint. */ 428 public void setImageTint(int tint) { argument 429 if (mImageTint == null || tint != mImageTint) { 430 mImageTint = tint;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | LockscreenFragment.java | 367 mIconState.tint = false; 395 mIconState.tint = false;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ScreenDecorations.java | 169 int tint = value != 0 ? Color.WHITE : Color.BLACK; 170 ColorStateList tintList = ColorStateList.valueOf(tint); 175 cutoutTop.setColor(tint); 176 cutoutBottom.setColor(tint);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | SubscriptionControllerMock.java | 152 public int setIconTint(int tint, int subId) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogImpl.java | 906 final ColorStateList tint = useActiveColoring ? mActiveTint : mInactiveTint; 908 if (tint == row.cachedTint) return; 909 row.slider.setProgressTintList(tint); 910 row.slider.setThumbTintList(tint); 911 row.slider.setProgressBackgroundTintList(tint); 913 row.icon.setImageTintList(tint); 915 row.cachedTint = tint;
|