Home
last modified time | relevance | path

Searched refs:mTint (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java211 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 …]
DColorStateListDrawable.java85 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 …]
DShapeDrawable.java293 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 …]
DNinePatchDrawable.java345 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 …]
DBitmapDrawable.java679 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 …]
DVectorDrawable.java378 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 …]
DGradientDrawable.java1133 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/
DTintFilter.java32 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/
DQSIconViewImpl.java49 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/
Dhiddenapi-greylist-max-o.txt19679 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…