Home
last modified time | relevance | path

Searched refs:ratio (Results 1 – 25 of 159) sorted by relevance

1234567

/plugin/authgooglesheets/vendor/google/apiclient-services/src/ShoppingContent/
DLoyaltyPoints.php30 public $ratio; variable in Google\\Service\\ShoppingContent\\LoyaltyPoints
60 public function setRatio($ratio) argument
62 $this->ratio = $ratio;
66 return $this->ratio;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Dialogflow/
DGoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval.php24 public $ratio; variable in Google\\Service\\Dialogflow\\GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
43 public function setRatio($ratio) argument
45 $this->ratio = $ratio;
49 return $this->ratio;
DGoogleCloudDialogflowCxV3ExperimentResultMetric.php29 public $ratio; variable in Google\\Service\\Dialogflow\\GoogleCloudDialogflowCxV3ExperimentResultMetric
71 public function setRatio($ratio) argument
73 $this->ratio = $ratio;
77 return $this->ratio;
/plugin/combo/ComboStrap/
H A DFetcherImage.php57 $ratio = $this->getRequestedAspectRatio();
58 $url->addQueryParameterIfNotPresent(Dimension::RATIO_ATTRIBUTE, $ratio);
339 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
341 $ratio = $this->getIntrinsicAspectRatio();
343 return self::round($width / $ratio);
353 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
354 [$croppedWidth, $croppedHeight] = $this->getCroppingDimensionsWithRatio($ratio);
389 $ratio = $this->getCalculatedRequestedAspectRatioAsFloat();
391 $ratio = $this->getIntrinsicAspectRatio();
393 return self::round($ratio * $height);
[all …]
H A DPageImageTag.php130 $ratio = $tagAttributes->getValueAndRemoveIfPresent(Dimension::RATIO_ATTRIBUTE);
131 if ($width === null && $height !== null && $ratio === null) {
134 if ($width !== null && $height !== null && $ratio === null) {
140 if ($ratio !== null) {
142 $imageFetcher->setRequestedAspectRatio($ratio);
144 … LogUtility::error("The ratio value ($ratio) is not a valid ratio for the icon image ($icon)");
H A DConditionalLength.php147 $ratio = $this->getRatio();
148 if ($ratio > 1) {
149 …throw new ExceptionBadArgument("The length ratio ($ratio) is greater than 1. It should be less tha…
H A DColorRgb.php724 $ratio = ($lighter->getLuminance() + 0.05) / ($darker->getLuminance() + 0.05);
725 return floor($ratio * 100) / 100;
735 $ratio = $this->getContrastRatio($targetColor);
738 while ($ratio < $minimum) {
744 $ratio = $newColorRgb->getContrastRatio($targetColor);
/plugin/ckgedit/ckeditor/skins/moono/
Dskin.js89 function channelBrightness( channel, ratio ) { argument
90 var brighten = ratio < 0 ? (
91 0 | channel * ( 1 + ratio )
93 0 | channel + ( 255 - channel ) * ratio
99 return function( hexColor, ratio ) { argument
103 channels[ i ] = channelBrightness( parseInt( channels[ i ], 16 ), ratio );
/plugin/ckgdoku/ckeditor/skins/moono/
Dskin.js89 function channelBrightness( channel, ratio ) { argument
90 var brighten = ratio < 0 ? (
91 0 | channel * ( 1 + ratio )
93 0 | channel + ( 255 - channel ) * ratio
99 return function( hexColor, ratio ) { argument
103 channels[ i ] = channelBrightness( parseInt( channels[ i ], 16 ), ratio );
/plugin/colorswatch/
Dstyle.css16 --ratio: 0.66;
25 height: calc(var(--ratio) * var(--tiny-height) * 1rem);
34 height: calc(var(--ratio) * var(--small-height) * 1rem);
43 height: calc(var(--ratio) * var(--middle-height) * 1rem);
52 height: calc(var(--ratio) * var(--large-height) * 1rem);
/plugin/photogallery/
Dsyntax.php707 $ratio = $this->_fill_ratio($mw,$mh,$vpw,$vph);
708 $iw = floor($mw * $ratio);
709 $ih = floor($mh * $ratio);
716 $ratio = $this->_fit_ratio($mw,$mh,$vpw,$vph);
717 $iw = floor($mw * $ratio);
718 $ih = floor($mh * $ratio);
837 $ratio = 1;
839 $ratio = $maxw/$w;
840 if($h * $ratio > $maxh){
841 $ratio = $maxh/$h;
[all …]
/plugin/galleryv1.5/inc/
Dimage.php37 $ratio = $width / $height; variable
52 $new_width = floor(str_replace('h','',$size) * $ratio);
56 $new_height = floor(str_replace('w','',$size) / $ratio);
Dmagazinelayout.class.php267 $ratio = $w / $h;
283 $opts['ratio'] = $ratio;
307 $ratio = $width / $height;
322 $new_width = floor(str_replace('h','',$size) * $ratio);
326 $new_height = floor(str_replace('w','',$size) / $ratio);
347 $ratio = $img['meta']->getResizeRatio($img['w_lightbox'],$img['h_lightbox']);
348 $w_lightbox = floor($w_lightbox * $ratio);
349 $h_lightbox = floor($h_lightbox * $ratio);
/plugin/freechat/phpfreechat/lib/csstidy-1.2/
Dcss_optimiser.php297 $ratio = $css->print->get_ratio(); variable
311 if($ratio>0) $ratio = '<span style="color:green;">'.$ratio.'%</span> variable
312 ('.$diff.' Bytes)'; else $ratio = '<span variable
313 style="color:red;">'.$ratio.'%</span> ('.$diff.' Bytes)';
328 …ize('input').'KB, '.$lang[$l][38].':'.$css->print->size('output').'KB, '.$lang[$l][36].': '.$ratio;
/plugin/pagecss/vendor/csstidy-2.2.1/
H A Dcss_optimiser.php387 $ratio = $css->print->get_ratio(); variable
406 if ($ratio>0) $ratio = '<span style="color:green">'.$ratio.'%</span> variable
407 ('.$diff.' Bytes)'; else $ratio = '<span variable
408 style="color:red;">'.$ratio.'%</span> ('.$diff.' Bytes)';
422 …ize('input'),'KB, ',$lang[$l][38],':',$css->print->size('output'),'KB, ',$lang[$l][36],': ',$ratio;
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
DSizeConverter.php153 private function multiplyFontSize($fontsize, $maxsize, $ratio) argument
156 return $fontsize * $ratio;
159 return $maxsize * $ratio;
/plugin/livemark/
Daction.php102 $ratio=$src_width/imagesx($watermark)*$size;
103 $watermark_width = imagesx($watermark)*$ratio;
104 $watermark_height = imagesy($watermark)*$ratio;
/plugin/orphanmedia2/
Dsyntax.php278 $ratio = $h_max / $h;
280 $w = floor($w * $ratio);
283 $ratio = $w_max / $w;
285 $h = floor($h * $ratio);
816 $ratio = 1;
818 if($w >= $maxwidth){ $ratio = $maxwidth/$w; }
819 elseif($h > $maxheight) { $ratio = $maxheight/$h; }
822 if($h >= $maxheight) { $ratio = $maxheight/$h; }
823 elseif($w > $maxwidth) { $ratio = $maxwidth/$w; }
825 return $ratio;
/plugin/orphanmedia/
Dsyntax.php277 $ratio = $h_max / $h;
279 $w = floor($w * $ratio);
282 $ratio = $w_max / $w;
284 $h = floor($h * $ratio);
815 $ratio = 1;
817 if($w >= $maxwidth){ $ratio = $maxwidth/$w; }
818 elseif($h > $maxheight) { $ratio = $maxheight/$h; }
821 if($h >= $maxheight) { $ratio = $maxheight/$h; }
822 elseif($w > $maxwidth) { $ratio = $maxwidth/$w; }
824 return $ratio;
/plugin/openlayersmapoverlays/lib/
Dlayers.js59ratio:2,resFactor:null,response:null,activate:function(){var activated=OpenLayers.Strategy.prototy… property
/plugin/dirtylittlehelper/mermaid/editor/src/components/
DLinks.svelte19 const ratio = box.height / box.width;
21 canvas.height = userimagewidth * ratio;
23 const ratio = box.width / box.height;
24 canvas.width = userimageheight * ratio;
/plugin/combo/resources/slot/
H A Dmain-header.md4 <page-image featured height="250" ratio="21:9" linking="default" default="icon|ancestor|logo" lazy=…
/plugin/jplayer/vendor/james-heinrich/getid3/getid3/
Dmodule.audio-video.mpeg.php616 …$ratio = (float) (isset($lookup[$mpeg_version][$rawaspectratio]) ? $lookup[$mpeg_version][$rawaspe…
617 if ($mpeg_version == 2 && $ratio != 1) {
619 $ratio = $ratio * $height / $width;
621 return $ratio;
/plugin/mikioplugin/icons/bootstrap-icons/svg/
H A Daspect-ratio-fill.svg1 <svg class="bi bi-aspect-ratio-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColo…
/plugin/combo/resources/theme/default/pages/partials/
H A Dmain-header-partial.hbs10 …{{#page-image featured height="250" ratio="21:9" linking="default" default="icon|ancestor|logo" zo…

1234567