Home
last modified time | relevance | path

Searched refs:mTintFilter (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java49 private PorterDuffColorFilter mTintFilter; field in ColorDrawable
102 if ((mColorState.mUseColor >>> 24) != 0 || colorFilter != null || mTintFilter != null) { in draw()
104 mPaint.setColorFilter(mTintFilter); in draw()
181 mTintFilter = updateTintFilter(mTintFilter, tint, mColorState.mTintMode); in setTintList()
188 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode()
196 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
209 if (mTintFilter != null || mPaint.getColorFilter() != null) { in getOpacity()
323 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in ColorDrawable()
DShapeDrawable.java72 private PorterDuffColorFilter mTintFilter; field in ShapeDrawable
235 if (mTintFilter != null && paint.getColorFilter() == null) { in draw()
236 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()
588 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in initializeWithState()
DNinePatchDrawable.java71 private PorterDuffColorFilter mTintFilter; field in NinePatchDrawable
234 if (mTintFilter != null && getPaint().getColorFilter() == null) { in draw()
235 mPaint.setColorFilter(mTintFilter); in draw()
353 mTintFilter = updateTintFilter(mTintFilter, tint, mNinePatchState.mTintMode); in setTintList()
360 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode()
579 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
706 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in initializeWithState()
DBitmapDrawable.java88 private PorterDuffColorFilter mTintFilter; field in BitmapDrawable
520 if (mTintFilter != null && paint.getColorFilter() == null) { in draw()
521 paint.setColorFilter(mTintFilter); in draw()
639 mTintFilter = updateTintFilter(mTintFilter, tint, mBitmapState.mTintMode); in setTintList()
646 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode()
700 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
962 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in initializeWithState()
DVectorDrawable.java203 private PorterDuffColorFilter mTintFilter; field in VectorDrawable
218 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in VectorDrawable()
266 final ColorFilter colorFilter = mColorFilter == null ? mTintFilter : mColorFilter; in draw()
315 mTintFilter = updateTintFilter(mTintFilter, tint, state.mTintMode); in setTintList()
325 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode()
340 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
383 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in applyTheme()
462 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in inflate()
DGradientDrawable.java139 private PorterDuffColorFilter mTintFilter; field in GradientDrawable
529 final ColorFilter colorFilter = mColorFilter != null ? mColorFilter : mTintFilter; in draw()
777 mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode);
840 mTintFilter = updateTintFilter(mTintFilter, tint, mGradientState.mTintMode);
847 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode);
1091 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);
1799 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);