Home
last modified time | relevance | path

Searched refs:traitsMask (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DFontFace.cpp361 fontDescription.setTraitsMask(static_cast<FontTraitsMask>(traitsMask())); in load()
386 unsigned FontFace::traitsMask() const in traitsMask() function in WebCore::FontFace
388 unsigned traitsMask = 0; in traitsMask() local
396 traitsMask |= FontStyleNormalMask; in traitsMask()
400 traitsMask |= FontStyleItalicMask; in traitsMask()
406 traitsMask |= FontStyleNormalMask; in traitsMask()
416 traitsMask |= FontWeight700Mask; in traitsMask()
420 traitsMask |= FontWeight400Mask; in traitsMask()
423 traitsMask |= FontWeight900Mask; in traitsMask()
426 traitsMask |= FontWeight800Mask; in traitsMask()
[all …]
DCSSSegmentedFontFaceCache.cpp63 …RefPtr<CSSSegmentedFontFace>& segmentedFontFace = familyFontFaces->add(fontFace->traitsMask(), 0).… in add()
65 …CSSSegmentedFontFace::create(cssFontSelector, static_cast<FontTraitsMask>(fontFace->traitsMask())); in add()
84 …tsMap::iterator familyFontFacesIter = familyFontFaces->find(cssFontFace->fontFace()->traitsMask()); in remove()
102 FontTraitsMask firstTraitsMask = first->traitsMask(); in compareFontFaces()
103 FontTraitsMask secondTraitsMask = second->traitsMask(); in compareFontFaces()
190 FontTraitsMask traitsMask = fontDescription.traitsMask(); in get() local
192 RefPtr<CSSSegmentedFontFace>& face = segmentedFontFaceCache->add(traitsMask, 0).iterator->value; in get()
196 unsigned candidateTraitsMask = candidate->traitsMask(); in get()
197 if ((traitsMask & FontStyleNormalMask) && !(candidateTraitsMask & FontStyleNormalMask)) in get()
199 … if ((traitsMask & FontVariantNormalMask) && !(candidateTraitsMask & FontVariantNormalMask)) in get()
[all …]
DCSSSegmentedFontFace.h47 …FontSelector* selector, FontTraitsMask traitsMask) { return adoptRef(new CSSSegmentedFontFace(sele… in create() argument
51 FontTraitsMask traitsMask() const { return m_traitsMask; } in traitsMask() function
DCSSFontFace.cpp49 unsigned traitsMask = fontFace->traitsMask(); in createFromStyleRule() local
50 if (!traitsMask) in createFromStyleRule()
DCSSSegmentedFontFace.cpp38 CSSSegmentedFontFace::CSSSegmentedFontFace(CSSFontSelector* fontSelector, FontTraitsMask traitsMask) in CSSSegmentedFontFace() argument
40 , m_traitsMask(traitsMask) in CSSSegmentedFontFace()
123 FontTraitsMask desiredTraitsMask = fontDescription.traitsMask(); in getFontData()
DFontFace.h85 unsigned traitsMask() const;
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DFontDescription.cpp96 FontTraitsMask FontDescription::traitsMask() const in traitsMask() function in WebCore::FontDescription
104 void FontDescription::setTraitsMask(FontTraitsMask traitsMask) in setTraitsMask() argument
106 switch (traitsMask & FontWeightMask) { in setTraitsMask()
137 setItalic((traitsMask & FontStyleItalicMask) ? FontItalicOn : FontItalicOff); in setTraitsMask()
138 setSmallCaps((traitsMask & FontVariantSmallCapsMask) ? FontSmallCapsOn : FontSmallCapsOff); in setTraitsMask()
163 : traitsMask(); in cacheKey()
DFontDescription.h134 FontTraitsMask traitsMask() const;