Searched defs:family (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/core/java/android/text/style/ |
H A D | TypefaceSpan.java | 27 * 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 D | TextAppearanceSpan.java | 71 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/graphics/java/android/renderscript/ |
H A D | Font.java | 51 //These help us create a font by family name 97 private static void addFamilyToMap(FontFamily family) { argument 98 for(int i = 0; i < family.mNames.length; i ++) { 99 sFontFamilyMap.put(family.mNames[i], family); 136 FontFamily family = sFontFamilyMap.get(familyName); 137 if(family != null) { 140 return family.mNormalFileName; 142 return family.mBoldFileName; 144 return family [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface_Delegate.java | 198 private Typeface_Delegate(String family, int style) { argument 199 mFamily = family;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Typeface.cpp | 44 static SkTypeface* Typeface_createFromTypeface(JNIEnv* env, jobject, SkTypeface* family, int style) { argument 45 return SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Typeface.java | 77 * Create a typeface object given a family name, and option style information. 82 * @param familyName May be null. The name of the font family. 94 * style from the same family of an existing typeface object. If family is 95 * null, this selects from the default font's family. 97 * @param family May be null. The name of the existing type face. 102 public static Typeface create(Typeface family, int style) { argument 104 if (family != null) { 106 if (family.mStyle == style) { 107 return family; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | FontLoader.java | 51 private static final String NODE_FAMILY = "family"; 134 * Returns a {@link Font} object given a family name and a style value (constant in 136 * @param family the family name 142 public synchronized List<Font> getFont(String family, int style) { argument 145 if (family == null) { 150 // get the font objects from the main list based on family. 152 if (info.families.contains(family)) { 257 String family = trimXmlWhitespaces(mBuilder.toString()); 258 mFontInfo.families.add(family); [all...] |
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntry.java | 127 // 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 166 milliseconds