/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 | 346 mNinePatchState.mTint = tint; in setTintList() 354 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode() 469 state.mTint = tint; in updateStateFromTypedArray() 494 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 495 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 563 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 564 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 574 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful() 580 return mNinePatchState.mTint != null && mNinePatchState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 588 ColorStateList mTint = null; field in NinePatchDrawable.NinePatchState [all …]
|
D | BitmapDrawable.java | 663 if (state.mTint != tint) { in setTintList() 664 state.mTint = tint; in setTintList() 675 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode() 684 return mBitmapState.mTint; in getTint() 729 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 730 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 738 return (mBitmapState.mTint != null && mBitmapState.mTint.isStateful()) in isStateful() 745 return mBitmapState.mTint != null && mBitmapState.mTint.hasFocusStateSpecified(); in hasFocusStateSpecified() 844 state.mTint = tint; in updateStateFromTypedArray() 894 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() [all …]
|
D | VectorDrawable.java | 293 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState() 394 if (state.mTint != tint) { in setTintList() 395 state.mTint = tint; in setTintList() 406 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 436 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 437 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 543 if (state.mTint != null && state.mTint.canApplyTheme()) { in applyTheme() 544 state.mTint = state.mTint.obtainForTheme(t); in applyTheme() 658 state.mTint = tint; in updateStateFromTypedArray() 818 ColorStateList mTint = null; field in VectorDrawable.VectorDrawableState [all …]
|
D | GradientDrawable.java | 968 if (s.mTint != null && s.mTintMode != null) { 969 mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode); 987 || (s.mTint != null && s.mTint.isStateful()); 996 || (s.mTint != null && s.mTint.hasFocusStateSpecified()); 1041 mGradientState.mTint = tint; 1049 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode); 1248 if (state.mTint != null && state.mTint.canApplyTheme()) { 1249 state.mTint = state.mTint.obtainForTheme(t); 1308 state.mTint = tint; 1812 ColorStateList mTint = null; [all …]
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | RoundRectDrawable.java | 54 private ColorStateList mTint; field in RoundRectDrawable 171 mTint = tint; in setTintList() 172 mTintFilter = createTintFilter(mTint, mTintMode); in setTintList() 179 mTintFilter = createTintFilter(mTint, mTintMode); in setTintMode() 190 if (mTint != null && mTintMode != null) { in onStateChange() 191 mTintFilter = createTintFilter(mTint, mTintMode); in onStateChange() 199 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/ics/android/support/v4/graphics/drawable/ |
D | DrawableWrapperApi14.java | 141 ? mState.mTint in isStateful() 277 mState.mTint = tint; in setTintList() 293 final ColorStateList tintList = mState.mTint; in updateTint() 355 ColorStateList mTint = null; field in DrawableWrapperApi14.DrawableWrapperState 362 mTint = orig.mTint; in DrawableWrapperState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSIconViewImpl.java | 46 private int mTint; field in QSIconViewImpl 126 if (iv.isShown() && mTint != 0) { in setIcon() 127 animateGrayScale(mTint, color, iv); in setIcon() 128 mTint = color; in setIcon() 131 mTint = color; in setIcon()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 244 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in VectorDrawableCompat() 413 if (state.mTint != tint) { in setTintList() 414 state.mTint = tint; in setTintList() 430 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 441 return super.isStateful() || (mVectorState != null && mVectorState.mTint != null in isStateful() 442 && mVectorState.mTint.isStateful()); in isStateful() 452 if (state.mTint != null && state.mTintMode != null) { in onStateChange() 453 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 628 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in inflate() 674 state.mTint = tint; in updateStateFromTypedArray() [all …]
|