Home
last modified time | relevance | path

Searched refs:mTint (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java180 mColorState.mTint = tint; in setTintList()
188 mTintFilter = updateTintFilter(mTintFilter, mColorState.mTint, tintMode); in setTintMode()
195 if (state.mTint != null && state.mTintMode != null) { in onStateChange()
196 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
204 return mColorState.mTint != null && mColorState.mTint.isStateful(); in isStateful()
284 ColorStateList mTint = null; field in ColorDrawable.ColorState
296 mTint = state.mTint; in ColorState()
323 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in ColorDrawable()
DShapeDrawable.java289 mShapeState.mTint = tint; in setTintList()
297 mTintFilter = updateTintFilter(mTintFilter, mShapeState.mTint, tintMode); in setTintMode()
340 if (state.mTint != null && state.mTintMode != null) { in onStateChange()
341 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
350 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful()
455 state.mTint = tint; in updateStateFromTypedArray()
526 ColorStateList mTint = null; field in ShapeDrawable.ShapeState
539 mTint = orig.mTint; in ShapeState()
588 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in initializeWithState()
DNinePatchDrawable.java352 mNinePatchState.mTint = tint; in setTintList()
360 mTintFilter = updateTintFilter(mTintFilter, mNinePatchState.mTint, tintMode); in setTintMode()
468 state.mTint = tint; in updateStateFromTypedArray()
578 if (state.mTint != null && state.mTintMode != null) { in onStateChange()
579 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
589 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful()
596 ColorStateList mTint = null; field in NinePatchDrawable.NinePatchState
634 mTint = state.mTint; in NinePatchState()
706 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in initializeWithState()
DBitmapDrawable.java638 mBitmapState.mTint = tint; in setTintList()
646 mTintFilter = updateTintFilter(mTintFilter, mBitmapState.mTint, tintMode); in setTintMode()
654 return mBitmapState.mTint; in getTint()
699 if (state.mTint != null && state.mTintMode != null) { in onStateChange()
700 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in onStateChange()
709 return super.isStateful() || (s.mTint != null && s.mTint.isStateful()); in isStateful()
776 state.mTint = tint; in updateStateFromTypedArray()
878 ColorStateList mTint = null; field in BitmapDrawable.BitmapState
897 mTint = bitmapState.mTint; in BitmapState()
962 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in initializeWithState()
DVectorDrawable.java218 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode); in VectorDrawable()
313 if (state.mTint != tint) { in setTintList()
314 state.mTint = tint; in setTintList()
325 mTintFilter = updateTintFilter(mTintFilter, state.mTint, tintMode); in setTintMode()
332 return super.isStateful() || (mVectorState != null && mVectorState.mTint != null in isStateful()
333 && mVectorState.mTint.isStateful()); in isStateful()
339 if (state.mTint != null && state.mTintMode != null) { in onStateChange()
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()
[all …]
DGradientDrawable.java776 if (s.mTint != null && s.mTintMode != null) {
777 mTintFilter = updateTintFilter(mTintFilter, s.mTint, s.mTintMode);
795 || (s.mTint != null && s.mTint.isStateful());
839 mGradientState.mTint = tint;
847 mTintFilter = updateTintFilter(mTintFilter, mGradientState.mTint, tintMode);
1088 state.mTint = tint;
1091 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);
1569 ColorStateList mTint = null;
1624 mTint = state.mTint;
1799 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state.mTintMode);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DTintFilter.java32 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()