Home
last modified time | relevance | path

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

123456

/plugin/authgooglesheets/vendor/google/apiclient-services/src/ShoppingContent/
H A 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/
H A DGoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval.php24 public $ratio; variable in Google\\Service\\Dialogflow\\GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
43 public function setRatio($ratio) argument
45 $this->ratio = $ratio;
49 return $this->ratio;
H A 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);
167 throw new ExceptionBadArgument("The requested ratio ($requestedRatio) is not a valid value ({$e->getMessage()})", FetcherImage::CANONICAL, 0, $e);
189 * This is needed to calculate the {@link MediaLink::getTargetRatio() target ratio}
197 * The Aspect ratio as explained here
215 * The Aspect ratio of the target image (may be the original or the an image scaled down)
234 * Return the requested aspect ratio requested
238 * The Aspect ratio as explained here
266 * Giving width and height, check that the aspect ratio is the same
285 LogUtility::msg("Unable to check the target ratio becaus
[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 than 1 to get a col class.");
295 throw new ExceptionBadSyntax("Length is not a ratio");
330 throw new ExceptionBadArgument("The denominator of the conditional length ($this) is 0. You can't ask a ratio.");
H A DColorRgb.php224 * Minimum recommended ratio by the w3c
705 * The ratio that returns the chrome browser
724 $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/ckgdoku/ckeditor/skins/moono/
H A 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/ckgedit/ckeditor/skins/moono/
H A 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/
H A 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/
H A Dsyntax.php837 $ratio = 1;
839 $ratio = $maxw/$w;
841 $ratio = $maxh/$h;
845 $ratio = $maxh/$h;
847 $ratio = $maxw/$w;
850 return $ratio;
854 $ratio = 1;
856 $ratio = $maxw/$w;
858 $ratio = $maxh/$h;
862 $ratio = $maxh/$h;
[all …]
/plugin/galleryv1.5/inc/
H A Dimage.php37 $ratio = $width / $height; variable
52 $new_width = floor(str_replace('h','',$size) * $ratio);
56 $new_height = floor(str_replace('w','',$size) / $ratio);
H A 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/
H A 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/gallery/
H A Dsyntax.php
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DSizeConverter.php153 private function multiplyFontSize($fontsize, $maxsize, $ratio) argument
156 return $fontsize * $ratio;
159 return $maxsize * $ratio;
/plugin/livemark/
H A Daction.php102 $ratio=$src_width/imagesx($watermark)*$size;
103 $watermark_width = imagesx($watermark)*$ratio;
104 $watermark_height = imagesy($watermark)*$ratio;
/plugin/orphanmedia/
H A 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/orphanmedia2/
H A 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/openlayersmapoverlays/lib/
H A Dlayers.js59ratio:2,resFactor:null,response:null,activate:function(){var activated=OpenLayers.Strategy.prototy…
/plugin/combo/resources/slot/
H A Dmain-header.md4 <page-image featured height="250" ratio="21:9" linking="default" default="icon|ancestor|logo" lazy="none"/>
/plugin/dirtylittlehelper/mermaid/editor/src/components/
H A 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/jplayer/vendor/james-heinrich/getid3/getid3/
H A 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="currentColor" xmlns="http://www.w3.org/2000/svg">
/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" zoom="-10" lazy="none"}}{{/page-image}}

123456