/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf_fphex.c | 140 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 D | InfoView.cpp | 194 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 D | FontStyle.cpp | 56 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 D | StringItem.cpp | 130 fBaselineOffset = 2 + ceilf(fheight.ascent + fheight.leading / 2); in Update() 133 + ceilf(fheight.leading) + 4); in Update()
|
H A D | ListItem.cpp | 154 SetHeight(ceilf(fh.ascent + fh.descent + fh.leading)); in Update()
|
/haiku/src/preferences/network/ |
H A D | ServiceListItem.cpp | 102 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2); in Update() 108 SetHeight(4 + ceilf(height.ascent + height.leading + height.descent)); in Update()
|
H A D | NetworkSettingsAddOn.cpp | 193 + ceilf(height.leading); in Update() 194 fLineOffset = 2 + ceilf(height.ascent + height.leading / 2); in Update()
|
H A D | InterfaceListItem.cpp | 145 + ceilf(height.leading); in Update() 147 fFirstLineOffset = 2 + ceilf(height.ascent + height.leading / 2); in Update()
|
/haiku/src/preferences/time/ |
H A D | TZDisplay.cpp | 61 height.leading); in Draw() 158 fontHeight.leading); in _CalcPrefSize()
|
/haiku/src/preferences/bluetooth/ |
H A D | DeviceListItem.cpp | 86 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 D | JobListView.cpp | 189 + 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 D | TipView.cpp | 119 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 D | encodings.cpp | 1527 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 D | TableCellValueRendererUtils.cpp | 55 + fontHeight.leading)) / 2 in DrawString()
|
/haiku/src/apps/resedit/ |
H A D | MiscEditors.cpp | 87 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 D | MediaFileInfoView.cpp | 48 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 D | SlideShowConfigView.cpp | 303 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 D | FeaturedPackagesView.cpp | 72 + 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 D | MethodMenuItem.cpp | 66 *height = fheight.ascent + fheight.descent + fheight.leading - 2; in GetContentSize()
|
/haiku/src/tests/servers/app/benchmark/ |
H A D | StringTest.cpp | 44 + ceilf(fh.leading); in Prepare()
|
/haiku/src/apps/deskbar/ |
H A D | ShowHideMenuItem.cpp | 69 fTitleDescent = ceilf(fontHeight.descent + fontHeight.leading); in TShowHideMenuItem()
|
/haiku/src/bin/ |
H A D | listfont.cpp | 132 printf(" %5.2f, %4.2f, %4.2f ", fh.ascent, fh.descent, fh.leading); in main()
|
/haiku/src/apps/cortex/DormantNodeView/ |
H A D | DormantNodeListItem.cpp | 151 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 D | WindowsView.cpp | 163 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 D | Message.cpp | 265 + fontHeight.leading; in Draw() 283 start.y += 10 + fontHeight.ascent + fontHeight.leading; in Draw()
|