/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 51 private PorterDuffColorFilter mTintFilter; field in ColorDrawable 104 if ((mColorState.mUseColor >>> 24) != 0 || colorFilter != null || mTintFilter != null) { in draw() 106 mPaint.setColorFilter(mTintFilter); in draw() 184 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode); in setTintList() 191 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode() 199 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 212 if (mTintFilter != null || mPaint.getColorFilter() != null) { in getOpacity() 348 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, mColorState.mTintMode); in updateLocalState()
|
D | ShapeDrawable.java | 73 private PorterDuffColorFilter mTintFilter; field in ShapeDrawable 236 if (mTintFilter != null && paint.getColorFilter() == null) { in draw() 237 paint.setColorFilter(mTintFilter); in draw() 290 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode); in setTintList() 297 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode() 341 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 597 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, mShapeState.mTintMode); in updateLocalState()
|
D | NinePatchDrawable.java | 75 private PorterDuffColorFilter mTintFilter; field in NinePatchDrawable 200 if (mTintFilter != null && getPaint().getColorFilter() == null) { in draw() 201 mPaint.setColorFilter(mTintFilter); in draw() 348 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode); in setTintList() 355 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode() 565 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 750 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in updateLocalState()
|
D | BitmapDrawable.java | 89 private PorterDuffColorFilter mTintFilter; field in BitmapDrawable 527 if (mTintFilter != null && paint.getColorFilter() == null) { in draw() 528 paint.setColorFilter(mTintFilter); in draw() 648 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode); in setTintList() 658 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode() 713 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 985 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, mBitmapState.mTintMode); in updateLocalState()
|
D | GradientDrawable.java | 163 private PorterDuffColorFilter mTintFilter; field in GradientDrawable 674 final ColorFilter colorFilter = mColorFilter != null ? mColorFilter : mTintFilter; in draw() 940 mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode); 1004 mTintFilter = updateTintFilter(mTintFilter, tint, mGradientState.mTintMode); 1011 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode); 2114 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);
|
D | VectorDrawable.java | 217 private PorterDuffColorFilter mTintFilter; field in VectorDrawable 265 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState() 306 final ColorFilter colorFilter = (mColorFilter == null ? mTintFilter : mColorFilter); in draw() 368 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); in setTintList() 378 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 403 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 151 private PorterDuffColorFilter mTintFilter; field in BarTransitions.BarBackgroundDrawable 187 if (mTintFilter == null) { in setTint() 188 mTintFilter = new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN); in setTint() 190 mTintFilter.setColor(color); in setTint() 197 if (mTintFilter == null) { in setTintMode() 198 mTintFilter = new PorterDuffColorFilter(0, tintMode); in setTintMode() 200 mTintFilter.setMode(tintMode); in setTintMode() 279 if (mTintFilter != null) { in draw() 280 mPaint.setColorFilter(mTintFilter); in draw()
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
D | RoundRectDrawable.java | 51 private PorterDuffColorFilter mTintFilter; field in RoundRectDrawable 90 if (mTintFilter != null && paint.getColorFilter() == null) { in draw() 91 paint.setColorFilter(mTintFilter); in draw() 170 mTintFilter = createTintFilter(mTint, mTintMode); in setTintList() 177 mTintFilter = createTintFilter(mTint, mTintMode); in setTintMode() 189 mTintFilter = createTintFilter(mTint, mTintMode); in onStateChange()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 94 private PorterDuffColorFilter mTintFilter; field in VectorDrawableCompat 117 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in VectorDrawableCompat() 163 final ColorFilter colorFilter = (mColorFilter == null ? mTintFilter : mColorFilter); in draw() 288 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); in setTintList() 303 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 326 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 484 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in inflate()
|