HomeSort by relevance Sort by last modified time
    Searched defs:Typeface (Results 1 - 25 of 57) sorted by null

1 2 3

  /frameworks/base/libs/hwui/hwui/
Typeface.h 31 // This value must be the same as the android.graphics.Typeface$Builder.RESOLVE_BY_FONT_TABLE.
34 struct ANDROID_API Typeface {
41 // style used for constructing and querying Typeface objects
44 static Typeface* resolveDefault(Typeface* src);
46 // The following three functions create new Typeface from an existing Typeface with a different
48 // existing Typeface.
49 // The createRelative method creates a new Typeface with a style relative to the base Typeface
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
StringTexture.java 23 import android.graphics.Typeface;
63 paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader2.java 21 import android.graphics.Typeface;
154 // Create a TextView wrapper, and change the typeface, if necessary.
162 Typeface type = view.getTypeface();
163 view.setTypeface(Typeface.create(type, Typeface.BOLD_ITALIC));
MyRssReader3.java 22 import android.graphics.Typeface;
162 // Create a TextView wrapper, and change the typeface, if necessary.
168 Typeface type = view.getTypeface();
169 view.setTypeface(Typeface.create(type, Typeface.BOLD_ITALIC));
MyRssReader4.java 23 import android.graphics.Typeface;
189 Typeface type = view.getTypeface();
190 view.setTypeface(Typeface.create(type, Typeface.BOLD_ITALIC));
MyRssReader5.java 24 import android.graphics.Typeface;
232 Typeface type = view.getTypeface();
233 view.setTypeface(Typeface.create(type, Typeface.BOLD_ITALIC));
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AccountItemView.java 19 import android.graphics.Typeface;
88 mAccountDisplayName.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
94 mAccountDisplayName.setTypeface(Typeface.DEFAULT);
  /packages/apps/Contacts/src/com/android/contacts/lettertiles/
LetterTileDrawable.java 28 import android.graphics.Typeface;
89 sPaint.setTypeface(Typeface.create(
90 res.getString(R.string.letter_tile_letter_font_family), Typeface.NORMAL));
160 sPaint.setTypeface(Typeface.create("sans-serif", Typeface.NORMAL));
  /cts/tests/tests/graphics/src/android/graphics/cts/
TypefaceTest.java 32 import android.graphics.Typeface;
55 // list of family names to try when attempting to find a typeface with a given style
62 * Create a typeface of the given style. If the default font does not support the style,
64 * @return The typeface or null, if no typeface with the given style can be found.
66 private static Typeface createTypeface(int style) {
68 Typeface tf = Typeface.create(family, style);
83 Typeface typeface = createTypeface(Typeface.BOLD) local
114 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); local
129 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); local
168 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "samplefont.ttf"); local
181 Typeface typeface = Typeface.createFromFile(file); local
205 Typeface typeface = Typeface.createFromFile(obtainPath()); local
232 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "bombfont.ttf"); local
244 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "bombfont2.ttf"); local
278 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), "ft45987.ttf"); local
449 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), fontPath); local
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/lettertiles/
LetterTileDrawable.java 29 import android.graphics.Typeface;
130 Typeface.create(res.getString(R.string.letter_tile_letter_font_family), Typeface.NORMAL));
220 sPaint.setTypeface(Typeface.create("sans-serif", Typeface.NORMAL));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MeasureText.java 64 mPaint.setTypeface(Typeface.create(Typeface.SERIF,
65 Typeface.ITALIC));
  /frameworks/base/services/core/java/com/android/server/wm/
Watermark.java 26 import android.graphics.Typeface;
91 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD));
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumLabelMaker.java 25 import android.graphics.Typeface;
85 paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
  /frameworks/base/graphics/java/android/graphics/
