/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 211 mColorState.mTint = tint; in setTintList() 220 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, mColorState.mTint, in setTintBlendMode() 228 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 229 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, state.mTint, in onStateChange() 238 return mColorState.mTint != null && mColorState.mTint.isStateful(); in isStateful() 244 return mColorState.mTint != null && mColorState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 335 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 336 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 354 ColorStateList mTint = null; field in ColorDrawable.ColorState 366 mTint = state.mTint; in ColorState() [all …]
|
D | ColorStateListDrawable.java | 85 if (mState.mTint != null) { in applyTheme() 86 setTintList(mState.mTint.obtainForTheme(t)); in applyTheme() 112 mState.mTint = tint; in setTintList() 244 ColorStateList mTint = null; field in ColorStateListDrawable.ColorStateListDrawableState 254 mTint = state.mTint; in ColorStateListDrawableState() 269 | (mTint != null ? mTint.getChangingConfigurations() : 0); in getChangingConfigurations() 274 || (mTint != null && mTint.isStateful()); in isStateful() 279 || (mTint != null && mTint.hasFocusStateSpecified()); in hasFocusStateSpecified() 285 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme() 298 if (mState.mTint != null) { in initializeColorDrawable() [all …]
|
D | ShapeDrawable.java | 293 mShapeState.mTint = tint; in setTintList() 302 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, mShapeState.mTint, in setTintBlendMode() 356 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 357 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, state.mTint, in onStateChange() 367 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful() 373 return mShapeState.mTint != null && mShapeState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 447 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 448 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 485 state.mTint = tint; in updateStateFromTypedArray() 544 ColorStateList mTint; field in ShapeDrawable.ShapeState [all …]
|
D | NinePatchDrawable.java | 345 mNinePatchState.mTint = tint; in setTintList() 354 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, mNinePatchState.mTint, in setTintBlendMode() 476 state.mTint = tint; in updateStateFromTypedArray() 501 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 502 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 570 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 571 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, state.mTint, in onStateChange() 582 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful() 588 return mNinePatchState.mTint != null && mNinePatchState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 597 ColorStateList mTint = null; field in NinePatchDrawable.NinePatchState [all …]
|
D | BitmapDrawable.java | 679 if (state.mTint != tint) { in setTintList() 680 state.mTint = tint; in setTintList() 692 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, mBitmapState.mTint, in setTintBlendMode() 703 return mBitmapState.mTint; in getTint() 749 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 750 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, state.mTint, in onStateChange() 759 return (mBitmapState.mTint != null && mBitmapState.mTint.isStateful()) in isStateful() 766 return mBitmapState.mTint != null && mBitmapState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 875 state.mTint = tint; in updateStateFromTypedArray() 925 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() [all …]
|
D | VectorDrawable.java | 378 updateColorFilters(mVectorState.mBlendMode, mVectorState.mTint); in updateLocalState() 481 if (state.mTint != tint) { in setTintList() 482 state.mTint = tint; in setTintList() 495 updateColorFilters(state.mBlendMode, state.mTint); in setTintBlendMode() 525 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 527 ColorStateList tint = state.mTint; in onStateChange() 639 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 640 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 760 state.mTint = tint; in updateStateFromTypedArray() 928 ColorStateList mTint = null; field in VectorDrawable.VectorDrawableState [all …]
|
D | GradientDrawable.java | 1133 if (s.mTint != null && s.mBlendMode != null) { 1134 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, s.mTint, 1153 || (s.mTint != null && s.mTint.isStateful()); 1162 || (s.mTint != null && s.mTint.hasFocusStateSpecified()); 1207 mGradientState.mTint = tint; 1216 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, mGradientState.mTint, 1416 if (state.mTint != null && state.mTint.canApplyTheme()) { 1417 state.mTint = state.mTint.obtainForTheme(t); 1476 state.mTint = tint; 1970 ColorStateList mTint = null; field in GradientDrawable.GradientState [all …]
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | TintFilter.java | 32 private int mTint = 0xFF0000FF; field in TintFilter 123 float tint_color[] = {Color.red(mTint) / 255f, in updateParameters() 124 Color.green(mTint) / 255f, in updateParameters() 125 Color.blue(mTint) / 255f }; in updateParameters()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 49 private int mTint; field in QSIconViewImpl 82 sb.append(", tint=" + mTint); in toString() 153 if (mTint != 0 && allowAnimations && shouldAnimate(iv)) { in setIcon() 154 animateGrayScale(mTint, color, iv, () -> updateIcon(iv, state, allowAnimations)); in setIcon() 155 mTint = color; in setIcon() 163 mTint = color; in setIcon()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 19679 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mTint:Landroid/content/res/ColorStateList; 19724 Landroid/graphics/drawable/ColorDrawable$ColorState;->mTint:Landroid/content/res/ColorStateList; 19871 Landroid/graphics/drawable/GradientDrawable$GradientState;->mTint:Landroid/content/res/ColorStateLi… 20074 Landroid/graphics/drawable/NinePatchDrawable$NinePatchState;->mTint:Landroid/content/res/ColorState… 20280 Landroid/graphics/drawable/ShapeDrawable$ShapeState;->mTint:Landroid/content/res/ColorStateList; 20379 Landroid/graphics/drawable/VectorDrawable$VectorDrawableState;->mTint:Landroid/content/res/ColorSta…
|