/frameworks/base/data/fonts/ |
H A D | Android.mk | 21 # create symlink for given font 22 # $(1): new font $(2): link target 24 define create-font-symlink 36 # We may only afford small font footprint. 38 $(eval $(call create-font-symlink,DroidSans.ttf,Roboto-Regular.ttf)) 39 $(eval $(call create-font-symlink,DroidSans-Bold.ttf,Roboto-Bold.ttf)) 104 # Build the rest font files as prebuilt. 108 define build-one-font-module 135 $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf)) 136 $(eval $(call create-font [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Typeface_Delegate.java | 111 // font loader has not been initialized yet, add the delegate to a list of delegates 112 // to init when the font loader is initialized. 131 // font loader has not been initialized yet, add the delegate to a list of delegates 132 // to init when the font loader is initialized. 154 Font font = Font.createFont(Font.TRUETYPE_FONT, f); 155 if (font != null) { 156 Typeface_Delegate newDelegate = new Typeface_Delegate(font); 161 String.format("Unable to load font %1$s", relativePath), 172 // return a copy of the base font 203 private Typeface_Delegate(Font font) { argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | HarfbuzzSkia.cpp | 191 HB_Error harfbuzzSkiaGetTable(void* font, const HB_Tag tag, HB_Byte* buffer, HB_UInt* len) argument 193 SkTypeface* typeface = static_cast<SkTypeface*>(font);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | FontLoader.java | 137 * @param style a 1-item array containing the requested style. Based on the font being read 140 * @return the font object or null if no match could be found. 150 // get the font objects from the main list based on family. 153 result.add(info.font[style]); 160 result.add(info.font[style]); 171 result.add(info.font[style]); 178 final Font[] font = new Font[4]; // Matches the 4 type-face styles. field in class:FontLoader.FontInfo 236 // if has a normal font file, add to the list 237 if (mFontInfo.font[Typeface.NORMAL] != null) { 240 // create missing font style [all...] |
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 268 void rsrBindFont(Context *rsc, Script *sc, Font *font) { argument 269 CHECK_OBJ(font); 270 rsi_ContextBindFont(rsc, font);
|
H A D | rsContext.cpp | 721 Font *font = static_cast<Font *>(vfont); local 722 rsc->setFont(font);
|
H A D | rsFont.cpp | 55 ALOGE("Unable to initialize font %s", name); 65 ALOGE("Unable to set font size on %s", name); 256 // Let the font state figure out where to put the bitmap 733 void FontState::precacheLatin(Font *font) { argument 738 font->getCachedUTFChar((int32_t)mLatinPrecache[precacheIdx]);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 427 Font* font = activeFonts[i]; local 428 if (font->mFontId == fontId && font->mFontSize == fontSize && 429 font->mFlags == flags && font->mItalicStyle == italicStyle && 430 font->mScaleX == scaleX && font->mStyle == style && 431 (style == SkPaint::kFill_Style || font->mStrokeWidth == strokeWidth)) { 432 return font;
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 643 * Sets the standard font family name. The default is "sans-serif". 645 * @param font a font family name 647 public synchronized void setStandardFontFamily(String font) { argument 652 * Gets the standard font family name. 654 * @return the standard font family name as a string 662 * Sets the fixed font family name. The default is "monospace". 664 * @param font a font family name 666 public synchronized void setFixedFontFamily(String font) { argument 685 setSansSerifFontFamily(String font) argument 704 setSerifFontFamily(String font) argument 723 setCursiveFontFamily(String font) argument 742 setFantasyFontFamily(String font) argument [all...] |
H A D | WebSettingsClassic.java | 843 public synchronized void setStandardFontFamily(String font) { argument 844 if (font != null && !font.equals(mStandardFontFamily)) { 845 mStandardFontFamily = font; 862 public synchronized void setFixedFontFamily(String font) { argument 863 if (font != null && !font.equals(mFixedFontFamily)) { 864 mFixedFontFamily = font; 881 public synchronized void setSansSerifFontFamily(String font) { argument 882 if (font ! 900 setSerifFontFamily(String font) argument 919 setCursiveFontFamily(String font) argument 938 setFantasyFontFamily(String font) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 564 Font* font = Font::create(this, SkTypeface::UniqueID(paint->getTypeface()), local 567 font->precache(paint, text, numGlyphs); 573 ALOGE("No font set"); 588 ALOGE("No font set"); 603 ALOGE("No font set"); 614 void FontRenderer::removeFont(const Font* font) { argument 616 if (mActiveFonts[ct] == font) { 622 if (mCurrentFont == font) {
|