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

/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/graphics/java/android/renderscript/
H A DFont.java52 //These help us create a font by family name
98 private static void addFamilyToMap(FontFamily family) { argument
99 for(int i = 0; i < family.mNames.length; i ++) {
100 sFontFamilyMap.put(family.mNames[i], family);
137 FontFamily family = sFontFamilyMap.get(familyName);
138 if(family != null) {
141 return family.mNormalFileName;
143 return family.mBoldFileName;
145 return family
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java77 * 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java119 public UiccCardApplication getUiccCardApplication(int family) { argument
122 return mUiccCard.getApplication(family);
129 public IccRecords getIccRecords(int family) { argument
132 UiccCardApplication app = mUiccCard.getApplication(family);
142 public IccFileHandler getIccFileHandler(int family) { argument
145 UiccCardApplication app = mUiccCard.getApplication(family);
H A DUiccCard.java320 public UiccCardApplication getApplication(int family) { argument
323 switch (family) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DFontLoader.java51 private static final String NODE_FAMILY = "family";
136 * Returns a {@link Font} object given a family name and a style value (constant in
138 * @param family the family name
144 public synchronized List<Font> getFont(String family, int style) { argument
147 if (family == null) {
152 // get the font objects from the main list based on family.
154 if (info.families.contains(family)) {
275 String family = trimXmlWhitespaces(mBuilder.toString());
276 mFontInfo.families.add(family);
[all...]
/frameworks/base/core/jni/android/graphics/
H A DTypeface.cpp46 static SkTypeface* Typeface_createFromTypeface(JNIEnv* env, jobject, SkTypeface* family, int style) { argument
47 SkTypeface* face = SkTypeface::CreateFromTypeface(family, (SkTypeface::Style)style);
49 // exist in the provided family
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DTypeface_Delegate.java193 private Typeface_Delegate(String family, int style) { argument
194 mFamily = family;
/frameworks/base/docs/html/reference/renderscript/
H A Ddoxygen.css4 font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif;
139 font-family: monospace, fixed;
504 font-family: "courier new",courier,monospace;
518 font-family: sans-serif;
/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 235 milliseconds