/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
H A D | DrawableCompatL.java | 37 public static void setTint(Drawable drawable, int tint) { argument 38 drawable.setTint(tint); 41 public static void setTintList(Drawable drawable, ColorStateList tint) { argument 42 drawable.setTintList(tint);
|
/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 38 void setTint(Drawable drawable, int tint); argument 39 void setTintList(Drawable drawable, ColorStateList tint); argument 69 public void setTint(Drawable drawable, int tint) { argument 73 public void setTintList(Drawable drawable, ColorStateList tint) { argument 121 public void setTint(Drawable drawable, int tint) { argument 122 DrawableCompatL.setTint(drawable, tint); 126 public void setTintList(Drawable drawable, ColorStateList tint) { argument 127 DrawableCompatL.setTintList(drawable, tint); 219 * Specifies a tint for {@code drawable}. 222 * @param tint Colo 224 setTint(Drawable drawable, int tint) argument 235 setTintList(Drawable drawable, ColorStateList tint) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CheckedTextView.java | 194 * Applies a tint to the check mark drawable. Does not modify the 195 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 198 * automatically mutate the drawable and apply the specified tint and 199 * tint mode using 202 * @param tint the tint to apply, may be {@code null} to clear tint 208 public void setCheckMarkTintList(@Nullable ColorStateList tint) { argument 209 mCheckMarkTintList = tint; 216 * Returns the tint applie [all...] |
H A D | CompoundButton.java | 248 * Applies a tint to the button drawable. Does not modify the current tint 252 * automatically mutate the drawable and apply the specified tint and tint 256 * @param tint the tint to apply, may be {@code null} to clear tint 262 public void setButtonTintList(@Nullable ColorStateList tint) { argument 263 mButtonTintList = tint; 270 * @return the tint applie [all...] |
H A D | AbsSeekBar.java | 191 * Applies a tint to the thumb drawable. Does not modify the current tint 195 * mutate the drawable and apply the specified tint and tint mode using 198 * @param tint the tint to apply, may be {@code null} to clear tint 204 public void setThumbTintList(@Nullable ColorStateList tint) { argument 205 mThumbTintList = tint; 212 * Returns the tint applie [all...] |
H A D | FrameLayout.java | 317 * Applies a tint to the foreground drawable. Does not modify the current 318 * tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 321 * mutate the drawable and apply the specified tint and tint mode using 324 * @param tint the tint to apply, may be {@code null} to clear tint 330 public void setForegroundTintList(@Nullable ColorStateList tint) { argument 331 mForegroundTintList = tint; 338 * @return the tint applie [all...] |
H A D | ImageView.java | 461 * Applies a tint to the image drawable. Does not modify the current tint 465 * mutate the drawable and apply the specified tint and tint mode using 468 * @param tint the tint to apply, may be {@code null} to clear tint 474 public void setImageTintList(@Nullable ColorStateList tint) { argument 475 mDrawableTintList = tint; 482 * @return the tint applie [all...] |
H A D | ProgressBar.java | 443 // Ensure the tint and filter are propagated in the correct order. 591 * Applies a tint to the indeterminate drawable. Does not modify the 592 * current tint mode, which is {@link PorterDuff.Mode#SRC_IN} by default. 595 * automatically mutate the drawable and apply the specified tint and 596 * tint mode using 599 * @param tint the tint to apply, may be {@code null} to clear tint 606 public void setIndeterminateTintList(@Nullable ColorStateList tint) { argument 610 mProgressTintInfo.mIndeterminateTintList = tint; 869 setProgressTintList(@ullable ColorStateList tint) argument 951 setProgressBackgroundTintList(@ullable ColorStateList tint) argument 1029 setSecondaryProgressTintList(@ullable ColorStateList tint) argument 1223 setDrawableTint(int id, ColorStateList tint, Mode tintMode, boolean fallback) argument [all...] |
H A D | RemoteViews.java | 2227 * @param viewId The id of the view whose tint should change 2228 * @param tint the tint to apply, may be {@code null} to clear tint 2230 public void setProgressTintList(int viewId, ColorStateList tint) { argument 2232 ReflectionAction.COLOR_STATE_LIST, tint)); 2239 * @param viewId The id of the view whose tint should change 2240 * @param tint the tint to apply, may be {@code null} to clear tint 2242 setProgressBackgroundTintList(int viewId, ColorStateList tint) argument 2254 setProgressIndeterminateTintList(int viewId, ColorStateList tint) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 179 public void setTintList(ColorStateList tint) { argument 180 mColorState.mTint = tint; 181 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode);
|
H A D | AnimatedVectorDrawable.java | 215 public void setTintList(ColorStateList tint) { argument 216 mAnimatedVectorState.mVectorDrawable.setTintList(tint);
|
H A D | ClipDrawable.java | 238 public void setTintList(ColorStateList tint) { argument 239 mState.mDrawable.setTintList(tint);
|
H A D | ScaleDrawable.java | 256 public void setTintList(ColorStateList tint) { argument 257 mState.mDrawable.setTintList(tint);
|
H A D | AnimatedRotateDrawable.java | 177 public void setTintList(ColorStateList tint) { argument 178 mState.mDrawable.setTintList(tint);
|
H A D | InsetDrawable.java | 308 public void setTintList(ColorStateList tint) { argument 309 mState.mDrawable.setTintList(tint);
|
H A D | NinePatchDrawable.java | 351 public void setTintList(ColorStateList tint) { argument 352 mNinePatchState.mTint = tint; 353 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode); 466 final ColorStateList tint = a.getColorStateList(R.styleable.NinePatchDrawable_tint); 467 if (tint != null) { 468 state.mTint = tint;
|
H A D | RotateDrawable.java | 143 public void setTintList(ColorStateList tint) { argument 144 mState.mDrawable.setTintList(tint);
|
H A D | ShapeDrawable.java | 288 public void setTintList(ColorStateList tint) { argument 289 mShapeState.mTint = tint; 290 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode); 453 final ColorStateList tint = a.getColorStateList(R.styleable.ShapeDrawable_tint); 454 if (tint != null) { 455 state.mTint = tint;
|
H A D | BitmapDrawable.java | 637 public void setTintList(ColorStateList tint) { argument 638 mBitmapState.mTint = tint; 639 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode); 774 final ColorStateList tint = a.getColorStateList(R.styleable.BitmapDrawable_tint); 775 if (tint != null) { 776 state.mTint = tint;
|
H A D | Drawable.java | 476 * Specifies a tint for this drawable. 479 * tint. 481 * @param tint Color to use for tinting this drawable 484 public void setTint(int tint) { argument 485 setTintList(ColorStateList.valueOf(tint)); 489 * Specifies a tint for this drawable as a color state list. 492 * tint. 494 * @param tint Color state list to use for tinting this drawable, or null to 495 * clear the tint 498 public void setTintList(ColorStateList tint) {} argument 1293 updateTintFilter(PorterDuffColorFilter tintFilter, ColorStateList tint, PorterDuff.Mode tintMode) argument [all...] |
H A D | LayerDrawable.java | 681 public void setTintList(ColorStateList tint) { argument 685 array[i].mDrawable.setTintList(tint);
|
H A D | DrawableContainer.java | 183 public void setTintList(ColorStateList tint) { argument 186 if (mDrawableContainerState.mTintList != tint) { 187 mDrawableContainerState.mTintList = tint; 190 mCurrDrawable.mutate().setTintList(tint); 493 // Color filter always overrides tint.
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DrawableWrapper.java | 186 public void setTint(int tint) { argument 187 DrawableCompat.setTint(mDrawable, tint); 191 public void setTintList(ColorStateList tint) { argument 192 DrawableCompat.setTintList(mDrawable, tint);
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SubscriptionManager.java | 621 * Set SIM icon tint color by simInfo index 622 * @param tint the RGB value of icon tint color of the SIM 627 public int setIconTint(int tint, int subId) { argument 628 if (VDBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId); 639 result = iSub.setIconTint(tint, subId);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SubscriptionController.java | 780 * Set SIM color tint by simInfo index 781 * @param tint the tint color of the SIM 786 public int setIconTint(int tint, int subId) { argument 787 if (DBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId); 792 value.put(SubscriptionManager.COLOR, tint); 793 if (DBG) logd("[setIconTint]- tint:" + tint + " set");
|