Lines Matching defs:contrast
2499 const rgb_color& background, float contrast, float brightness,
2543 contrast * ((flags & B_DISABLED) != 0 ? 0.3 : 0.8),
2546 contrast * ((flags & B_DISABLED) != 0 ? 0.3 : 0.8),
2569 contrast * ((flags & B_DISABLED) != 0 ? 0.0 : 1.0),
2572 contrast * (flags & B_DISABLED) != 0 ? 0.0 : 1.0,
2635 contrast * ((flags & B_DISABLED) != 0 ? 0.3 : 0.8),
2640 contrast * ((flags & B_DISABLED) != 0 ? 0.0 : 1.0),
2667 const rgb_color& base, float contrast, float brightness, uint32 flags,
2670 rgb_color edgeLightColor = _EdgeLightColor(base, contrast,
2672 rgb_color edgeShadowColor = _EdgeShadowColor(base, contrast,
3679 HaikuControlLook::_EdgeLightColor(const rgb_color& base, float contrast,
3685 uint8 alpha = uint8(20 * contrast);
3693 if (contrast == 0.0)
3695 else if (contrast != 1.0)
3696 tintLight = B_NO_TINT + (tintLight - B_NO_TINT) * contrast;
3712 HaikuControlLook::_EdgeShadowColor(const rgb_color& base, float contrast,
3718 uint8 alpha = uint8(20 * contrast);
3723 if (contrast == 0.0)
3725 else if (contrast != 1.0)
3726 tintShadow = B_NO_TINT + (tintShadow - B_NO_TINT) * contrast;