HomeSort by relevance Sort by last modified time
    Searched refs:traitsMask (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontDescription.cpp 96 FontTraitsMask FontDescription::traitsMask() const
104 void FontDescription::setTraitsMask(FontTraitsMask traitsMask)
106 switch (traitsMask & FontWeightMask) {
137 setItalic((traitsMask & FontStyleItalicMask) ? FontItalicOn : FontItalicOff);
138 setSmallCaps((traitsMask & FontVariantSmallCapsMask) ? FontSmallCapsOn : FontSmallCapsOff);
163 : traitsMask();
FontDescription.h 134 FontTraitsMask traitsMask() const;
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSSegmentedFontFace.h 47 static PassRefPtr<CSSSegmentedFontFace> create(CSSFontSelector* selector, FontTraitsMask traitsMask) { return adoptRef(new CSSSegmentedFontFace(selector, traitsMask)); }
51 FontTraitsMask traitsMask() const { return m_traitsMask; }
CSSSegmentedFontFaceCache.cpp 63 RefPtr<CSSSegmentedFontFace>& segmentedFontFace = familyFontFaces->add(fontFace->traitsMask(), 0).iterator->value;
65 segmentedFontFace = CSSSegmentedFontFace::create(cssFontSelector, static_cast<FontTraitsMask>(fontFace->traitsMask()));
84 TraitsMap::iterator familyFontFacesIter = familyFontFaces->find(cssFontFace->fontFace()->traitsMask());
102 FontTraitsMask firstTraitsMask = first->traitsMask();
103 FontTraitsMask secondTraitsMask = second->traitsMask();
190 FontTraitsMask traitsMask = fontDescription.traitsMask();
192 RefPtr<CSSSegmentedFontFace>& face = segmentedFontFaceCache->add(traitsMask, 0).iterator->value;
196 unsigned candidateTraitsMask = candidate->traitsMask();
197 if ((traitsMask & FontStyleNormalMask) && !(candidateTraitsMask & FontStyleNormalMask)
    [all...]
FontFace.cpp 361 fontDescription.setTraitsMask(static_cast<FontTraitsMask>(traitsMask()));
386 unsigned FontFace::traitsMask() const
388 unsigned traitsMask = 0;
396 traitsMask |= FontStyleNormalMask;
400 traitsMask |= FontStyleItalicMask;
406 traitsMask |= FontStyleNormalMask;
416 traitsMask |= FontWeight700Mask;
420 traitsMask |= FontWeight400Mask;
423 traitsMask |= FontWeight900Mask;
426 traitsMask |= FontWeight800Mask
    [all...]
CSSFontFace.cpp 49 unsigned traitsMask = fontFace->traitsMask();
50 if (!traitsMask)
FontFace.h 85 unsigned traitsMask() const;
CSSSegmentedFontFace.cpp 38 CSSSegmentedFontFace::CSSSegmentedFontFace(CSSFontSelector* fontSelector, FontTraitsMask traitsMask)
40 , m_traitsMask(traitsMask)
123 FontTraitsMask desiredTraitsMask = fontDescription.traitsMask();

Completed in 2882 milliseconds