Home
last modified time | relevance | path

Searched refs:leading (Results 1 – 25 of 102) sorted by relevance

12345

/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fphex.c140 leading = *numstr++; \
219 char leading = '0'; in __printf_fphex() local
391 leading = fpnum.dbl.ieee.exponent == 0 ? '0' : '1'; in __printf_fphex()
446 && ((leading & 1) in __printf_fphex()
447 ^ (isdigit (leading) == 0))))))) in __printf_fphex()
480 if (leading == '9') in __printf_fphex()
481 leading = info->spec; in __printf_fphex()
482 else if (tolower (leading) < 'f') in __printf_fphex()
483 ++leading; in __printf_fphex()
486 leading = '1'; in __printf_fphex()
[all …]
/haiku/src/apps/cortex/InfoView/
H A DInfoView.cpp194 float titleHeight = fh.leading + fh.descent; in AttachedToWindow()
197 titleHeight += fh.leading + fh.ascent + fh.descent; in AttachedToWindow()
217 float step = fh.ascent + fh.descent + fh.leading + M_V_MARGIN; in AttachedToWindow()
265 p.y += fh.ascent + fh.leading; in Draw()
279 p.y += B_LARGE_ICON + 2 * M_V_MARGIN + fh.ascent + 2 * fh.leading; in Draw()
299 p.y += B_LARGE_ICON + M_V_MARGIN * 2.0 + fh.ascent + fh.leading * 2.0; in FrameResized()
351 *height += fh.ascent + fh.descent + fh.leading + M_V_MARGIN; in GetPreferredSize()
359 *height += B_LARGE_ICON + 2 * M_V_MARGIN + fh.ascent + 2 * fh.leading; in GetPreferredSize()
441 p.y += fh.ascent + fh.descent + fh.leading; in drawField()
564 return fh.ascent + fh.descent + fh.leading; in getHeight()
[all …]
/haiku/src/servers/app/font/
H A DFontStyle.cpp56 fHeight.leading = (double)(face->height - face->ascender in FontStyle()
70 fHeight.leading = (double)(metrics.height - metrics.ascender in FontStyle()
130 height.leading = fHeight.leading * size; in GetHeight()
/haiku/src/kits/interface/
H A DStringItem.cpp130 fBaselineOffset = 2 + ceilf(fheight.ascent + fheight.leading / 2); in Update()
133 + ceilf(fheight.leading) + 4); in Update()
H A DListItem.cpp154 SetHeight(ceilf(fh.ascent + fh.descent + fh.leading)); in Update()
/haiku/src/preferences/network/
H A DServiceListItem.cpp102 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2); in Update()
108 SetHeight(4 + ceilf(height.ascent + height.leading + height.descent)); in Update()
H A DNetworkSettingsAddOn.cpp193 + ceilf(height.leading); in Update()
194 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2); in Update()
H A DInterfaceListItem.cpp145 + ceilf(height.leading); in Update()
147 fFirstLineOffset = 2 + ceilf(height.ascent + height.leading / 2); in Update()
/haiku/src/preferences/time/
H A DTZDisplay.cpp61 height.leading); in Draw()
158 fontHeight.leading); in _CalcPrefSize()
/haiku/src/preferences/bluetooth/
H A DDeviceListItem.cpp86 point -= BPoint(0, (finfo.ascent + finfo.descent + finfo.leading) + INSETS); in DrawItem()
131 SetHeight(MAX((height.ascent + height.descent + height.leading) * TEXT_ROWS in Update()
/haiku/src/preferences/printers/
H A DJobListView.cpp189 + fontHeight.leading) * 2.0; in Update()
260 SetHeight((height.ascent + height.descent + height.leading) * 2.0 + 8.0); in Update()
274 float fntheight = height.ascent + height.descent + height.leading; in DrawItem()
/haiku/src/apps/cortex/TipManager/
H A DTipView.cpp119 p.y += (m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading); in Draw()
236 (m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading); in _textHeight()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dencodings.cpp1527 int leading = 0; in requires_munged_short_name() local
1539 leading++; in requires_munged_short_name()
1540 if (leading > 8) in requires_munged_short_name()
1542 if ((nshort[leading - 1] == '_') && (*utf8name != '_')) in requires_munged_short_name()
1554 if ((nshort[leading + trailing - 1] == '_') && (*utf8name != '_')) return true; in requires_munged_short_name()
1560 if (len != leading) return true; in requires_munged_short_name()
/haiku/src/apps/debugger/user_interface/gui/value/
H A DTableCellValueRendererUtils.cpp55 + fontHeight.leading)) / 2 in DrawString()
/haiku/src/apps/resedit/
H A DMiscEditors.cpp87 float strheight = fh.ascent + fh.descent + fh.leading + 5; in StringEditView()
169 float strheight = fh.ascent + fh.descent + fh.leading + 5; in GetPreferredHeight()
/haiku/src/apps/mediaconverter/
H A DMediaFileInfoView.cpp48 BPoint labelStart(kSpacing, fh.ascent + fh.leading + 1); in Draw()
184 return ceilf(fontHeight.ascent + fontHeight.descent + fontHeight.leading); in _LineHeight()
/haiku/src/add-ons/screen_savers/slideshowsaver/
H A DSlideShowConfigView.cpp303 ybold = fh.ascent + fh.descent * 2 + fh.leading; in Draw()
312 yplain = plainh.ascent + plainh.descent * 2 + plainh.leading; in Draw()
/haiku/src/apps/haikudepot/ui/
H A DFeaturedPackagesView.cpp72 + titleFontHeight.leading in StackedFeaturesPackageBandMetrics()
73 + metadataFontHeight.leading in StackedFeaturesPackageBandMetrics()
99 fTitleRect.bottom + titleFontHeight.leading, in StackedFeaturesPackageBandMetrics()
101 fTitleRect.bottom + titleFontHeight.leading in StackedFeaturesPackageBandMetrics()
105 fPublisherRect.bottom + metadataFontHeight.leading, in StackedFeaturesPackageBandMetrics()
107 fPublisherRect.bottom + metadataFontHeight.leading in StackedFeaturesPackageBandMetrics()
/haiku/src/servers/input/
H A DMethodMenuItem.cpp66 *height = fheight.ascent + fheight.descent + fheight.leading - 2; in GetContentSize()
/haiku/src/tests/servers/app/benchmark/
H A DStringTest.cpp44 + ceilf(fh.leading); in Prepare()
/haiku/src/apps/deskbar/
H A DShowHideMenuItem.cpp69 fTitleDescent = ceilf(fontHeight.descent + fontHeight.leading); in TShowHideMenuItem()
/haiku/src/bin/
H A Dlistfont.cpp132 printf(" %5.2f, %4.2f, %4.2f ", fh.ascent, fh.descent, fh.leading); in main()
/haiku/src/apps/cortex/DormantNodeView/
H A DDormantNodeListItem.cpp151 float newHeight = m_fontHeight.ascent + m_fontHeight.descent + m_fontHeight.leading; in Update()
208 r.bottom = fh.ascent + fh.descent + fh.leading; in getRealFrame()
/haiku/src/apps/switcher/
H A DWindowsView.cpp163 2 + (int32)ceilf(fontHeight.ascent + fontHeight.leading / 2)); in SetText()
167 + (int32)ceilf(fontHeight.leading) + 4); in SetText()
/haiku/src/add-ons/screen_savers/message/
H A DMessage.cpp265 + fontHeight.leading; in Draw()
283 start.y += 10 + fontHeight.ascent + fontHeight.leading; in Draw()

12345