Searched refs:text_width (Results 1 – 12 of 12) sorted by relevance
/third_party/weston/shared/ |
D | cairo-util.c | 498 int text_width, text_height; in theme_render_frame() local 542 text_width = MIN(title_rect->width, logical.width); in theme_render_frame() 544 if (text_width < logical.width) in theme_render_frame() 545 pango_layout_set_width (title_layout, text_width * PANGO_SCALE); in theme_render_frame() 557 text_width = extents.width; in theme_render_frame() 561 x = (width - text_width) / 2; in theme_render_frame() 565 else if (x + text_width > (title_rect->x + title_rect->width)) in theme_render_frame() 566 x = (title_rect->x + title_rect->width) - text_width; in theme_render_frame()
|
/third_party/python/Lib/distutils/ |
D | fancy_getopt.py | 326 text_width = line_width - opt_width 335 text = wrap_text(help, text_width)
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11messagebox.c | 69 int text_width; /* Text width */ member 280 &data->buttonpos[ i ].text_width, &height ); in X11_MessageBoxInitPositions() 282 button_width = IntMax( button_width, data->buttonpos[ i ].text_width ); in X11_MessageBoxInitPositions() 330 data->buttonpos[ i ].x = x + ( button_width - data->buttonpos[ i ].text_width ) / 2; in X11_MessageBoxInitPositions()
|
/third_party/gstreamer/gstplugins_base/ext/pango/ |
D | gstbasetextoverlay.h | 211 guint text_width; member
|
D | gstbasetextoverlay.c | 790 overlay->text_width = DEFAULT_PROP_TEXT_WIDTH; in gst_base_text_overlay_init() 1268 g_value_set_uint (value, overlay->text_width); in gst_base_text_overlay_get_property() 1606 *xpos = (overlay->width - overlay->text_width) * overlay->xpos; in gst_base_text_overlay_get_pos() 1657 if (overlay->text_image && overlay->text_width != 1) { in gst_base_text_overlay_set_composition() 1668 overlay->text_width, overlay->text_height, render_width, in gst_base_text_overlay_set_composition() 1673 overlay->text_width, overlay->text_height); in gst_base_text_overlay_set_composition() 2023 overlay->text_width = width; in gst_base_text_overlay_render_pangocairo() 2338 xpos, xpos + overlay->text_width, ypos, ypos + overlay->text_height); in gst_base_text_overlay_push_frame()
|
/third_party/python/Lib/idlelib/ |
D | autocomplete_w.py | 263 text_width, text_height = text.winfo_width(), text.winfo_height() 264 new_x = text.winfo_rootx() + min(x, max(0, text_width - acw_width))
|
/third_party/python/Lib/ |
D | argparse.py | 325 text_width = self._width - self._current_indent 326 if len(prefix) + len(usage) > text_width: 350 if line_len + 1 + len(part) > text_width and line: 363 if len(prefix) + len(prog) <= 0.75 * text_width: 499 text_width = max(self._width - self._current_indent, 11) 501 return self._fill_text(text, text_width, indent) + '\n\n'
|
D | optparse.py | 266 text_width = max(self.width - self.current_indent, 11) 269 text_width,
|
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | paragraph_txt.cc | 821 float text_width = in Layout() local 829 run_x_offset + text_width + ellipsis_width > width_) { in Layout() 830 text_width -= text_advances[text_count - truncate_count - 1]; in Layout()
|
/third_party/flutter/skia/third_party/externals/imgui/ |
D | imgui_widgets.cpp | 4774 …const float text_width = g.FontSize + (label_size.x > 0.0f ? label_size.x + padding.x*2 : 0.0f); … in TreeNodeBehavior() local 4775 ItemSize(ImVec2(text_width, frame_height), text_base_offset_y); in TreeNodeBehavior() 4779 …e ? frame_bb : ImRect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + text_width + style.ItemSpac… in TreeNodeBehavior()
|
/third_party/mesa3d/src/imgui/ |
D | imgui_widgets.cpp | 4786 …const float text_width = g.FontSize + (label_size.x > 0.0f ? label_size.x + padding.x*2 : 0.0f); … in TreeNodeBehavior() local 4787 ItemSize(ImVec2(text_width, frame_height), text_base_offset_y); in TreeNodeBehavior() 4791 …e ? frame_bb : ImRect(frame_bb.Min.x, frame_bb.Min.y, frame_bb.Min.x + text_width + style.ItemSpac… in TreeNodeBehavior()
|
/third_party/skia/third_party/externals/imgui/ |
D | imgui_widgets.cpp | 5848 …const float text_width = g.FontSize + (label_size.x > 0.0f ? label_size.x + padding.x * 2 : 0.0f);… in TreeNodeBehavior() local 5850 ItemSize(ImVec2(text_width, frame_height), padding.y); in TreeNodeBehavior() 5855 interact_bb.Max.x = frame_bb.Min.x + text_width + style.ItemSpacing.x * 2.0f; in TreeNodeBehavior()
|