Home
last modified time | relevance | path

Searched refs:family (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/rs/java/android/renderscript/
DFont.java95 private static void addFamilyToMap(FontFamily family) { in addFamilyToMap() argument
96 for(int i = 0; i < family.mNames.length; i ++) { in addFamilyToMap()
97 sFontFamilyMap.put(family.mNames[i], family); in addFamilyToMap()
134 FontFamily family = sFontFamilyMap.get(familyName); in getFontFileName() local
135 if(family != null) { in getFontFileName()
138 return family.mNormalFileName; in getFontFileName()
140 return family.mBoldFileName; in getFontFileName()
142 return family.mItalicFileName; in getFontFileName()
144 return family.mBoldItalicFileName; in getFontFileName()
/frameworks/minikin/sample/
Dexample.cpp49 FontFamily *family = new FontFamily(); in makeFontCollection() local
60 family->addFont(font); in makeFontCollection()
62 typefaces.push_back(family); in makeFontCollection()
65 family = new FontFamily(); in makeFontCollection()
69 family->addFont(font); in makeFontCollection()
70 typefaces.push_back(family); in makeFontCollection()
Dexample_skia.cpp57 FontFamily *family = new FontFamily(); in makeFontCollection() local
64 family->addFont(font); in makeFontCollection()
66 typefaces.push_back(family); in makeFontCollection()
69 family = new FontFamily(); in makeFontCollection()
73 family->addFont(font); in makeFontCollection()
74 typefaces.push_back(family); in makeFontCollection()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp31 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); in Typeface_createFromTypeface() local
32 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style); in Typeface_createFromTypeface()
36 … face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic)); in Typeface_createFromTypeface()
39 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)i); in Typeface_createFromTypeface()
45 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); in Typeface_createWeightAlias() local
46 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight); in Typeface_createWeightAlias()
DTypefaceImpl.cpp69 FontFamily *family = new FontFamily(); in makeFontCollection() local
76 family->addFont(font); in makeFontCollection()
82 typefaces.push_back(family); in makeFontCollection()
85 family->Unref(); in makeFontCollection()
140 FontFamily* family = reinterpret_cast<FontFamily*>(families[i]); in TypefaceImpl_createFromFamilies() local
141 familyVec.push_back(family); in TypefaceImpl_createFromFamilies()
DFontFamily.cpp50 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { in addSkTypeface() argument
52 bool result = family->addFont(minikinFont); in addSkTypeface()
/frameworks/base/tools/layoutlib/rename_font/
Dbuild_font_single.py42 family = None variable in FontInfo
137 font.family = namerecord.text.strip()
162 namerecord.text = font.family
173 if font.family is None or font.style is None:
176 new_family = font.family + font.version
178 new_family = font.family
183 font.family = new_family
Dbuild_font.py44 family = None variable in FontInfo
153 font.family = namerecord.text.strip()
178 namerecord.text = font.family
189 if font.family is None or font.style is None:
192 new_family = font.family + font.version
194 new_family = font.family
199 font.family = new_family
Dtest.py39 self.assertEqual(fonts[0].family, "Roboto1200310")
/frameworks/base/core/java/android/text/style/
DTypefaceSpan.java36 public TypefaceSpan(String family) { in TypefaceSpan() argument
37 mFamily = family; in TypefaceSpan()
73 private static void apply(Paint paint, String family) { in apply() argument
83 Typeface tf = Typeface.create(family, oldStyle); in apply()
DTextAppearanceSpan.java71 String family = a.getString(com.android.internal.R.styleable.TextAppearance_fontFamily); in TextAppearanceSpan() local
72 if (family != null) { in TextAppearanceSpan()
73 mTypeface = family; in TextAppearanceSpan()
113 public TextAppearanceSpan(String family, int style, int size, in TextAppearanceSpan() argument
115 mTypeface = family; in TextAppearanceSpan()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp51 FontFamily* family = typefaces[i]; in FontCollection() local
52 MinikinFont* typeface = family->getClosestMatch(defaultStyle).font; in FontCollection()
56 family->RefLocked(); in FontCollection()
60 instance->mFamily = family; in FontCollection()
63 ALOGD("closest match = %p, family size = %d\n", typeface, family->getNumFonts()); in FontCollection()
134 FontFamily* family = instance->mFamily; in getInstanceForChar() local
136 if (mInstances[0].mFamily == family) { in getInstanceForChar()
139 int score = lang.match(family->lang()) * 2; in getInstanceForChar()
140 if (variant != 0 && variant == family->variant()) { in getInstanceForChar()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java168 public UiccCardApplication getUiccCardApplication(int family) { in getUiccCardApplication() argument
169 …roller.getInstance().getPhoneId(SubscriptionController.getInstance().getDefaultSubId()), family); in getUiccCardApplication()
188 public IccRecords getIccRecords(int slotId, int family) { in getIccRecords() argument
190 UiccCardApplication app = getUiccCardApplication(slotId, family); in getIccRecords()
214 public IccFileHandler getIccFileHandler(int slotId, int family) { in getIccFileHandler() argument
216 UiccCardApplication app = getUiccCardApplication(slotId, family); in getIccFileHandler()
310 public UiccCardApplication getUiccCardApplication(int slotId, int family) { in getUiccCardApplication() argument
315 return mUiccCards[slotId].getApplication(family); in getUiccCardApplication()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java133 public static Typeface create(Typeface family, int style) { in create() argument
138 if (family != null) { in create()
140 if (family.mStyle == style) { in create()
141 return family; in create()
144 ni = family.native_instance; in create()
262 private static FontFamily makeFamilyFromParsed(FontListParser.Family family) { in makeFamilyFromParsed() argument
263 FontFamily fontFamily = new FontFamily(family.lang, family.variant); in makeFamilyFromParsed()
264 for (FontListParser.Font font : family.fonts) { in makeFamilyFromParsed()
/frameworks/base/core/java/android/net/
DVpnService.java521 public Builder allowFamily(int family) { in allowFamily() argument
522 if (family == AF_INET) { in allowFamily()
524 } else if (family == AF_INET6) { in allowFamily()
527 throw new IllegalArgumentException(family + " is neither " + AF_INET + " nor " + in allowFamily()
/frameworks/base/docs/html/sdk/api_diff/20/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/17/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/11/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/15/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/6/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/19/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/21/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/8/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/12/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}
/frameworks/base/docs/html/sdk/api_diff/13/
Dstylesheet-jdiff.css13 tt {font-size:11pt;font-family:monospace;}

123