Typeface.java 73 * The Typeface class specifies the typeface and intrinsic style of a font.
78 public class Typeface {
80 private static String TAG = "Typeface";
82 /** The default NORMAL typeface object */
83 public static final Typeface DEFAULT;
85 * The default BOLD typeface object. Note: this may be not actually be
89 public static final Typeface DEFAULT_BOLD;
90 /** The NORMAL style of the default sans serif typeface. */
91 public static final Typeface SANS_SERIF
171 Typeface typeface = sDynamicTypefaceCache.get(key); local
220 Typeface typeface = FontsContract.getFontSync(request); local
224 Typeface typeface = findFromCache(mgr, path); local
265 Typeface typeface = sDynamicTypefaceCache.get(key); local
552 Typeface typeface; local
604 Typeface typeface = sDynamicTypefaceCache.get(key); local
707 Typeface typeface; local
756 Typeface typeface = new Builder(mgr, path).build(); local
951 Typeface typeface; local
967 systemFonts.put(f.getName(), typeface); local
    [all...]
Paint.java 72 private Typeface mTypeface;
166 * simulated bold effect when drawing a {@link Typeface} that is not
    [all...]
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
PlayerSetupActivity.java 29 import android.graphics.Typeface;
151 buttonCopy.setTypeface(child.getTypeface(), Typeface.BOLD);
254 button.setTypeface(mBobButton.getTypeface(), Typeface.BOLD);
  /packages/apps/TV/src/com/android/tv/onboarding/
SetupSourcesFragment.java 20 import android.graphics.Typeface;
385 descriptionView.setTypeface(Typeface.create(
391 descriptionView.setTypeface(Typeface.create(getString(R.string.font), 0));
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
ComplicationSimpleWatchFaceService.java 33 import android.graphics.Typeface;
208 mComplicationPaint.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD));
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
ViewInflater.java 23 import android.graphics.Typeface;
521 int style = getInteger(Typeface.class, value);
523 textview.setTypeface(Typeface.DEFAULT);
527 } else if (attr.equals("typeface")) {
529 Typeface typeface = textview.getTypeface(); local
530 int style = typeface == null ? 0 : typeface.getStyle();
531 textview.setTypeface(Typeface.create(value, style));
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
Bridge.java 41 import android.graphics.Typeface;
404 // dispose of the default typeface.
406 Typeface.sDynamicTypefaceCache.evictAll();
  /frameworks/base/core/java/android/widget/
SimpleMonthView.java 29 import android.graphics.Typeface;
216 p.setTypeface(Typeface.create(fontFamily, 0));
278 mMonthPaint.setTypeface(Typeface.create(monthTypeface, 0));
284 mDayOfWeekPaint.setTypeface(Typeface.create(dayOfWeekTypeface, 0));
299 mDayPaint.setTypeface(Typeface.create(dayTypeface, 0));
    [all...]
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
MonthView.java 26 import android.graphics.Typeface;
285 mMonthTitlePaint.setTypeface(Typeface.create(mMonthTitleTypeface, Typeface.BOLD));
309 mMonthDayLabelPaint.setTypeface(Typeface.create(mDayOfWeekTypeface, Typeface.NORMAL));
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListItemView.java 27 import android.graphics.Typeface;
266 mTextHighlighter = new TextHighlighter(Typeface.BOLD);
346 mTextHighlighter = new TextHighlighter(Typeface.BOLD);
    [all...]
  /packages/apps/Dialer/java/com/android/contacts/common/list/
ContactListItemView.java 26 import android.graphics.Typeface;
187 mTextHighlighter = new TextHighlighter(Typeface.BOLD);
270 mTextHighlighter = new TextHighlighter(Typeface.BOLD);
    [all...]
  /packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
KeyboardView.java 32 import android.graphics.Typeface;
162 private int mTextStyle = Typeface.BOLD;
371 Typeface typeface = Typeface.create(mFontFamily, mTextStyle); local
372 mPaint.setTypeface(typeface);
375 mPaint.setTypeface(Typeface.create(Typeface.DEFAULT, mTextStyle));
    [all...]

Completed in 689 milliseconds

1 2 3