Searched refs:FontFamily (Results 1 - 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DFontFamily.h38 class PLATFORM_EXPORT FontFamily { class in namespace:blink
40 FontFamily() { } function in class:blink::FontFamily
41 ~FontFamily();
47 const FontFamily* next() const;
57 class PLATFORM_EXPORT SharedFontFamily : public FontFamily, public RefCounted<SharedFontFamily> {
68 PLATFORM_EXPORT bool operator==(const FontFamily&, const FontFamily&);
69 inline bool operator!=(const FontFamily& a, const FontFamily& b) { return !(a == b); }
71 inline FontFamily
[all...]
H A DFontFamily.cpp27 #include "platform/fonts/FontFamily.h"
31 bool operator==(const FontFamily& a, const FontFamily& b)
35 const FontFamily* ap;
36 const FontFamily* bp;
H A DFontFallbackList.cpp35 #include "platform/fonts/FontFamily.h"
186 const FontFamily* startFamily = &fontDescription.family();
189 const FontFamily* currFamily = startFamily;
H A DFontDescription.h31 #include "platform/fonts/FontFamily.h"
118 const FontFamily& family() const { return m_familyList; }
119 FontFamily& firstFamily() { return m_familyList; }
168 void setFamily(const FontFamily& family) { m_familyList = family; }
203 FontFamily m_familyList; // The list of font families to be used.
/external/skia/src/ports/
H A DSkFontConfigParser_android.h23 * The FontFamily data structure is created during parsing and handed back to
30 struct FontFamily { struct
31 FontFamily() : fIsFallbackFont(false), order(-1) {} function in struct:FontFamily
43 * array of FontFamily structures.
45 void GetFontFamilies(SkTDArray<FontFamily*> &fontFamilies);
49 * array of FontFamily structures.
51 void GetTestFontFamilies(SkTDArray<FontFamily*> &fontFamilies,
H A DSkFontConfigParser_android.cpp32 FamilyData(XML_Parser *parserRef, SkTDArray<FontFamily*> &familiesRef) :
40 SkTDArray<FontFamily*> &families; // The array that each family is put into as it is parsed
41 FontFamily *currentFamily; // The current family being created
110 familyData->currentFamily = new FontFamily();
161 static void parseConfigFile(const char *filename, SkTDArray<FontFamily*> &families) {
222 static void getSystemFontFamilies(SkTDArray<FontFamily*> &fontFamilies) {
226 static void getFallbackFontFamilies(SkTDArray<FontFamily*> &fallbackFonts) {
227 SkTDArray<FontFamily*> vendorFonts;
235 FontFamily* family = vendorFonts[i];
259 void SkFontConfigParser::GetFontFamilies(SkTDArray<FontFamily*>
[all...]
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DGdiPlusFontFamily.h19 FontFamily::FontFamily() : function in class:FontFamily
26 FontFamily::FontFamily( function in class:FontFamily
46 FontFamily::FontFamily( function in class:FontFamily
57 inline const FontFamily *
58 FontFamily::GenericSansSerif()
66 (FontFamily*) GenericSansSerifFontFamilyBuffer;
81 inline const FontFamily *
[all...]
H A DGdiPlusHeaders.h191 // Abstract base class for FontFamily
194 class FontFamily : public GdiplusBase class in inherits:GdiplusBase
202 FontFamily();
204 FontFamily(
209 ~FontFamily();
211 static const FontFamily *GenericSansSerif();
212 static const FontFamily *GenericSerif();
213 static const FontFamily *GenericMonospace();
221 FontFamily * Clone() const;
242 FontFamily(cons
[all...]
H A DGdiPlusFontCollection.h45 OUT FontFamily * gpfamilies,
H A DGdiPlusGpStubs.h38 class FontFamily;
H A DGdiPlusFont.h109 IN const FontFamily * family,
140 FontFamily family(familyName, fontCollection);
204 Font::GetFamily(OUT FontFamily *family) const
/external/chromium_org/components/dom_distiller/core/
H A Ddistilled_page_prefs.h24 enum FontFamily { enum in class:dom_distiller::DistilledPagePrefs
39 virtual void OnChangeFontFamily(FontFamily font) = 0;
49 void SetFontFamily(FontFamily new_font);
51 FontFamily GetFontFamily();
63 void NotifyOnChangeFontFamily(FontFamily font_family);
H A Dviewer.h33 const DistilledPagePrefs::FontFamily font_family);
44 const DistilledPagePrefs::FontFamily font_family);
62 const DistilledPagePrefs::FontFamily font_family);
80 DistilledPagePrefs::FontFamily font);
H A Ddistilled_page_prefs.cc45 DistilledPagePrefs::FontFamily new_font_family) {
54 DistilledPagePrefs::FontFamily DistilledPagePrefs::GetFontFamily() {
62 return static_cast<FontFamily>(font_family);
94 DistilledPagePrefs::FontFamily new_font_family) {
H A Dviewer.cc48 // CSS FontFamily classes. Must agree with classes in distilledpage.css.
74 const std::string GetJsFontFamily(DistilledPagePrefs::FontFamily font_family) {
84 const std::string GetFontCssClass(DistilledPagePrefs::FontFamily font_family) {
109 const DistilledPagePrefs::FontFamily font_family) {
154 const DistilledPagePrefs::FontFamily font_family) {
169 const DistilledPagePrefs::FontFamily font_family) {
196 const DistilledPagePrefs::FontFamily font_family) {
258 DistilledPagePrefs::FontFamily font_family) {
H A Ddistilled_page_prefs_unittests.cc23 DistilledPagePrefs::FontFamily new_font) OVERRIDE {
27 DistilledPagePrefs::FontFamily GetFontFamily() { return font_; }
36 DistilledPagePrefs::FontFamily font_;
H A Ddistilled_page_prefs_android.cc29 static_cast<DistilledPagePrefs::FontFamily>(font_family));
87 DistilledPagePrefs::FontFamily new_font_family) {
H A Ddistilled_page_prefs_android.h44 DistilledPagePrefs::FontFamily new_font_family) OVERRIDE;
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/dom_distiller/
H A DDistilledPagePrefsTest.java16 import org.chromium.components.dom_distiller.core.FontFamily;
102 assertEquals(FontFamily.SANS_SERIF, mDistilledPagePrefs.getFontFamily());
104 setFontFamily(FontFamily.SERIF);
105 assertEquals(FontFamily.SERIF, mDistilledPagePrefs.getFontFamily());
114 setFontFamily(FontFamily.SERIF);
119 assertEquals(FontFamily.SERIF, testObserver.getFontFamily());
131 setFontFamily(FontFamily.MONOSPACE);
133 assertEquals(FontFamily.MONOSPACE, testObserverOne.getFontFamily());
134 assertEquals(FontFamily.MONOSPACE, testObserverTwo.getFontFamily());
137 setFontFamily(FontFamily
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontConfigParser_android.h77 struct FontFamily { struct
78 FontFamily() function in struct:FontFamily
95 * array of FontFamily structures.
97 void GetFontFamilies(SkTDArray<FontFamily*> &fontFamilies);
101 * array of FontFamily structures.
103 void GetTestFontFamilies(SkTDArray<FontFamily*> &fontFamilies,
H A DSkFontConfigParser_android.cpp54 FamilyData(XML_Parser* parserRef, SkTDArray<FontFamily*> &familiesRef) :
62 SkTDArray<FontFamily*> &families; // The array that each family is put into as it is parsed
63 FontFamily* currentFamily; // The current family being created
92 void familyElementHandler(FontFamily* family, const char** attributes) {
144 FontFamily* findFamily(FamilyData* familyData, const char* familyName) {
147 FontFamily* candidate = familyData->families[i];
185 FontFamily* targetFamily = findFamily(familyData, to.c_str());
192 FontFamily* family = new FontFamily();
206 bool findWeight400(FontFamily* famil
[all...]
/external/chromium_org/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/
H A DDistilledPagePrefs.java27 void onChangeFontFamily(FontFamily font);
46 FontFamily.getFontFamilyForValue(fontFamily));
100 public void setFontFamily(FontFamily fontFamily) {
104 public FontFamily getFontFamily() {
105 return FontFamily.getFontFamilyForValue(nativeGetFontFamily(mDistilledPagePrefsAndroid));
/external/chromium_org/third_party/skia/tests/
H A DFontConfigParser.cpp12 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) {
22 void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies,
32 void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies) {
64 SkTDArray<FontFamily*> preV17FontFamilies;
80 SkTDArray<FontFamily*> v17FontFamilies;
96 SkTDArray<FontFamily*> v22FontFamilies;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/dom_distiller/
H A DDistilledPagePrefsView.java28 import org.chromium.components.dom_distiller.core.FontFamily;
134 FontFamily family = FontFamily.values()[position];
135 if (family == FontFamily.MONOSPACE) {
137 } else if (family == FontFamily.SANS_SERIF) {
139 } else if (family == FontFamily.SERIF) {
153 FontFamily family = FontFamily.getFontFamilyForValue(position);
208 public void onChangeFontFamily(FontFamily fontFamily) {
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontDescription.cpp53 FontFamily fontFamily;

Completed in 1894 milliseconds

123