Searched refs:family (Results 1 - 22 of 22) sorted by relevance

/frameworks/minikin/libs/minikin/
H A DFontCollection.cpp50 FontFamily* family = typefaces[i]; local
51 MinikinFont* typeface = family->getClosestMatch(defaultStyle).font;
55 family->RefLocked();
56 const SparseBitSet* coverage = family->getCoverage();
58 family->UnrefLocked();
61 mFamilies.push_back(family); // emplace_back would be better
80 FontFamily* family = mFamilies[j]; local
81 mFamilyVec.push_back(family);
83 uint32_t nextChar = family->getCoverage()->nextSetBit((i + 1) << kLogCharsPerPage);
118 FontFamily* family local
196 FontFamily* family = getFamilyForChar(ch, lang, variant); local
[all...]
/frameworks/base/core/java/android/net/netlink/
H A DNetlinkConstants.java50 public static String stringForAddressFamily(int family) { argument
51 if (family == OsConstants.AF_INET) { return "AF_INET"; }
52 if (family == OsConstants.AF_INET6) { return "AF_INET6"; }
53 if (family == OsConstants.AF_NETLINK) { return "AF_NETLINK"; }
54 return String.valueOf(family);
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp30 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); local
31 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style);
35 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
38 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)i);
44 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); local
45 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight);
H A DTypefaceImpl.cpp68 FontFamily *family = new FontFamily(); local
75 family->addFont(font);
81 typefaces.push_back(family);
84 family->Unref();
139 FontFamily* family = reinterpret_cast<FontFamily*>(families[i]); local
140 familyVec.push_back(family);
153 // TODO: probably better to query more precise style from family, will be important
H A DFontFamily.cpp52 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { argument
54 bool result = family->addFont(minikinFont);
/frameworks/minikin/sample/
H A Dexample.cpp49 FontFamily *family = new FontFamily(); local
60 family->addFont(font);
62 typefaces.push_back(family);
65 family = new FontFamily();
69 family->addFont(font);
70 typefaces.push_back(family);
H A Dexample_skia.cpp57 FontFamily *family = new FontFamily(); local
62 family->addFont(font);
64 typefaces.push_back(family);
67 family = new FontFamily();
71 family->addFont(font);
72 typefaces.push_back(family);
/frameworks/base/core/java/android/text/style/
H A DTypefaceSpan.java27 * Changes the typeface family of the text to which the span is attached.
33 * @param family The font family for this typeface. Examples include
36 public TypefaceSpan(String family) { argument
37 mFamily = family;
67 * Returns the font family name.
83 private static void apply(Paint paint, String family) { argument
93 Typeface tf = Typeface.create(family, oldStyle);
H A DTextAppearanceSpan.java71 String family = a.getString(com.android.internal.R.styleable.TextAppearance_fontFamily);
72 if (family != null) {
73 mTypeface = family;
113 public TextAppearanceSpan(String family, int style, int size, argument
115 mTypeface = family;
175 * Returns the typeface family specified by this span, or <code>null</code>
/frameworks/base/rs/java/android/renderscript/
H A DFont.java49 //These help us create a font by family name
95 private static void addFamilyToMap(FontFamily family) { argument
96 for(int i = 0; i < family.mNames.length; i ++) {
97 sFontFamilyMap.put(family.mNames[i], family);
134 FontFamily family = sFontFamilyMap.get(familyName);
135 if(family != null) {
138 return family.mNormalFileName;
140 return family.mBoldFileName;
142 return family
[all...]
/frameworks/base/tools/layoutlib/rename_font/
H A Dbuild_font_single.py42 family = None variable in class:FontInfo
137 font.family = namerecord.text.strip()
162 namerecord.text = font.family
168 """ Compute the new font family name and font fullname. If the font has a
169 valid version, it's sanitized and appended to the font family name. The
170 font fullname is then created by joining the new family name and the
173 if font.family is None or font.style is None:
174 raise InvalidFontException('Font doesn\'t have proper family name or style')
176 new_family = font.family + font.version
178 new_family = font.family
[all...]
H A Dbuild_font.py44 family = None variable in class:FontInfo
153 font.family = namerecord.text.strip()
178 namerecord.text = font.family
184 """ Compute the new font family name and font fullname. If the font has a
185 valid version, it's sanitized and appended to the font family name. The
186 font fullname is then created by joining the new family name and the
189 if font.family is None or font.style is None:
190 raise InvalidFontException('Font doesn\'t have proper family name or style')
192 new_family = font.family + font.version
194 new_family = font.family
[all...]
H A Dtest.py39 self.assertEqual(fonts[0].family, "Roboto1200310")
/frameworks/base/tools/split-select/
H A DAbi.h44 const android::Vector<Variant>& getVariants(Family family);
H A DAbi.cpp62 const Vector<Variant>& getVariants(Family family) { argument
63 switch (family) {
H A DSplitDescription.cpp42 abi::Family family = abi::getFamily(abi); local
44 if (family != oFamily) {
45 return family != abi::Family_none;
57 abi::Family family = abi::getFamily(abi); local
59 if (family != oFamily) {
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java105 * Create a typeface object given a family name, and option style information.
110 * @param familyName May be null. The name of the font family.
125 * style from the same family of an existing typeface object. If family is
126 * null, this selects from the default font's family.
128 * @param family May be null. The name of the existing type face.
133 public static Typeface create(Typeface family, int style) { argument
138 if (family != null) {
140 if (family.mStyle == style) {
141 return family;
262 makeFamilyFromParsed(FontListParser.Family family) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java163 public IccRecords getIccRecords(int phoneId, int family) { argument
165 UiccCardApplication app = getUiccCardApplication(phoneId, family);
174 public IccFileHandler getIccFileHandler(int phoneId, int family) { argument
176 UiccCardApplication app = getUiccCardApplication(phoneId, family);
263 public UiccCardApplication getUiccCardApplication(int phoneId, int family) { argument
268 return mUiccCards[phoneId].getApplication(family);
H A DUiccCard.java415 public UiccCardApplication getApplication(int family) { argument
418 switch (family) {
/frameworks/base/core/java/android/net/
H A DVpnService.java240 * Adding an address implicitly allows traffic from that address family (i.e., IPv4 or IPv6) to
270 * address family (i.e., IPv4 or IPv6) configured on the VPN, that <b>DOES NOT</b> block that
271 * family from being routed. In other words, once an address family has been allowed, it stays
393 throw new IllegalArgumentException("Unsupported family");
453 * Adding an address implicitly allows traffic from that address family
474 * Adding an address implicitly allows traffic from that address family
488 * Adding a route implicitly allows traffic from that address family
515 * Adding a route implicitly allows traffic from that address family
530 * Adding a server implicitly allows traffic from that address family
590 allowFamily(int family) argument
[all...]
/frameworks/base/docs/html/ndk/reference/
H A Ddoxygen.css171 font-family: monospace, fixed;
183 font-family: monospace, fixed;
630 font-family: "courier new",courier,monospace;
879 font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java128 // Used only when no family nor given name is found.
254 return String.format("family: %s, given: %s, middle: %s, prefix: %s, suffix: %s",
292 public void setFamily(String family) { mFamily = family; } argument

Completed in 438 milliseconds