Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DColorDrawable.java185 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 …]
DShapeDrawable.java294 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 …]
DNinePatchDrawable.java346 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 …]
DBitmapDrawable.java663 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 …]
DVectorDrawable.java293 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 …]
DGradientDrawable.java968 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/
DRoundRectDrawable.java54 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/
DImageViewBindingObject.java25 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/
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()
/frameworks/support/compat/ics/android/support/v4/graphics/drawable/
DDrawableWrapperApi14.java141 ? 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/
DQSIconViewImpl.java46 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/
DVectorDrawableCompat.java244 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 …]