/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ColorDrawable.java | 53 private PorterDuffColorFilter mTintFilter; field in ColorDrawable 106 if ((mColorState.mUseColor >>> 24) != 0 || colorFilter != null || mTintFilter != null) { in draw() 108 mPaint.setColorFilter(mTintFilter); in draw() 186 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode); in setTintList() 193 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode() 201 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 239 if (mTintFilter != null || mPaint.getColorFilter() != null) { in getOpacity() 375 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, mColorState.mTintMode); in updateLocalState()
|
D | ShapeDrawable.java | 78 private PorterDuffColorFilter mTintFilter; field in ShapeDrawable 241 if (mTintFilter != null && paint.getColorFilter() == null) { in draw() 242 paint.setColorFilter(mTintFilter); in draw() 295 mTintFilter = updateTintFilter(mTintFilter, tint, mShapeState.mTintMode); in setTintList() 302 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode() 356 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 628 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, mShapeState.mTintMode); in updateLocalState()
|
D | NinePatchDrawable.java | 74 private PorterDuffColorFilter mTintFilter; field in NinePatchDrawable 199 if (mTintFilter != null && getPaint().getColorFilter() == null) { in draw() 200 mPaint.setColorFilter(mTintFilter); in draw() 347 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode); in setTintList() 354 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode() 564 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 746 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in updateLocalState()
|
D | BitmapDrawable.java | 90 private PorterDuffColorFilter mTintFilter; field in BitmapDrawable 511 if (mTintFilter != null && paint.getColorFilter() == null) { in draw() 512 paint.setColorFilter(mTintFilter); in draw() 665 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode); in setTintList() 675 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode() 730 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 1033 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, mBitmapState.mTintMode); in updateLocalState()
|
D | GradientDrawable.java | 163 private PorterDuffColorFilter mTintFilter; field in GradientDrawable 703 final ColorFilter colorFilter = mColorFilter != null ? mColorFilter : mTintFilter; in draw() 969 mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode); 1042 mTintFilter = updateTintFilter(mTintFilter, tint, mGradientState.mTintMode); 1049 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode); 2152 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);
|
D | VectorDrawable.java | 245 private PorterDuffColorFilter mTintFilter; field in VectorDrawable 293 mTintFilter = updateTintFilter(mTintFilter, mVectorState.mTint, mVectorState.mTintMode); in updateLocalState() 334 final ColorFilter colorFilter = (mColorFilter == null ? mTintFilter : mColorFilter); in draw() 396 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); in setTintList() 406 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 437 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | BarTransitions.java | 152 private PorterDuffColorFilter mTintFilter; field in BarTransitions.BarBackgroundDrawable 188 if (mTintFilter == null) { in setTint() 189 mTintFilter = new PorterDuffColorFilter(color, PorterDuff.Mode.SRC_IN); in setTint() 191 mTintFilter.setColor(color); in setTint() 198 if (mTintFilter == null) { in setTintMode() 199 mTintFilter = new PorterDuffColorFilter(0, tintMode); in setTintMode() 201 mTintFilter.setMode(tintMode); in setTintMode() 280 if (mTintFilter != null) { in draw() 281 mPaint.setColorFilter(mTintFilter); in draw()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | RoundRectDrawable.java | 53 private PorterDuffColorFilter mTintFilter; field in RoundRectDrawable 92 if (mTintFilter != null && paint.getColorFilter() == null) { in draw() 93 paint.setColorFilter(mTintFilter); in draw() 172 mTintFilter = createTintFilter(mTint, mTintMode); in setTintList() 179 mTintFilter = createTintFilter(mTint, mTintMode); in setTintMode() 191 mTintFilter = createTintFilter(mTint, mTintMode); in onStateChange()
|
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/ |
D | VectorDrawableCompat.java | 221 private PorterDuffColorFilter mTintFilter; field in VectorDrawableCompat 244 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in VectorDrawableCompat() 290 final ColorFilter colorFilter = (mColorFilter == null ? mTintFilter : mColorFilter); in draw() 415 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); in setTintList() 430 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode() 453 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange() 628 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in inflate()
|