Home
last modified time | relevance | path

Searched refs:tintColor (Results 1 – 9 of 9) sorted by relevance

/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java146 final ColorStateList tintColor = a.getColorStateList(0); in tintCompoundDrawables() local
149 if (tintColor != null) { in tintCompoundDrawables()
153 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
159 drawable.setColorFilter(tintColor.getDefaultColor(), Mode.SRC_IN); in tintCompoundDrawables()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBackgroundView.java137 public void setTint(int tintColor) { in setTint() argument
138 if (tintColor != 0) { in setTint()
139 mBackground.setColorFilter(tintColor, PorterDuff.Mode.SRC_ATOP); in setTint()
143 mTintColor = tintColor; in setTint()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSlashDrawable.java190 public void setTint(@ColorInt int tintColor) { in setTint() argument
191 super.setTint(tintColor); in setTint()
192 mDrawable.setTint(tintColor); in setTint()
193 mPaint.setColor(tintColor); in setTint()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBluetoothDeviceLayerDrawable.java115 final int tintColor = Utils.getColorAttrDefaultColor(context, in BatteryMeterDrawable() local
117 setColorFilter(new PorterDuffColorFilter(tintColor, PorterDuff.Mode.SRC_IN)); in BatteryMeterDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsEnrollProgressBarDrawable.java67 int tintColor = tc.getColor(0, mBackgroundCirclePaint.getColor()); in UdfpsEnrollProgressBarDrawable() local
68 mBackgroundCirclePaint.setColor(tintColor); in UdfpsEnrollProgressBarDrawable()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java309 final int tintColor = a.getColor(0, 0); in getIcon() local
311 icon.setTint(tintColor); in getIcon()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardBaseLayout.java248 int tintColor = mPartnerConfigHelper.getColor( in init() local
251 if (tintColor != INVALID_COLOR) { in init()
252 mProgressBar.setIndeterminateTintList(ColorStateList.valueOf(tintColor)); in init()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java656 public void setTint(@ColorInt int tintColor) { in setTint() argument
657 setTintList(ColorStateList.valueOf(tintColor)); in setTint()
/frameworks/base/core/java/android/app/
DNotification.java8966 int tintColor = mBuilder.getStandardActionColor(p); in bindMediaActionButton() local
8968 container.setDrawableTint(buttonId, false, tintColor, in bindMediaActionButton()
8972 int rippleColor = Color.argb(rippleAlpha, Color.red(tintColor), Color.green(tintColor), in bindMediaActionButton()
8973 Color.blue(tintColor)); in bindMediaActionButton()