/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 212 mColorState.mTint = tint; in setTintList() 221 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, mColorState.mTint, in setTintBlendMode() 229 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 230 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, state.mTint, in onStateChange() 239 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 | 91 if (mState.mTint != null) { in applyTheme() 92 setTintList(mState.mTint.obtainForTheme(t)); in applyTheme() 118 mState.mTint = tint; in setTintList() 250 ColorStateList mTint = null; field in ColorStateListDrawable.ColorStateListDrawableState 260 mTint = state.mTint; in ColorStateListDrawableState() 275 | (mTint != null ? mTint.getChangingConfigurations() : 0); in getChangingConfigurations() 280 || (mTint != null && mTint.isStateful()); in isStateful() 285 || (mTint != null && mTint.hasFocusStateSpecified()); in hasFocusStateSpecified() 291 || (mTint != null && mTint.canApplyTheme()); in canApplyTheme() 299 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() 372 return mShapeState.mTint != null && mShapeState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 446 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 447 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 484 state.mTint = tint; in updateStateFromTypedArray() 543 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() 587 return mNinePatchState.mTint != null && mNinePatchState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 596 ColorStateList mTint = null; field in NinePatchDrawable.NinePatchState [all …]
|
D | BitmapDrawable.java | 680 if (state.mTint != tint) { in setTintList() 681 state.mTint = tint; in setTintList() 693 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, mBitmapState.mTint, in setTintBlendMode() 704 return mBitmapState.mTint; in getTint() 750 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 751 mBlendModeFilter = updateBlendModeFilter(mBlendModeFilter, state.mTint, in onStateChange() 760 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 | 383 updateColorFilters(mVectorState.mBlendMode, mVectorState.mTint); in updateLocalState() 486 if (state.mTint != tint) { in setTintList() 487 state.mTint = tint; in setTintList() 500 updateColorFilters(state.mBlendMode, state.mTint); in setTintBlendMode() 529 if (state.mTint != null && state.mBlendMode != null) { in onStateChange() 531 ColorStateList tint = state.mTint; in onStateChange() 643 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 644 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 764 state.mTint = tint; in updateStateFromTypedArray() 932 ColorStateList mTint = null; field in VectorDrawable.VectorDrawableState [all …]
|
D | GradientDrawable.java | 1157 if (s.mTint != null && s.mBlendMode != null) { 1158 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, s.mTint, 1177 || (s.mTint != null && s.mTint.isStateful()); 1185 || (s.mTint != null && s.mTint.hasFocusStateSpecified()); 1230 mGradientState.mTint = tint; 1239 mBlendModeColorFilter = updateBlendModeFilter(mBlendModeColorFilter, mGradientState.mTint, 1447 if (state.mTint != null && state.mTint.canApplyTheme()) { 1448 state.mTint = state.mTint.obtainForTheme(t); 1515 state.mTint = tint; 2061 ColorStateList mTint = null; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AlphaTintDrawableWrapper.java | 52 private ColorStateList mTint; field in AlphaTintDrawableWrapper 104 mTint = a.getColorStateList(R.styleable.AlphaTintDrawableWrapper_android_tint); in updateStateFromTypedArray() 115 mTint = tint; in setTintList() 119 if (getDrawable() != null && mTint != null) { in applyTint() 120 getDrawable().mutate().setTintList(mTint); in applyTint() 127 return new AlphaTintState(super.getConstantState(), mThemeAttrs, getAlpha(), mTint); in getConstantState()
|
/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/ |
D | PageIndicator.java | 42 private @NonNull ColorStateList mTint; field in PageIndicator 70 mTint = array.getColorStateList(0); in PageIndicator() 72 mTint = Utils.getColorAccent(context); in PageIndicator() 96 v.setImageTintList(mTint); in setNumPages() 109 return mTint; in getTintList() 119 if (color.equals(mTint)) { in setTintList() 122 mTint = color; in setTintList() 127 ((ImageView) v).setImageTintList(mTint); in setTintList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 54 private int mTint; field in QSIconViewImpl 97 sb.append(", tint=" + mTint); in toString() 172 if (mTint != 0 && allowAnimations && shouldAnimate(iv)) { in setIcon() 173 animateGrayScale(mTint, color, iv, () -> updateIcon(iv, state, allowAnimations)); in setIcon() 219 mTint = color; in setTint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 132 private int mTint; field in RemoteInputView 186 mTint = ta.getColor(0, 0); in RemoteInputView() 212 if (colorized == mColorized && backgroundColor == mTint) return; in setBackgroundTintColor() 214 mTint = backgroundColor; in setBackgroundTintColor()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 16792 Landroid/graphics/drawable/BitmapDrawable$BitmapState;->mTint:Landroid/content/res/ColorStateList; 16837 Landroid/graphics/drawable/ColorDrawable$ColorState;->mTint:Landroid/content/res/ColorStateList; 16984 Landroid/graphics/drawable/GradientDrawable$GradientState;->mTint:Landroid/content/res/ColorStateLi… 17187 Landroid/graphics/drawable/NinePatchDrawable$NinePatchState;->mTint:Landroid/content/res/ColorState… 17393 Landroid/graphics/drawable/ShapeDrawable$ShapeState;->mTint:Landroid/content/res/ColorStateList; 17492 Landroid/graphics/drawable/VectorDrawable$VectorDrawableState;->mTint:Landroid/content/res/ColorSta…
|