Home
last modified time | relevance | path

Searched refs:mImageTint (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DAppCompatImageHelper.java41 private TintInfo mImageTint; field in AppCompatImageHelper
109 if (mImageTint == null) { in setSupportImageTintList()
110 mImageTint = new TintInfo(); in setSupportImageTintList()
112 mImageTint.mTintList = tint; in setSupportImageTintList()
113 mImageTint.mHasTintList = true; in setSupportImageTintList()
118 return mImageTint != null ? mImageTint.mTintList : null; in getSupportImageTintList()
122 if (mImageTint == null) { in setSupportImageTintMode()
123 mImageTint = new TintInfo(); in setSupportImageTintMode()
125 mImageTint.mTintMode = tintMode; in setSupportImageTintMode()
126 mImageTint.mHasTintMode = true; in setSupportImageTintMode()
[all …]
/frameworks/support/wear/src/android/support/wear/widget/
DCircledImageView.java102 private Integer mImageTint; field in CircledImageView
178 mImageTint = a.getColor(R.styleable.CircledImageView_image_tint, 0); in CircledImageView()
287 if (mImageTint != null) { in onDraw()
288 mDrawable.setTint(mImageTint); in onDraw()
434 if (mImageTint == null || tint != mImageTint) { in setImageTint()
435 mImageTint = tint; in setImageTint()