Home
last modified time | relevance | path

Searched refs:max_height (Results 1 – 25 of 4434) sorted by relevance

12345678910>>...178

/dports/www/drupal9/drupal-9.2.10/core/modules/editor/tests/src/Functional/
H A DEditorUploadImageScaleTest.php86 $max_height = NULL;
87 $this->setMaxDimensions($max_width, $max_height);
98 $max_height = $image_file_height;
99 $this->setMaxDimensions($max_width, $max_height);
110 $max_height = $image_file_height - 5;
111 $this->setMaxDimensions($max_width, $max_height);
122 $max_height = $image_file_height + 5;
123 $this->setMaxDimensions($max_width, $max_height);
135 $max_height = NULL;
136 $this->setMaxDimensions($max_width, $max_height);
[all …]
/dports/www/drupal8/drupal-8.9.20/core/modules/editor/tests/src/Functional/
H A DEditorUploadImageScaleTest.php87 $max_height = NULL;
88 $this->setMaxDimensions($max_width, $max_height);
99 $max_height = $image_file_height;
100 $this->setMaxDimensions($max_width, $max_height);
111 $max_height = $image_file_height - 5;
112 $this->setMaxDimensions($max_width, $max_height);
123 $max_height = $image_file_height + 5;
124 $this->setMaxDimensions($max_width, $max_height);
136 $max_height = NULL;
137 $this->setMaxDimensions($max_width, $max_height);
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/media/meson/vdec/
H A Dvdec_platform.c22 .max_height = 1080,
34 .max_height = 1080,
45 .max_height = 1080,
60 .max_height = 2160,
72 .max_height = 2160,
84 .max_height = 1080,
95 .max_height = 1080,
110 .max_height = 2160,
122 .max_height = 1080,
133 .max_height = 1080,
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/media/meson/vdec/
H A Dvdec_platform.c22 .max_height = 1080,
34 .max_height = 1080,
45 .max_height = 1080,
60 .max_height = 2160,
72 .max_height = 2160,
84 .max_height = 1080,
95 .max_height = 1080,
110 .max_height = 2160,
122 .max_height = 1080,
133 .max_height = 1080,
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/media/meson/vdec/
H A Dvdec_platform.c22 .max_height = 1080,
34 .max_height = 1080,
45 .max_height = 1080,
60 .max_height = 2160,
72 .max_height = 2160,
84 .max_height = 1080,
95 .max_height = 1080,
110 .max_height = 2160,
122 .max_height = 1080,
133 .max_height = 1080,
[all …]
/dports/textproc/xmlroff/xmlroff-0.6.3/xmlroff/libfo/area/
H A Dfo-area-list-item.c384 max_height); in fo_area_list_item_split_before_height()
403 max_height - in fo_area_list_item_split_before_height()
417 max_height - in fo_area_list_item_split_before_height()
495 max_height - in fo_area_list_item_split_before_height()
508 max_height - in fo_area_list_item_split_before_height()
577 max_height); in fo_area_list_item_split_before_height_check()
604 max_height - in fo_area_list_item_split_before_height_check()
653 max_height); in fo_area_list_item_split_after_height()
686 max_height - in fo_area_list_item_split_after_height()
846 max_height); in fo_area_list_item_split_after_height_check()
[all …]
/dports/textproc/libfo/xmlroff-0.6.3/xmlroff/libfo/area/
H A Dfo-area-list-item.c384 max_height); in fo_area_list_item_split_before_height()
403 max_height - in fo_area_list_item_split_before_height()
417 max_height - in fo_area_list_item_split_before_height()
495 max_height - in fo_area_list_item_split_before_height()
508 max_height - in fo_area_list_item_split_before_height()
577 max_height); in fo_area_list_item_split_before_height_check()
604 max_height - in fo_area_list_item_split_before_height_check()
653 max_height); in fo_area_list_item_split_after_height()
686 max_height - in fo_area_list_item_split_after_height()
846 max_height); in fo_area_list_item_split_after_height_check()
[all …]
/dports/multimedia/libvdpau-va-gl/libvdpau-va-gl-0.4.2/tests/
H A Dtest-008.c16 uint32_t max_width, uint32_t max_height) in test_bitmaps_of_format() argument
19 const uint32_t max_square_size = MIN(max_width, max_height); in test_bitmaps_of_format()
45 const uint32_t size = MAX(1, MIN(k, max_height)); in test_bitmaps_of_format()
58 uint32_t max_width, max_height; in main() local
63 &max_width, &max_height)); in main()
66 assert(max_height > 0); in main()
69 max_width, max_height); in main()
72 max_width, max_height); in main()
75 max_width, max_height); in main()
78 max_width, max_height); in main()
[all …]
/dports/emulators/dgen-sdl/dgen-sdl-1.33/sdl/
H A Dfont.cpp27 unsigned int max_height, in font_select() argument
36 if ((max_width < font->w) || (max_height < font->h)) in font_select()
42 ((font->h > max_height) || in font_select()
53 unsigned int max_width, unsigned int max_height, in font_mark() argument
60 if (((mark_x + font_w) > max_width) || (max_height < font_h)) in font_mark()
74 unsigned int max_width, unsigned int max_height, in font_text_width() argument
78 font_select(max_width, max_height, type); in font_text_width()
95 font_select(max_width, max_height, type); in font_text_max_len()
103 unsigned int max_width, unsigned int max_height, in font_text() argument
125 p_max = (buf + (pitch * max_height)); in font_text()
[all …]
/dports/misc/py-gluoncv/gluon-cv-0.9.0/gluoncv/utils/
H A Dtransforms.py32 max_height = int(round(math.sqrt(max_area / aspect_ratio)))
34 if max_height * aspect_ratio > original_width:
35 max_height = (original_width + 0.5 - 1e-7) / aspect_ratio
36 max_height = int(max_height)
37 if max_height * aspect_ratio > original_width:
38 max_height -= 1
40 if max_height > original_height:
41 max_height = original_height
43 if height >= max_height:
44 height = max_height
[all …]
/dports/graphics/figurine/figurine-1.0.5/src/
H A Druler.c175 int max_height; in draw_ruler_x() local
192 max_height = RULER_PIXEL_SIZE - 8; in draw_ruler_x()
194 max_height = RULER_PIXEL_SIZE - 6; in draw_ruler_x()
196 max_height = RULER_PIXEL_SIZE - 4; in draw_ruler_x()
239 if (height <= max_height) in draw_ruler_x()
254 int max_height; in draw_ruler_x_mm() local
306 if (height <= max_height) in draw_ruler_x_mm()
322 int max_height; in draw_ruler_y() local
383 if (height <= max_height) in draw_ruler_y()
399 int max_height; in draw_ruler_y_mm() local
[all …]
/dports/graphics/viewnior/Viewnior-viewnior-1.7/src/
H A Dvnr-tools.c31 vnr_tools_fit_to_size (gint * width, gint * height, gint max_width, gint max_height) in vnr_tools_fit_to_size() argument
36 if (*width < max_width && *height < max_height) in vnr_tools_fit_to_size()
39 if (*width == 0 || max_height == 0) in vnr_tools_fit_to_size()
43 max_ratio = 1. * max_height / max_width; in vnr_tools_fit_to_size()
52 *height = max_height; in vnr_tools_fit_to_size()
58 *height = max_height; in vnr_tools_fit_to_size()
70 if (*width < max_width && *height < max_height) in vnr_tools_fit_to_size_double()
73 if (*width == 0 || max_height == 0) in vnr_tools_fit_to_size_double()
77 max_ratio = 1. * max_height / max_width; in vnr_tools_fit_to_size_double()
86 *height = max_height; in vnr_tools_fit_to_size_double()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/ui/toolbar_container/
H A Dtoolbar_height_range.mm17 HeightRange::HeightRange(CGFloat min_height, CGFloat max_height)
18 : min_height_(min_height), max_height_(max_height) {}
28 AreCGFloatsEqual(max_height(), other.max_height());
37 max_height() + other.max_height());
42 max_height() - other.max_height());
47 max_height_ += other.max_height();
53 max_height_ -= other.max_height();
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/classes/Elgg/
H A DImageService.php90 $max_height = (int) elgg_extract('h', $resize_params);
103 $target_size = new Box($max_width, $max_height);
169 $max_height = (int) elgg_extract('h', $params, 100, false);
170 if (!$max_height || !$max_width) {
201 $max_width = $max_height = min($max_width, $max_height);
213 if ($crop_height / $max_height > $crop_width / $max_width) {
214 $max_width = floor($max_height * $crop_width / $crop_height);
216 $max_height = floor($max_width * $crop_height / $crop_width);
220 if (!$upscale && ($crop_height < $max_height || $crop_width < $max_width)) {
222 $max_height = $crop_height;
[all …]
/dports/www/py-wagtail/wagtail-2.14.2/wagtail/embeds/
H A Dembeds.py12 def get_embed(url, max_width=None, max_height=None, finder=None): argument
13 embed_hash = get_embed_hash(url, max_width, max_height)
24 def finder(url, max_width=None, max_height=None): argument
29 kwargs['max_height'] = max_height
34 embed_dict = finder(url, max_width, max_height)
72 def get_embed_hash(url, max_width=None, max_height=None): argument
78 if max_height is not None:
80 h.update(str(max_height).encode("utf-8"))
/dports/x11-wm/fluxbox/fluxbox-1.3.7/src/
H A DToolFactory.cc143 unsigned int max_height = 0; in maxFontHeight() local
145 max_height = std::max(max_height, m_clock_theme.font().height()); in maxFontHeight()
146 max_height = std::max(max_height, m_focused_iconbar_theme.text().font().height()); in maxFontHeight()
147 max_height = std::max(max_height, m_unfocused_iconbar_theme.text().font().height()); in maxFontHeight()
148 max_height = std::max(max_height, m_workspace_theme->font().height()); in maxFontHeight()
150 return max_height; in maxFontHeight()
/dports/multimedia/libopenshot/libopenshot-0.2.7/src/
H A DQtImageReader.cpp208 int max_height = info.height; in calculate_max_size() local
209 if (max_width == 0 || max_height == 0) { in calculate_max_size()
212 max_height = 1080; in calculate_max_size()
220 max_height = parent->ParentTimeline()->preview_height; in calculate_max_size()
227 max_height = std::max(float(max_height), max_height * max_scale_y); in calculate_max_size()
236 max_height * max_scale_y); in calculate_max_size()
238 if (width_size.width() >= max_width && width_size.height() >= max_height) { in calculate_max_size()
240 max_height = std::max(max_height, width_size.height()); in calculate_max_size()
243 max_height = std::max(max_height, height_size.height()); in calculate_max_size()
257 max_height = info.height * max_scale_y * preview_ratio; in calculate_max_size()
[all …]
/dports/x11-toolkits/lesstif/lesstif-0.95.2/lib/Xm-2.1/
H A DRCUtils.c136 *max_height = 0; in PreferredSizeNone()
154 if (curh > *max_height) in PreferredSizeNone()
156 *max_height = curh; in PreferredSizeNone()
162 rcg->height = *max_height; in PreferredSizeNone()
282 max_width, max_height)); in DoLayoutHT()
559 *max_height * nrows; in PreferredSizeHC()
736 if (current_y > *max_height) in PreferredSizeVT()
738 *max_height = current_y; in PreferredSizeVT()
765 if (*max_height == 0) in PreferredSizeVT()
1623 if (max_height == 0) in _XmRCAdjustSize()
[all …]
/dports/math/ogdf/OGDF/include/ogdf/energybased/fmmm/maar_packing/
H A DPackingRowInfo.h46 output <<" max_height "<<A.max_height<<" total_width "<<A.total_width<<" row_index "
54 input >>A.max_height>>A.total_width>>A.row_index;
63 max_height = 0; in PackingRowInfo()
67 void set_max_height(double h) { max_height = h; } in set_max_height()
71 double get_max_height() { return max_height; } in get_max_height()
76 double max_height; //!< the maximum height of a rectangle placed in this row
/dports/www/firefox-legacy/firefox-52.8.0esr/testing/marionette/harness/marionette_harness/tests/unit/
H A Dtest_set_window_size.py13 self.max_height = self.marionette.execute_script("return window.screen.availHeight;")
20 … if self.start_size['width'] == self.max_width and self.start_size['height'] == self.max_height:
36 height = self.max_height - 100
57 self.marionette.set_window_size(4 * self.max_width, 4 * self.max_height)
62 self.assertGreaterEqual(size["height"], self.max_height)
67 height = self.max_height - 100
83 self.assertGreaterEqual(size['height'], self.max_height,
84 …s not use availHeight. current width: {0}, max width: {1}".format(size['height'], self.max_height))
/dports/x11-toolkits/p5-Gtk2-Ex-FormFactory/Gtk2-Ex-FormFactory-0.67/lib/Gtk2/Ex/FormFactory/
H A DImage.pm13 sub get_max_height { shift->{max_height} }
24 sub set_max_height { shift->{max_height} = $_[1] }
40 my ($max_height, $scale, $scale_hook) =
51 $self->set_max_height($max_height);
69 my $max_height = $self->get_max_height;
110 } elsif ( $scale_to_fit or $max_width or $max_height ) {
119 $widget_height = $max_height if defined $max_height and
120 $max_height < $widget_height;
/dports/graphics/gthumb/gthumb-3.10.1/gthumb/
H A Dgth-image-utils.c39 int max_height, in scale_keeping_ratio_min() argument
47 double max_h = max_height; in scale_keeping_ratio_min()
52 if ((*width < max_width) && (*height < max_height) && ! allow_upscaling) in scale_keeping_ratio_min()
75 int max_height, in scale_keeping_ratio() argument
83 max_height, in scale_keeping_ratio()
93 int max_height, in _g_buffer_resize_image() argument
109 if ((max_width == -1) || (max_height == -1)) { in _g_buffer_resize_image()
142 if (! scale_keeping_ratio (&width, &height, max_width, max_height, FALSE)) { in _g_buffer_resize_image()
/dports/deskutils/gnome-todo/gnome-todo-41.0/src/gui/
H A Dgtd-max-size-layout.c28 gint max_height; member
131 else if (self->max_height > 0) in gtd_max_size_layout_measure()
133 *minimum = MIN (*minimum, self->max_height); in gtd_max_size_layout_measure()
134 *natural = MAX (*natural, self->max_height); in gtd_max_size_layout_measure()
179 g_value_set_int (value, self->max_height); in gtd_max_size_layout_get_property()
300 self->max_height = -1; in gtd_max_size_layout_init()
331 return self->max_height; in gtd_max_size_layout_get_max_height()
343 gint max_height) in gtd_max_size_layout_set_max_height() argument
346 g_return_if_fail (max_height >= -1); in gtd_max_size_layout_set_max_height()
348 if (self->max_height == max_height) in gtd_max_size_layout_set_max_height()
[all …]
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/base/models/
H A Dimage_mixin.py13 image_1920 = fields.Image("Image", max_width=1920, max_height=1920)
16 …image_1024 = fields.Image("Image 1024", related="image_1920", max_width=1024, max_height=1024, sto…
17 …image_512 = fields.Image("Image 512", related="image_1920", max_width=512, max_height=512, store=T…
18 …image_256 = fields.Image("Image 256", related="image_1920", max_width=256, max_height=256, store=T…
19 …image_128 = fields.Image("Image 128", related="image_1920", max_width=128, max_height=128, store=T…
/dports/print/simple-fb2-reader/simple-fb2-reader-1.1.3/src/formats/fb2/FictionBook/body/section/table/
H A Dtr.c3 int td_fill_spaces(GString** cells_buff, glong* cells_table, size_t cells_count, glong* max_height);
25 glong max_height = 0; in fb2_parse_tr() local
27 td_fill_spaces(cells_buff, cells_table, cells_count, &max_height); in fb2_parse_tr()
29 for(size_t i=0; i<=max_height; i++) in fb2_parse_tr()
98 int td_fill_spaces(GString** cells_buff, glong* cells_table, size_t cells_count, glong* max_height)… in td_fill_spaces() argument
107 *max_height = 0; in td_fill_spaces()
114 *max_height = MAX(*max_height, height); in td_fill_spaces()
122 glong need_space = (*max_height+1) * cells_table[i]; in td_fill_spaces()

12345678910>>...178