/external/skia/src/ports/ |
SkFontConfigTypeface.h | 23 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;
|
SkFontMgr_custom.cpp | 31 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) { } [all...] |
SkFontMgr_android.cpp | 37 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; 170 &familyName, &style, &isFixedWidth, &axisDefinitions) [all...] |
SkFontConfigInterface_direct.h | 20 bool matchFamilyName(const char familyName[],
|
SkRemotableFontMgr_win_dw.cpp | 105 SkString familyName; 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...] |
SkFontMgr_fontconfig.cpp | 392 void onGetFamilyName(SkString* familyName) const override { 393 familyName->reset(); 423 void onGetFamilyName(SkString* familyName) const override { 424 *familyName = get_string(fPattern, FC_FAMILY); 562 const char* familyName = reinterpret_cast<const char*>(fcFamilyName); 563 if (familyName && !FindName(names, familyName)) { 564 *names.append() = familyName; 565 *sizes.append() = strlen(familyName) + 1; 617 void onGetFamilyName(int index, SkString* familyName) const override [all...] |
SkFontMgr_win_dw.cpp | 284 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, &dwFamilyName)) [all...] |
SkFontHost_win.cpp | 101 static void dcfontname_to_skstring(HDC deviceContext, const LOGFONT& lf, SkString* familyName) { 118 tchar_to_skstring(fontName.get(), familyName); 268 void onGetFamilyName(SkString* familyName) const override; [all...] |
/external/skia/include/ports/ |
SkFontMgr.h | 41 void getFamilyName(int index, SkString* familyName) const; 53 SkFontStyleSet* matchFamily(const char familyName[]) const; 56 * Find the closest matching typeface to the specified familyName and style 61 * Passing |nullptr| as the parameter for |familyName| will return the 68 SkTypeface* matchFamilyStyle(const char familyName[], const SkFontStyle&) const; 78 * Passing |nullptr| as the parameter for |familyName| will return the 85 SkTypeface* matchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 167 SkTypeface* legacyCreateTypeface(const char familyName[], 178 virtual void onGetFamilyName(int index, SkString* familyName) const = 0; 182 virtual SkFontStyleSet* onMatchFamily(const char familyName[]) const = 0 [all...] |
SkRemotableFontMgr.h | 102 virtual SkRemotableFontIdentitySet* matchName(const char familyName[]) const = 0; 121 virtual SkFontIdentity matchNameStyle(const char familyName[], const SkFontStyle&) const = 0; 133 virtual SkFontIdentity matchNameStyleCharacter(const char familyName[], const SkFontStyle&,
|
SkFontMgr_indirect.h | 36 void onGetFamilyName(int index, SkString* familyName) const override; 39 SkFontStyleSet* onMatchFamily(const char familyName[]) const override; 41 virtual SkTypeface* onMatchFamilyStyle(const char familyName[], 44 virtual SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], 57 virtual SkTypeface* onLegacyCreateTypeface(const char familyName[],
|
SkFontConfigInterface.h | 73 * Given a familyName and style, find the best match. 76 * If outFamilyName is not null, assign the found familyName to it 77 * (which may differ from the requested familyName). 83 virtual bool matchFamilyName(const char familyName[],
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
DataUtil.java | 55 String givenName, String familyName) { 56 return insertStructuredName(resolver, rawContactId, givenName, familyName, 61 ContentResolver resolver, long rawContactId, String givenName, String familyName, 63 return insertStructuredName(resolver, rawContactId, givenName, familyName, phoneticFamily, 68 ContentResolver resolver, long rawContactId, String givenName, String familyName, 75 if (givenName != null && familyName != null) { 78 if (familyName != null) { 79 sb.append(familyName); 86 values.put(StructuredName.FAMILY_NAME, familyName);
|
/external/skia/src/fonts/ |
SkFontMgr_indirect.cpp | 72 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[], 154 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle); 158 SkTypeface* SkFontMgr_Indirect::onMatchFamilyStyleCharacter(const char familyName[], 163 SkFontIdentity id = fProxy->matchNameStyleCharacter(familyName, style, bcp47, 170 SkString familyName; [all...] |
SkGScalerContext.h | 37 void onGetFamilyName(SkString* familyName) const override;
|
SkRandomScalerContext.h | 42 void onGetFamilyName(SkString* familyName) const override;
|
SkFontMgr_fontconfig.cpp | 231 void onGetFamilyName(int index, SkString* familyName) const override { 232 familyName->set(fFamilyNames->atStr(index)); 239 SkFontStyleSet* onMatchFamily(const char familyName[]) const override { 244 FcPatternAddString(pattern, FC_FAMILY, (FcChar8*)familyName); 283 SkTypeface* onMatchFamilyStyle(const char familyName[], 285 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, 321 SkTypeface* onLegacyCreateTypeface(const char familyName[], 324 return FontConfigTypeface::LegacyCreateTypeface(familyName, (SkTypeface::Style)styleBits);
|
/external/skia/src/utils/ |
SkWhitelistTypefaces.cpp | 90 const char* familyName = subName.c_str(); 91 desc.setFamilyName(familyName); 98 SkDebugf("%s %s\n", __FUNCTION__, familyName); 131 const char* familyName = desc.getFamilyName(); 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 = desc.getFamilyName() [all...] |
/external/skia/src/core/ |
SkFontMgr.cpp | 41 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[], 107 return this->onMatchFamilyStyle(familyName, fs); 110 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, 113 return this->onMatchFamilyStyleCharacter(familyName, style, bcp47, bcp47Count, character) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 115 for (String familyName : fontNames) { 116 if (familyName.equals("Helvetica")) { 117 mTextFont = new java.awt.Font(familyName, java.awt.Font.BOLD, 512); 122 for (String familyName : fontNames) { 123 if (familyName.equals("Arial")) { 124 mTextFont = new java.awt.Font(familyName, java.awt.Font.BOLD, 512);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameSplitter.java | 88 public String familyName; 102 public Name(String prefix, String givenNames, String middleName, String familyName, 107 this.familyName = familyName; 125 return familyName; 157 familyName = values.getAsString(StructuredName.FAMILY_NAME); 175 putValueIfPresent(values, StructuredName.FAMILY_NAME, familyName); 194 familyName = null; 206 && TextUtils.isEmpty(familyName) 216 + " family: " + familyName + " suffix: " + suffix + " ph/given: [all...] |
/external/skia/gm/ |
fontmgr.cpp | 46 SkString familyName; 47 typeface->getFamilyName(&familyName); 48 SkTypeface* typefaceCopy = fm->legacyCreateTypeface(familyName.c_str(), typeface->style()); 93 SkString familyName; 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);
|
/frameworks/base/rs/java/android/renderscript/ |
Font.java | 133 static String getFontFileName(String familyName, Style style) { 134 FontFamily family = sFontFamilyMap.get(familyName); 239 static public Font create(RenderScript rs, Resources res, String familyName, Style fontStyle, float pointSize) { 240 String fileName = getFontFileName(familyName, fontStyle);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
NameSplitterTest.java | 279 // Two Hanzi characters: familyName+givenName 282 // Two Hanzi characters: familyName+middleName+givenName 285 // Two Hanzi characters: familyName(2)+middleName+givenName 314 String middleName, String familyName, String suffix) { 320 assertEquals(familyName, name.getFamilyName()); 325 String middleName, String familyName, String suffix) { 327 familyName, suffix, true); 331 String middleName, String familyName, String suffix, boolean givenNameFirst) { 337 name.familyName = familyName; [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/util/ |
NameConverterTests.java | 69 * @param familyName Expected family name (null if not expected). 73 String givenName, String middleName, String familyName, String suffix) { 79 checkNameComponent(StructuredName.FAMILY_NAME, familyName, structuredName);
|