/frameworks/support/v4/java/android/support/v4/graphics/drawable/ |
D | DrawableCompat.java | 38 void setTint(Drawable drawable, int tint); in setTint() argument 39 void setTintList(Drawable drawable, ColorStateList tint); in setTintList() argument 69 public void setTint(Drawable drawable, int tint) { in setTint() argument 73 public void setTintList(Drawable drawable, ColorStateList tint) { in setTintList() argument 121 public void setTint(Drawable drawable, int tint) { in setTint() argument 122 DrawableCompatL.setTint(drawable, tint); in setTint() 126 public void setTintList(Drawable drawable, ColorStateList tint) { in setTintList() argument 127 DrawableCompatL.setTintList(drawable, tint); in setTintList() 224 public static void setTint(Drawable drawable, int tint) { in setTint() argument 225 IMPL.setTint(drawable, tint); in setTint() [all …]
|
/frameworks/support/v4/api21/android/support/v4/graphics/drawable/ |
D | DrawableCompatL.java | 37 public static void setTint(Drawable drawable, int tint) { in setTint() argument 38 drawable.setTint(tint); in setTint() 41 public static void setTintList(Drawable drawable, ColorStateList tint) { in setTintList() argument 42 drawable.setTintList(tint); in setTintList()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | DrawableWrapper.java | 186 public void setTint(int tint) { in setTint() argument 187 DrawableCompat.setTint(mDrawable, tint); in setTint() 191 public void setTintList(ColorStateList tint) { in setTintList() argument 192 DrawableCompat.setTintList(mDrawable, tint); in setTintList()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ShapeDrawable.java | 288 public void setTintList(ColorStateList tint) { in setTintList() argument 289 mShapeState.mTint = tint; in setTintList() 290 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode); in setTintList() 453 final ColorStateList tint = a.getColorStateList(R.styleable.ShapeDrawable_tint); in updateStateFromTypedArray() local 454 if (tint != null) { in updateStateFromTypedArray() 455 state.mTint = tint; in updateStateFromTypedArray()
|
D | Drawable.java | 484 public void setTint(int tint) { in setTint() argument 485 setTintList(ColorStateList.valueOf(tint)); in setTint() 498 public void setTintList(ColorStateList tint) {} in setTintList() argument 1293 PorterDuffColorFilter updateTintFilter(PorterDuffColorFilter tintFilter, ColorStateList tint, in updateTintFilter() argument 1295 if (tint == null || tintMode == null) { in updateTintFilter() 1299 final int color = tint.getColorForState(getState(), Color.TRANSPARENT); in updateTintFilter()
|
D | ColorDrawable.java | 179 public void setTintList(ColorStateList tint) { in setTintList() argument 180 mColorState.mTint = tint; in setTintList() 181 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode); in setTintList()
|
D | NinePatchDrawable.java | 351 public void setTintList(ColorStateList tint) { in setTintList() argument 352 mNinePatchState.mTint = tint; in setTintList() 353 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode); in setTintList() 466 final ColorStateList tint = a.getColorStateList(R.styleable.NinePatchDrawable_tint); in updateStateFromTypedArray() local 467 if (tint != null) { in updateStateFromTypedArray() 468 state.mTint = tint; in updateStateFromTypedArray()
|
D | BitmapDrawable.java | 637 public void setTintList(ColorStateList tint) { in setTintList() argument 638 mBitmapState.mTint = tint; in setTintList() 639 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode); in setTintList() 774 final ColorStateList tint = a.getColorStateList(R.styleable.BitmapDrawable_tint); in updateStateFromTypedArray() local 775 if (tint != null) { in updateStateFromTypedArray() 776 state.mTint = tint; in updateStateFromTypedArray()
|
D | VectorDrawable.java | 311 public void setTintList(ColorStateList tint) { in setTintList() argument 313 if (state.mTint != tint) { in setTintList() 314 state.mTint = tint; in setTintList() 315 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); in setTintList() 480 final ColorStateList tint = a.getColorStateList(R.styleable.VectorDrawable_tint); in updateStateFromTypedArray() local 481 if (tint != null) { in updateStateFromTypedArray() 482 state.mTint = tint; in updateStateFromTypedArray()
|
D | ClipDrawable.java | 238 public void setTintList(ColorStateList tint) { in setTintList() argument 239 mState.mDrawable.setTintList(tint); in setTintList()
|
D | DrawableContainer.java | 183 public void setTintList(ColorStateList tint) { in setTintList() argument 186 if (mDrawableContainerState.mTintList != tint) { in setTintList() 187 mDrawableContainerState.mTintList = tint; in setTintList() 190 mCurrDrawable.mutate().setTintList(tint); in setTintList()
|
D | ScaleDrawable.java | 256 public void setTintList(ColorStateList tint) { in setTintList() argument 257 mState.mDrawable.setTintList(tint); in setTintList()
|
D | AnimatedVectorDrawable.java | 215 public void setTintList(ColorStateList tint) { in setTintList() argument 216 mAnimatedVectorState.mVectorDrawable.setTintList(tint); in setTintList()
|
D | AnimatedRotateDrawable.java | 177 public void setTintList(ColorStateList tint) { in setTintList() argument 178 mState.mDrawable.setTintList(tint); in setTintList()
|
D | GradientDrawable.java | 838 public void setTintList(ColorStateList tint) { 839 mGradientState.mTint = tint; 840 mTintFilter = updateTintFilter(mTintFilter, tint, mGradientState.mTintMode); 1086 final ColorStateList tint = a.getColorStateList(R.styleable.GradientDrawable_tint); 1087 if (tint != null) { 1088 state.mTint = tint;
|
D | InsetDrawable.java | 308 public void setTintList(ColorStateList tint) { in setTintList() argument 309 mState.mDrawable.setTintList(tint); in setTintList()
|
D | RotateDrawable.java | 143 public void setTintList(ColorStateList tint) { in setTintList() argument 144 mState.mDrawable.setTintList(tint); in setTintList()
|
/frameworks/base/docs/html/training/material/ |
D | drawables.jd | 34 <p>With Android 5.0 (API level 21) and above, you can tint bitmaps and nine-patches defined as 35 alpha masks. You can tint them with color resources or theme attributes that resolve to color 39 <p>You can apply a tint to {@link android.graphics.drawable.BitmapDrawable} or {@link 41 also set the tint color and mode in your layouts with the <code>android:tint</code> and
|
D | index.jd | 55 <dd>Learn how to create vector drawables and how to tint drawable resources.</dd>
|
/frameworks/base/core/java/android/widget/ |
D | ProgressBar.java | 606 public void setIndeterminateTintList(@Nullable ColorStateList tint) { in setIndeterminateTintList() argument 610 mProgressTintInfo.mIndeterminateTintList = tint; in setIndeterminateTintList() 869 public void setProgressTintList(@Nullable ColorStateList tint) { in setProgressTintList() argument 873 mProgressTintInfo.mProgressTintList = tint; in setProgressTintList() 951 public void setProgressBackgroundTintList(@Nullable ColorStateList tint) { in setProgressBackgroundTintList() argument 955 mProgressTintInfo.mProgressBackgroundTintList = tint; in setProgressBackgroundTintList() 1029 public void setSecondaryProgressTintList(@Nullable ColorStateList tint) { in setSecondaryProgressTintList() argument 1033 mProgressTintInfo.mSecondaryProgressTintList = tint; in setSecondaryProgressTintList() 1223 private void setDrawableTint(int id, ColorStateList tint, Mode tintMode, boolean fallback) { in setDrawableTint() argument 1237 layer.setTintList(tint); in setDrawableTint()
|
D | CheckedTextView.java | 208 public void setCheckMarkTintList(@Nullable ColorStateList tint) { in setCheckMarkTintList() argument 209 mCheckMarkTintList = tint; in setCheckMarkTintList()
|
D | CompoundButton.java | 262 public void setButtonTintList(@Nullable ColorStateList tint) { in setButtonTintList() argument 263 mButtonTintList = tint; in setButtonTintList()
|
D | AbsSeekBar.java | 204 public void setThumbTintList(@Nullable ColorStateList tint) { in setThumbTintList() argument 205 mThumbTintList = tint; in setThumbTintList()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ISub.aidl | 103 int setIconTint(int tint, int subId); in setIconTint() argument
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionManager.java | 627 public int setIconTint(int tint, int subId) { in setIconTint() argument 628 if (VDBG) logd("[setIconTint]+ tint:" + tint + " subId:" + subId); in setIconTint() 639 result = iSub.setIconTint(tint, subId); in setIconTint()
|