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.java154 public void setTint(int tintColor) { in setTint() argument
155 if (tintColor != 0) { in setTint()
156 mBackground.setColorFilter(tintColor, PorterDuff.Mode.SRC_ATOP); in setTint()
160 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/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java369 int tintColor = getNotificationHeader().getOriginalIconColor(); in updateSeekBarTint() local
370 mSeekBarElapsedTime.setTextColor(tintColor); in updateSeekBarTint()
371 mSeekBarTotalTime.setTextColor(tintColor); in updateSeekBarTint()
374 ColorStateList tintList = ColorStateList.valueOf(tintColor); in updateSeekBarTint()
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DTile.java297 final int tintColor = a.getColor(0, 0); in getIcon() local
299 icon.setTint(tintColor); in getIcon()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardBaseLayout.java219 int tintColor = mPartnerConfigHelper.getColor( in init() local
222 if (tintColor != INVALID_COLOR) { in init()
223 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.java8176 int tintColor = mBuilder.shouldTintActionButtons() || mBuilder.isColorized(p) in bindMediaActionButton() local
8181 container.setDrawableTint(buttonId, false, tintColor, in bindMediaActionButton()
8188 int rippleColor = Color.argb(rippleAlpha, Color.red(tintColor), Color.green(tintColor), in bindMediaActionButton()
8189 Color.blue(tintColor)); in bindMediaActionButton()