Searched defs:familyName (Results 1 - 25 of 33) sorted by relevance

12

/external/skia/src/ports/
H A DSkFontConfigTypeface.h23 const SkString& familyName) {
24 return new FontConfigTypeface(style, fi, familyName);
42 static SkTypeface* LegacyCreateTypeface(const char familyName[], SkTypeface::Style);
47 const SkString& familyName)
50 , fFamilyName(familyName)
59 void onGetFamilyName(SkString* familyName) const override;
21 Create(const SkFontStyle& style, const SkFontConfigInterface::FontIdentity& fi, const SkString& familyName) argument
45 FontConfigTypeface(const SkFontStyle& style, const SkFontConfigInterface::FontIdentity& fi, const SkString& familyName) argument
H A DSkFontMgr_custom.cpp31 bool sysFont, const SkString familyName, int index)
33 , fIsSysFont(sysFont), fFamilyName(familyName), fIndex(index)
39 void onGetFamilyName(SkString* familyName) const override {
40 *familyName = fFamilyName;
76 const SkString familyName, SkStreamAsset* stream, int index)
77 : INHERITED(style, isFixedPitch, sysFont, familyName, index)
97 const SkString familyName, const char path[], int index)
98 : INHERITED(style, isFixedPitch, sysFont, familyName, index)
123 explicit SkFontStyleSet_Custom(const SkString familyName) : fFamilyName(familyName) { } argument
30 SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch, bool sysFont, const SkString familyName, int index) argument
75 SkTypeface_Stream(const SkFontStyle& style, bool isFixedPitch, bool sysFont, const SkString familyName, SkStreamAsset* stream, int index) argument
96 SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, const SkString familyName, const char path[], int index) argument
[all...]
H A DSkFontMgr_android.cpp37 const SkString& familyName)
39 , fFamilyName(familyName)
43 void onGetFamilyName(SkString* familyName) const override {
44 *familyName = fFamilyName;
61 const SkString& familyName,
64 : INHERITED(style, isFixedPitch, familyName)
113 const SkString& familyName)
114 : INHERITED(style, isFixedPitch, familyName)
165 SkString familyName; local
170 &familyName,
35 SkTypeface_Android(const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) argument
55 SkTypeface_AndroidSystem(const SkString& pathName, const bool cacheFontFiles, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkLanguage& lang, FontVariant variantStyle) argument
110 SkTypeface_AndroidStream(SkFontData* data, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName) argument
[all...]
H A DSkRemotableFontMgr_win_dw.cpp105 SkString familyName; variable
106 sk_get_locale_string(familyNames.get(), fLocaleName.get(), &familyName);
108 names.appendString(familyName);
218 SkRemotableFontIdentitySet* matchName(const char familyName[]) const override {
220 if (nullptr == familyName) {
224 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName),
240 virtual SkFontIdentity matchNameStyle(const char familyName[],
246 if (nullptr == familyName) {
249 HR_GENERAL(sk_cstring_to_wchar(familyName, &dwFamilyName), nullptr, identity);
389 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[],
[all...]
H A DSkFontConfigInterface_direct.cpp420 bool SkFontConfigInterfaceDirect::matchFamilyName(const char familyName[], argument
425 SkString familyStr(familyName ? familyName : "");
434 if (familyName) {
435 FcPatternAddString(pattern, FC_FAMILY, (FcChar8*)familyName);
H A DSkFontMgr_android_parser.cpp288 static FontFamily* find_family(FamilyData* self, const SkString& familyName) { argument
292 if (candidate->fNames[j] == familyName) {
H A DSkFontHost_FreeType.cpp1530 SkString familyName; local
1531 this->getFamilyName(&familyName);
1533 nameIter = new SkOTUtils::LocalizedStrings_SingleName(familyName, language);
H A DSkFontMgr_win_dw.cpp284 void onGetFamilyName(int index, SkString* familyName) const override;
286 SkFontStyleSet* onMatchFamily(const char familyName[]) const override;
287 virtual SkTypeface* onMatchFamilyStyle(const char familyName[],
289 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
297 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
301 HRESULT getByFamilyName(const WCHAR familyName[], IDWriteFontFamily** fontFamily) const;
471 void SkFontMgr_DirectWrite::onGetFamilyName(int index, SkString* familyName) const {
478 sk_get_locale_string(familyNames.get(), fLocaleName.get(), familyName);
488 SkFontStyleSet* SkFontMgr_DirectWrite::onMatchFamily(const char familyName[]) const {
490 HRN(sk_cstring_to_wchar(familyName,
503 onMatchFamilyStyle(const char familyName[], const SkFontStyle& fontstyle) const argument
734 onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, const char* bcp47[], int bcp47Count, SkUnichar character) const argument
834 SkString familyName; local
953 onLegacyCreateTypeface(const char familyName[], unsigned styleBits) const argument
[all...]
H A DSkFontHost_win.cpp101 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { argument
118 tchar_to_skstring(fontName.get(), familyName);
268 void onGetFamilyName(SkString* familyName) const override;
1669 static void logfont_for_name(const char* familyName, LOGFONT* lf) { argument
1673 size_t str_len = ::MultiByteToWideChar(CP_UTF8, 0, familyName,
1679 ::MultiByteToWideChar(CP_UTF8, 0, familyName, -1,
1685 ::strncpy(lf->lfFaceName, familyName, LF_FACESIZE - 1);
1690 void LogFontTypeface::onGetFamilyName(SkString* familyName) const {
1697 dcfontname_to_skstring(deviceContext, fLogFont, familyName);
1710 SkString familyName; local
[all...]
H A DSkFontHost_mac.cpp465 void onGetFamilyName(SkString* familyName) const override;
505 static SkTypeface* NewFromName(const char familyName[], const SkFontStyle& theStyle) { argument
517 AutoCFRelease<CFStringRef> cfFontName(make_CFString(familyName));
2046 void SkTypeface_Mac::onGetFamilyName(SkString* familyName) const {
2047 get_str(CTFontCopyFamilyName(fFontRef), familyName); local
2205 SkFontStyleSet_Mac(CFStringRef familyName, CTFontDescriptorRef desc) argument
2207 , fFamilyName(familyName)
2209 CFRetain(familyName);
2313 void onGetFamilyName(int index, SkString* familyName) const override {
2315 CFStringToSkString(this->stringAt(index), familyName);
[all...]
/external/skia/src/core/
H A DSkFontMgr.cpp41 void onGetFamilyName(int index, SkString* familyName) const override {
56 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[],
93 void SkFontMgr::getFamilyName(int index, SkString* familyName) const {
94 this->onGetFamilyName(index, familyName);
101 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const {
102 return emptyOnNull(this->onMatchFamily(familyName));
105 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], argument
107 return this->onMatchFamilyStyle(familyName, fs);
110 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, argument
113 return this->onMatchFamilyStyleCharacter(familyName, styl
168 legacyCreateTypeface(const char familyName[], unsigned styleBits) const argument
[all...]
/external/skia/src/fonts/
H A DSkFontMgr_indirect.cpp72 void SkFontMgr_Indirect::onGetFamilyName(int index, SkString* familyName) const {
75 familyName->reset();
78 familyName->set(fFamilyNames->atStr(index));
89 SkFontStyleSet* SkFontMgr_Indirect::onMatchFamily(const char familyName[]) const {
90 return new SkStyleSet_Indirect(this, -1, fProxy->matchName(familyName));
152 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyle(const char familyName[], argument
154 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle);
158 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyleCharacter(const char familyName[], argument
163 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47,
170 SkString familyName; local
187 onLegacyCreateTypeface(const char familyName[], unsigned styleBits) const argument
[all...]
/external/skia/src/utils/
H A DSkWhitelistTypefaces.cpp90 const char* familyName = subName.c_str(); local
91 desc.setFamilyName(familyName);
98 SkDebugf("%s %s\n", __FUNCTION__, familyName);
131 const char* familyName = desc.getFamilyName(); local
132 if (familyName) {
133 if (!strcmp(familyName, "Times New Roman")) {
136 SkDebugf("%s %s\n", __FUNCTION__, familyName);
140 if (!strcmp(familyName, whitelist[i].fFontName)) {
143 SkDebugf("%s %s\n", __FUNCTION__, familyName);
199 const char* familyName local
[all...]
/external/skia/tests/
H A DFontNamesTest.cpp156 SkString familyName; local
157 typeface->getFamilyName(&familyName);
159 SkDebugf("[%s]\n", familyName.c_str());
H A DTextBlobCacheTest.cpp95 SkString familyName; local
96 fm->getFamilyName(i, &familyName);
/external/skia/gm/
H A Dfontmgr.cpp46 SkString familyName; local
47 typeface->getFamilyName(&familyName);
48 SkTypeface* typefaceCopy = fm->legacyCreateTypeface(familyName.c_str(), typeface->style());
93 SkString familyName; variable
94 fm->getFamilyName(i, &familyName);
96 (void)drawString(canvas, familyName, 20, y, paint);
111 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &zh, 1, fs);
112 x = drawCharacter(canvas, 0x5203, x, y, paint, fm, familyName.c_str(), &ja, 1, fs);
114 x = drawCharacter(canvas, 0x1f601, x, y, paint, fm, familyName.c_str(), nullptr,0, fs);
/external/skia/dm/
H A DDM.cpp1103 static SkTypeface* create_from_name(const char familyName[], SkTypeface::Style style) { argument
1104 if (familyName && strlen(familyName) > sizeof(PORTABLE_FONT_PREFIX)
1105 && !strncmp(familyName, PORTABLE_FONT_PREFIX, sizeof(PORTABLE_FONT_PREFIX) - 1)) {
1106 return sk_tool_utils::create_portable_typeface(familyName, style);
/external/robolectric/v3/runtime/
H A Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
H A Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/META-INF/ android/ ...
/external/libgdx/backends/gdx-backend-moe/libs/
H A Dintel-moe-ios.jarMETA-INF/ META-INF/MANIFEST.MF LICENSE com/ com/intel/ com/intel/moe/ com/intel/moe/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 1894 milliseconds

12