Searched defs:family (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/tools/split-select/
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/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;
57 * Returns the font family name.
73 private static void apply(Paint paint, String family) { argument
83 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;
165 * Returns the typeface family specified by this span, or <code>null</code>
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp31 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); local
32 TypefaceImpl* face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)style);
36 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)(style ^ SkTypeface::kItalic));
39 face = TypefaceImpl_createFromTypeface(family, (SkTypeface::Style)i);
45 TypefaceImpl* family = reinterpret_cast<TypefaceImpl*>(familyHandle); local
46 TypefaceImpl* face = TypefaceImpl_createWeightAlias(family, weight);
H A DFontFamily.cpp50 static jboolean addSkTypeface(FontFamily* family, SkTypeface* face) { argument
52 bool result = family->addFont(minikinFont);
H A DTypefaceImpl.cpp69 FontFamily *family = new FontFamily(); local
76 family->addFont(font);
82 typefaces.push_back(family);
85 family->Unref();
140 FontFamily* family = reinterpret_cast<FontFamily*>(families[i]); local
141 familyVec.push_back(family);
154 // TODO: probably better to query more precise style from family, will be important
/frameworks/base/tools/layoutlib/rename_font/
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 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...]
/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
64 family->addFont(font);
66 typefaces.push_back(family);
69 family = new FontFamily();
73 family->addFont(font);
74 typefaces.push_back(family);
/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/core/java/android/net/
H A DVpnService.java239 * Adding an address implicitly allows traffic from that address family (i.e., IPv4 or IPv6) to
269 * address family (i.e., IPv4 or IPv6) configured on the VPN, that <b>DOES NOT</b> block that
270 * family from being routed. In other words, once an address family has been allowed, it stays
392 throw new IllegalArgumentException("Unsupported family");
452 * Adding an address implicitly allows traffic from that address family
473 * Adding an address implicitly allows traffic from that address family
487 * Adding a route implicitly allows traffic from that address family
514 * Adding a route implicitly allows traffic from that address family
529 * Adding a server implicitly allows traffic from that address family
589 allowFamily(int family) argument
[all...]
/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/minikin/libs/minikin/
H A DFontCollection.cpp50 FontFamily* family = typefaces[i]; local
51 MinikinFont* typeface = family->getClosestMatch(defaultStyle).font;
55 family->RefLocked();
56 mFamilies.push_back(family); // emplace_back would be better
57 const SparseBitSet* coverage = family->getCoverage();
76 FontFamily* family = mFamilies[j]; local
77 mFamilyVec.push_back(family);
79 uint32_t nextChar = family->getCoverage()->nextSetBit((i + 1) << kLogCharsPerPage);
114 FontFamily* family = mFamilyVec[i]; local
115 if (family
183 FontFamily* family = getFamilyForChar(ch, lang, variant); local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java157 public IccRecords getIccRecords(int phoneId, int family) { argument
159 UiccCardApplication app = getUiccCardApplication(phoneId, family);
168 public IccFileHandler getIccFileHandler(int phoneId, int family) { argument
170 UiccCardApplication app = getUiccCardApplication(phoneId, family);
257 public UiccCardApplication getUiccCardApplication(int phoneId, int family) { argument
262 return mUiccCards[phoneId].getApplication(family);
H A DUiccCard.java411 public UiccCardApplication getApplication(int family) { argument
414 switch (family) {
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntry.java127 // Used only when no family nor given name is found.
253 return String.format("family: %s, given: %s, middle: %s, prefix: %s, suffix: %s",
291 public void setFamily(String family) { mFamily = family; } argument

Completed in 307 milliseconds