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

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
StringTexture.java 23 import android.graphics.Typeface;
63 paint.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
  /cts/tests/tests/graphics/src/android/graphics/cts/
TypefaceTest.java 24 import android.graphics.Typeface;
28 import android.graphics.Typeface;
38 @TestTargetClass(android.graphics.Typeface.class)
46 // list of family names to try when attempting to find a typeface with a given style
51 * Create a typeface of the given style. If the default font does not support the style,
53 * @return The typeface or null, if no typeface with the given style can be found.
55 private Typeface createTypeface(int style) {
57 Typeface tf = Typeface.create(family, style)
84 Typeface typeface = createTypeface(Typeface.BOLD); local
126 Typeface typeface = Typeface.create(DEFAULT, Typeface.NORMAL); local
145 Typeface typeface = Typeface.defaultFromStyle(Typeface.NORMAL); local
177 Typeface typeface = Typeface.createFromAsset(getContext().getAssets(), "samplefont.ttf"); local
195 Typeface typeface = Typeface.createFromFile(file); local
213 Typeface typeface = Typeface.createFromFile(obtainPath()); local
    [all...]
  /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));
  /frameworks/base/graphics/java/android/graphics/
Typeface.java 24 * The Typeface class specifies the typeface and intrinsic style of a font.
29 public class Typeface {
31 /** The default NORMAL typeface object */
32 public static final Typeface DEFAULT;
34 * The default BOLD typeface object. Note: this may be not actually be
38 public static final Typeface DEFAULT_BOLD;
39 /** The NORMAL style of the default sans serif typeface. */
40 public static final Typeface SANS_SERIF;
41 /** The NORMAL style of the default serif typeface. *
    [all...]
  /development/apps/FontLab/src/com/android/fontlab/
FontLab.java 24 import android.graphics.Typeface;
119 Typeface tf = mColumn1.getTypeface();
147 private static final Typeface sTypeface[] = {
148 Typeface.SANS_SERIF,
149 Typeface.SERIF,
150 Typeface.MONOSPACE
156 private static boolean canSupportStyle(Typeface tf, int styleBits) {
157 tf = Typeface.create(tf, styleBits);
162 Typeface tf = Typeface.create(sTypeface[mFontIndex], mFontStyle)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MeasureText.java 64 mPaint.setTypeface(Typeface.create(Typeface.SERIF,
65 Typeface.ITALIC));
  /frameworks/base/services/java/com/android/server/wm/
Watermark.java 24 import android.graphics.Typeface;
87 mTextPaint.setTypeface(Typeface.create(Typeface.SANS_SERIF, Typeface.BOLD));
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListPinnedHeaderView.java 24 import android.graphics.Typeface;
87 mHeaderTextView.setTypeface(mHeaderTextView.getTypeface(), Typeface.BOLD);
ContactListItemView.java 33 import android.graphics.Typeface;
733 mHeaderTextView.setTypeface(mHeaderTextView.getTypeface(), Typeface.BOLD);
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageListItemCoordinates.java 22 import android.graphics.Typeface;
101 sPaint.setTypeface(Typeface.DEFAULT);
  /packages/apps/Calendar/src/com/android/calendar/
DayView.java 41 import android.graphics.Typeface;
168 private Typeface mBold = Typeface.DEFAULT_BOLD;
    [all...]
  /prebuilt/sdk/10/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/14/
android.jar 
  /prebuilt/sdk/4/
android.jar 
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/6/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 997 milliseconds