Searched refs:tintAmount (Results 1 – 2 of 2) sorted by relevance
740 public static ColorFilter makeColorTintingColorFilter(int color, float tintAmount) { in makeColorTintingColorFilter() argument741 if (tintAmount == 0f) { in makeColorTintingColorFilter()746 ColorUtils.blendARGB(Color.WHITE, 0, tintAmount), in makeColorTintingColorFilter()747 ColorUtils.blendARGB(0, color, tintAmount)); in makeColorTintingColorFilter()
6051 private void setColorTint(float tintAmount) {6052 mColorTint = tintAmount;6060 if (tintAmount == 0f) {6065 ColorUtils.setAlphaComponent(mTintingColor, (int) (255 * tintAmount)));