Home
last modified time | relevance | path

Searched refs:tabWidth (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFont.h117 float tabWidth(const SimpleFontData&, unsigned tabSize, float position) const;
118 …float tabWidth(unsigned tabSize, float position) const { return tabWidth(*primaryFont(), tabSize, … in tabWidth() function
226 inline float Font::tabWidth(const SimpleFontData& fontData, unsigned tabSize, float position) const in tabWidth() function
230 float tabWidth = tabSize * fontData.spaceWidth() + fontDescription().letterSpacing(); in tabWidth() local
231 return tabWidth - fmodf(position, tabWidth); in tabWidth()
DWidthIterator.cpp92 return m_font->tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_runWidthSoFar); in characterWidth()
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_view.mm747 CGFloat tabWidth = NSWidth(bounds);
748 if (tabWidth == maskCacheWidth_ && scale == maskCacheScale_)
751 maskCacheWidth_ = tabWidth;
766 CGBitmapContextCreate(NULL, tabWidth * scale, kMaskHeight * scale,
767 8, tabWidth * scale, colorspace, 0));
778 CGContextFillRect(maskContext, CGRectMake(0, 0, tabWidth, kMaskHeight));
780 NSDrawThreePartImage(NSMakeRect(0, 0, tabWidth, kMaskHeight),
784 CGFloat middleWidth = tabWidth - leftWidth - rightWidth;
Dtab_controller.mm314 const CGFloat tabWidth = [self app] ? [TabController appTabWidth]
319 std::floor((tabWidth - NSWidth(appIconFrame)) / 2.0);
355 const CGFloat tabWidth = [self app] ?
357 newFrame.origin.x = std::floor((tabWidth - NSWidth(newFrame)) / 2);
/external/chromium_org/chrome/browser/ui/cocoa/website_settings/
Dwebsite_settings_bubble_controller.mm430 CGFloat tabWidth = textSize.width + 2 * kTabLabelXPadding;
431 [segmentedControl_ setWidth:tabWidth + kTabStripXPadding
445 tabWidth = std::max(tabWidth,
447 [segmentedControl_ setWidth:tabWidth + kTabStripXPadding
449 [segmentedControl_ setWidth:tabWidth
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DComplexTextController.cpp540 …advance.width = m_font.tabWidth(*fontData, m_run.tabSize(), m_run.xPos() + m_totalWidth + widthSin… in adjustGlyphsAndAdvances()
/external/lldb/tools/debugserver/debugserver.xcodeproj/
Dproject.pbxproj258 tabWidth = 4;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderText.cpp739 w += f.tabWidth(style()->tabSize(), xPos + w); in widthFromCache()
/external/skia/experimental/webtry/res/js/cm/
Dcodemirror.js5789 var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;
5790 var txt = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab"));
5791 builder.col += tabWidth;
/external/chromium_org/third_party/skia/experimental/webtry/res/js/cm/
Dcodemirror.js5789 var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;
5790 var txt = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab"));
5791 builder.col += tabWidth;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/
Dcodemirror.js5998 var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;
5999 var txt = content.appendChild(elt("span", spaceStr(tabWidth), "cm-tab"));
6000 builder.col += tabWidth;