Home
last modified time | relevance | path

Searched refs:getFamilyName (Results 1 – 25 of 70) sorted by relevance

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTypefaceTest.java32 assertThat(shadowOf(typeface).getFontDescription().getFamilyName()).isEqualTo("roboto"); in create_withFamilyName_shouldCreateTypeface()
41 assertThat(shadowOf(typeface).getFontDescription().getFamilyName()).isEqualTo("roboto"); in create_withFamily_shouldCreateTypeface()
49 assertThat(shadowOf(typeface).getFontDescription().getFamilyName()).isEqualTo(null); in create_withoutFamily_shouldCreateTypeface()
58 assertThat(shadowOf(typeface).getFontDescription().getFamilyName()).isEqualTo("myFont.ttf"); in createFromFile_withFile_shouldCreateTypeface()
66 assertThat(shadowOf(typeface).getFontDescription().getFamilyName()).isEqualTo("myFont.ttf"); in createFromFile_withPath_shouldCreateTypeface()
77 assertThat(shadowOf(typeface).getFontDescription().getFamilyName()).isEqualTo("myFont.ttf"); in createFromAsset_shouldCreateTypeface()
/external/skqp/tools/fonts/
DSkTestFontMgr.cpp55 SkString getFamilyName() { return fFamilyName; } in getFamilyName() function in __anon20f6194f0111::FontStyleSet
76 if (family->getFamilyName().equals(sub.fFamilyName)) { in FontMgr()
103 *familyName = fFamilies[index]->getFamilyName(); in onGetFamilyName()
143 tf->getFamilyName(&familyName); in onMatchFaceStyle()
/external/skia/tools/fonts/
DTestFontMgr.cpp57 SkString getFamilyName() { return fFamilyName; } in getFamilyName() function in __anon4b02f79a0111::FontStyleSet
76 if (family->getFamilyName().equals(sub.fFamilyName)) { in FontMgr()
112 *familyName = fFamilies[index]->getFamilyName(); in onGetFamilyName()
162 tf->getFamilyName(&familyName); in onMatchFaceStyle()
/external/skqp/src/ports/
DSkFontMgr_custom.cpp80 this->getFamilyName(&familyName); in onMakeClone()
107 this->getFamilyName(&familyName); in onMakeClone()
147 SkString SkFontStyleSet_Custom::getFamilyName() { return fFamilyName; } in getFamilyName() function in SkFontStyleSet_Custom
184 familyName->set(fFamilies[index]->getFamilyName()); in onGetFamilyName()
194 if (fFamilies[i]->getFamilyName().equals(familyName)) { in onMatchFamily()
DSkFontMgr_custom_embedded.cpp40 if (families[i]->getFamilyName().equals(familyName)) { in find_family()
DSkFontMgr_custom_directory.cpp38 if (families[i]->getFamilyName().equals(familyName)) { in find_family()
/external/skia/src/ports/
DSkFontMgr_custom.cpp79 this->getFamilyName(&familyName); in onMakeClone()
106 this->getFamilyName(&familyName); in onMakeClone()
146 SkString SkFontStyleSet_Custom::getFamilyName() { return fFamilyName; } in getFamilyName() function in SkFontStyleSet_Custom
183 familyName->set(fFamilies[index]->getFamilyName()); in onGetFamilyName()
193 if (fFamilies[i]->getFamilyName().equals(familyName)) { in onMatchFamily()
DSkFontMgr_custom_directory.cpp38 if (families[i]->getFamilyName().equals(familyName)) { in find_family()
/external/skia/docs/examples/
DSkFontMgr_example.cpp20 mgr->getFamilyName(i, &familyName); in draw()
DSkFontMgr_example2.cpp21 mgr->getFamilyName(i, &familyName); in draw()
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp132 const char* familyName = desc.getFamilyName(); in serialize_name_only()
200 const char* familyName = desc.getFamilyName(); in WhitelistDeserializeTypeface()
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp132 const char* familyName = desc.getFamilyName(); in serialize_name_only()
200 const char* familyName = desc.getFamilyName(); in WhitelistDeserializeTypeface()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTypeface.java60 return createUnderlyingTypeface(shadowTypeface.getFontDescription().getFamilyName(), style); in create()
203 public String getFamilyName() { in getFamilyName() method in ShadowTypeface.FontDesc
/external/skia/gm/
Dfontmgr.cpp63 typeface->getFamilyName(&familyName); in drawCharacter()
95 fm->getFamilyName(i, &familyName); in onDraw()
285 font.getTypefaceOrDefault()->getFamilyName(&name); in show_bounds()
/external/skqp/gm/
Dfontmgr.cpp49 typeface->getFamilyName(&familyName); in drawCharacter()
88 fm->getFamilyName(i, &familyName); in onDraw()
280 font.getTypefaceOrDefault()->getFamilyName(&name); in show_bounds()
/external/skqp/src/core/
DSkTypefaceCache.cpp87 face->getFamilyName(&n); in DumpProc()
DSkFontDescriptor.h62 const char* getFamilyName() const { return fFamilyName.c_str(); } in getFamilyName() function
DSkTypeface.cpp231 return SkTypeface::MakeFromName(desc.getFamilyName(), desc.getStyle()); in MakeDeserialize()
334 void SkTypeface::getFamilyName(SkString* name) const { in getFamilyName() function in SkTypeface
/external/skia/modules/skparagraph/src/
DTypefaceFontProvider.cpp31 typeface->getFamilyName(&familyName); in registerTypeface()
/external/skia/src/core/
DSkTypefaceCache.cpp90 face->getFamilyName(&n); in DumpProc()
DSkFontDescriptor.h63 const char* getFamilyName() const { return fFamilyName.c_str(); } in getFamilyName() function
/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js55 expect(fontMgr.getFamilyName(0)).toEqual('Noto Serif');
224 expect(fontMgr.getFamilyName(0)).toEqual('Noto Serif');
225 expect(fontMgr.getFamilyName(1)).toEqual('Noto Color Emoji');
/external/skia/modules/skparagraph/include/
DTypefaceFontProvider.h27 SkString getFamilyName() const { return fFamilyName; } in getFamilyName() function
/external/skqp/include/core/
DSkFontMgr.h41 void getFamilyName(int index, SkString* familyName) const;
/external/skia/include/core/
DSkFontMgr.h41 void getFamilyName(int index, SkString* familyName) const;

123