/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 38 $(eval $(call create-font-symlink,DroidSans.ttf,Roboto-Regular.ttf)) 39 $(eval $(call create-font-symlink,DroidSans-Bold.ttf,Roboto-Bold.ttf)) 40 $(eval $(call create-font-symlink,DroidSerif-Regular.ttf,NotoSerif-Regular.ttf)) 41 $(eval $(call create-font-symlink,DroidSerif-Bold.ttf,NotoSerif-Bold.ttf)) 42 $(eval $(call create-font-symlink,DroidSerif-Italic.ttf,NotoSerif-Italic.ttf)) 43 $(eval $(call create-font-symlink,DroidSerif-BoldItalic.ttf,NotoSerif-BoldItalic.ttf)) 99 # Build the rest of font file [all...] |
/frameworks/minikin/sample/ |
H A D | example.cpp | 59 MinikinFont *font = new MinikinFontFreeType(face); local 60 family->addFont(font); 68 MinikinFont *font = new MinikinFontFreeType(face); local 69 family->addFont(font);
|
H A D | example_skia.cpp | 63 MinikinFont *font = new MinikinFontSkia(skFace); local 64 family->addFont(font); 72 MinikinFont *font = new MinikinFontSkia(skFace); local 73 family->addFont(font); 121 const char *style = "font-size: 32; font-weight: 700;";
|
/frameworks/base/core/jni/android/graphics/ |
H A D | MinikinSkia.cpp | 45 static void MinikinFontSkia_SetSkiaPaint(const MinikinFont* font, SkPaint* skPaint, const MinikinPaint& paint) { argument 51 // Apply font fakery on top of user-supplied flags. 52 MinikinFontSkia::populateSkPaint(skPaint, font, paint.fakery); 118 void MinikinFontSkia::populateSkPaint(SkPaint* paint, const MinikinFont* font, FontFakery fakery) { argument 119 paint->setTypeface(reinterpret_cast<const MinikinFontSkia*>(font)->GetSkTypeface());
|
H A D | TypefaceImpl.cpp | 75 MinikinFont *font = new MinikinFontSkia(skFace); local 76 family->addFont(font); 77 font->Unref(); 79 ALOGE("failed to create font %s", fn); 151 MinikinFont* mf = firstFamily->getClosestMatch(defaultStyle).font;
|
H A D | HarfBuzzNGFaceSkia.cpp | 164 hb_font_t* font = hb_font_create(face); local 169 hb_font_set_ppem(font, x_ppem, y_ppem); 170 hb_font_set_scale(font, HBFloatToFixed(sizeX), HBFloatToFixed(sizeY)); 173 hb_font_set_funcs(font, harfbuzzSkiaGetFontFuncs(), data, destroyHarfBuzzFontData); 175 return font;
|
/frameworks/minikin/include/minikin/ |
H A D | MinikinFont.h | 35 MinikinPaint() : font(0), size(0), scaleX(0), skewX(0), letterSpacing(0), paintFlags(0), 42 MinikinFont *font; member in struct:android::MinikinPaint
|
H A D | FontFamily.h | 34 // font rendering. 63 // FontStyle represents all style information needed to select an actual font 117 MinikinFont* font; member in struct:android::FakedFont 130 // Add font to family, extracting style information from the font
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 25 import java.awt.font.FontRenderContext; 26 import java.awt.font.GlyphVector; 40 * Render the text by breaking it into various scripts and using the right font for each script. 51 Font font; field in class:BidiRenderer.ScriptRun 64 // This List can contain nulls. A null font implies that the we weren't able to load the font 65 // properly. So, if we encounter a situation where we try to use that font, log a warning. 140 // We break the text into scripts and then select font based on it and then render each of 145 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); 152 * Render a script run to the right of the bounds passed. Use the preferred font t 217 render(int start, int limit, Font font, int flag, float[] advances, int advancesIndex, boolean draw) argument [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontFamily.cpp | 159 const Font& font = mFonts[i]; local 160 int match = computeMatch(font.style, style); 162 bestFont = &font; 168 result.font = NULL; 170 result.font = bestFont->typeface; 191 MinikinFont* typeface = getClosestMatch(defaultStyle).font; 199 ALOGD("font coverage length=%d, first ch=%x\n", mCoverage->length(),
|
H A D | Layout.cpp | 109 uint32_t mId; // for the font collection 287 MinikinFont* font = reinterpret_cast<MinikinFont*>(userData); local 289 bool ok = font->GetTable(tag, NULL, &length); 297 ok = font->GetTable(tag, reinterpret_cast<uint8_t*>(buffer), &length); 311 MinikinFont* font = paint->font; local 319 bool ok = font->GetGlyph(unicode, &glyph_id); 329 MinikinFont* font = paint->font; local 330 float advance = font 367 hb_font_t* font = hb_font_create(face); local 400 hb_font_t* font = create_hb_font(face.font, &ctx->paint); local [all...] |
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 268 void rsrBindFont(Context *rsc, Font *font) { argument 269 CHECK_OBJ(font); 270 rsi_ContextBindFont(rsc, font);
|
H A D | rsFont.cpp | 57 ALOGE("Unable to initialize font %s", name); 67 ALOGE("Unable to set font size on %s", name); 258 // Let the font state figure out where to put the bitmap 736 void FontState::precacheLatin(Font *font) { argument 742 font->getCachedUTFChar((int32_t)mLatinPrecache[precacheIdx]);
|
H A D | rsContext.cpp | 858 Font *font = static_cast<Font *>(vfont); local 859 rsc->setFont(font);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 63 ALOGW("Could not query the inverse lookup transform for this font"); 492 Font* font = state->mActiveFonts.get(description); local 494 if (!font) { 495 font = new Font(state, description); 496 state->mActiveFonts.put(description, font); 498 font->mIdentityTransform = matrix.isIdentity(); 500 return font;
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.cpp | 83 // texture binding will be performed by the font renderer as 682 Font* font = Font::create(this, paint, matrix); local 683 font->precache(paint, text, numGlyphs); 694 ALOGE("No font set"); 712 ALOGE("No font set"); 723 void FontRenderer::removeFont(const Font* font) { argument 724 mActiveFonts.remove(font->getDescription()); 726 if (mCurrentFont == font) {
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | ContentSettingsAdapter.java | 275 public synchronized void setStandardFontFamily(String font) { argument 276 if (TRACE) Log.d(LOGTAG, "setStandardFontFamily=" + font); 277 mAwSettings.setStandardFontFamily(font); 286 public synchronized void setFixedFontFamily(String font) { argument 287 if (TRACE) Log.d(LOGTAG, "setFixedFontFamily=" + font); 288 mAwSettings.setFixedFontFamily(font); 297 public synchronized void setSansSerifFontFamily(String font) { argument 298 if (TRACE) Log.d(LOGTAG, "setSansSerifFontFamily=" + font); 299 mAwSettings.setSansSerifFontFamily(font); 308 public synchronized void setSerifFontFamily(String font) { argument 319 setCursiveFontFamily(String font) argument 330 setFantasyFontFamily(String font) argument [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 43 * <li>TEXT_AUTOSIZING boosts font size of paragraphs based on heuristics to make 659 * Sets the standard font family name. The default is "sans-serif". 661 * @param font a font family name 663 public abstract void setStandardFontFamily(String font); argument 666 * Gets the standard font family name. 668 * @return the standard font family name as a string 674 * Sets the fixed font family name. The default is "monospace". 676 * @param font a font famil 678 setFixedFontFamily(String font) argument 693 setSansSerifFontFamily(String font) argument 708 setSerifFontFamily(String font) argument 723 setCursiveFontFamily(String font) argument 738 setFantasyFontFamily(String font) argument [all...] |