Lines Matching refs:clamp
1192 $hsl[3] = $this->clamp($hsl[3] - $delta, 100);
1200 $hsl[3] = $this->clamp($hsl[3] + $delta, 100);
1208 $hsl[2] = $this->clamp($hsl[2] + $delta, 100);
1216 $hsl[2] = $this->clamp($hsl[2] - $delta, 100);
1233 $color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) - $delta/100);
1239 $color[4] = $this->clamp((isset($color[4]) ? $color[4] : 1) + $delta/100);
1269 $color[4] = $this->clamp($alpha / 100.0);
1484 protected function clamp($v, $max = 1, $min = 0) { function in lessc
1504 if ($i == 0) $clamp = 360;
1505 elseif ($i < 3) $clamp = 100;
1506 else $clamp = 1;
1508 $hsl[] = $this->clamp($val, $clamp);