/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 | 1144 if (s.mTint != null && s.mBlendMode != null) { 1145 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, s.mTint, 1164 || (s.mTint != null && s.mTint.isStateful()); 1173 || (s.mTint != null && s.mTint.hasFocusStateSpecified()); 1218 mGradientState.mTint = tint; 1227 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, mGradientState.mTint, 1427 if (state.mTint != null && state.mTint.canApplyTheme()) { 1428 state.mTint = state.mTint.obtainForTheme(t); 1487 state.mTint = tint; 2023 ColorStateList mTint = null; [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()
|