/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 185 mColorState.mTint = tint; in setTintList() 193 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode() 200 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 201 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 209 return mColorState.mTint != null && mColorState.mTint.isStateful(); in isStateful() 215 return mColorState.mTint != null && mColorState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 306 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 307 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 324 ColorStateList mTint = null; field in ColorDrawable.ColorState 336 mTint = state.mTint; in ColorState() [all …]
|
D | ShapeDrawable.java | 294 mShapeState.mTint = tint; in setTintList() 302 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode() 355 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 356 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 365 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful() 371 return mShapeState.mTint != null && mShapeState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 445 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 446 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 483 state.mTint = tint; in updateStateFromTypedArray() 542 ColorStateList mTint; field in ShapeDrawable.ShapeState [all …]
|
D | NinePatchDrawable.java | 347 mNinePatchState.mTint = tint; in setTintList() 355 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode() 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.mTintMode != null) { in onStateChange() 571 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 581 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful() 587 return mNinePatchState.mTint != null && mNinePatchState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 595 ColorStateList mTint = null; field in NinePatchDrawable.NinePatchState [all …]
|
D | BitmapDrawable.java | 679 if (state.mTint != tint) { in setTintList() 680 state.mTint = tint; in setTintList() 691 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode() 700 return mBitmapState.mTint; in getTint() 745 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 746 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 754 return (mBitmapState.mTint != null && mBitmapState.mTint.isStateful()) in isStateful() 761 return mBitmapState.mTint != null && mBitmapState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 870 state.mTint = tint; in updateStateFromTypedArray() 920 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() [all …]
|
D | VectorDrawable.java | 372 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState() 473 if (state.mTint != tint) { in setTintList() 474 state.mTint = tint; in setTintList() 485 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 515 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 516 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 622 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 623 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 743 state.mTint = tint; in updateStateFromTypedArray() 910 ColorStateList mTint = null; field in VectorDrawable.VectorDrawableState [all …]
|
D | GradientDrawable.java | 987 if (s.mTint != null && s.mTintMode != null) { 988 mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode); 1006 || (s.mTint != null && s.mTint.isStateful()); 1015 || (s.mTint != null && s.mTint.hasFocusStateSpecified()); 1060 mGradientState.mTint = tint; 1068 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode); 1267 if (state.mTint != null && state.mTint.canApplyTheme()) { 1268 state.mTint = state.mTint.obtainForTheme(t); 1327 state.mTint = tint; 1831 ColorStateList mTint = null; [all …]
|
/frameworks/support/cardview/src/main/java/androidx/cardview/widget/ |
D | RoundRectDrawable.java | 52 private ColorStateList mTint; field in RoundRectDrawable 169 mTint = tint; in setTintList() 170 mTintFilter = createTintFilter(mTint, mTintMode); in setTintList() 177 mTintFilter = createTintFilter(mTint, mTintMode); in setTintMode() 188 if (mTint != null && mTintMode != null) { in onStateChange() 189 mTintFilter = createTintFilter(mTint, mTintMode); in onStateChange() 197 return (mTint != null && mTint.isStateful()) in isStateful()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/ |
D | ImageViewBindingObject.java | 25 private int mTint; field in ImageViewBindingObject 34 return mTint; in getTint() 46 mTint = 0xFF111111; in changeValues()
|
/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/support/compat/src/main/java/androidx/core/graphics/drawable/ |
D | WrappedDrawableApi14.java | 131 ? mState.mTint in isStateful() 282 mState.mTint = tint; in setTintList() 298 final ColorStateList tintList = mState.mTint; in updateTint() 360 ColorStateList mTint = null; field in WrappedDrawableApi14.DrawableWrapperState 367 mTint = orig.mTint; in DrawableWrapperState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 50 private int mTint; field in QSIconViewImpl 140 if (iv.isShown() && mTint != 0) { in setIcon() 141 animateGrayScale(mTint, color, iv, () -> updateIcon(iv, state)); in setIcon() 142 mTint = color; in setIcon() 150 mTint = color; in setIcon()
|
/frameworks/support/graphics/drawable/static/src/main/java/androidx/vectordrawable/graphics/drawable/ |
D | VectorDrawableCompat.java | 250 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in VectorDrawableCompat() 419 if (state.mTint != tint) { in setTintList() 420 state.mTint = tint; in setTintList() 436 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 447 return super.isStateful() || (mVectorState != null && mVectorState.mTint != null in isStateful() 448 && mVectorState.mTint.isStateful()); in isStateful() 458 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 459 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 634 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in inflate() 676 state.mTint = tint; in updateStateFromTypedArray() [all …]
|