Searched defs:font (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/data/fonts/
H A DAndroid.mk20 # Use full Noto Sans Japanese font on non-smaller footprints
26 # create symlink for given font
27 # $(1): new font $(2): link target
29 define create-font-symlink
43 $(eval $(call create-font-symlink,DroidSans.ttf,Roboto-Regular.ttf))
44 $(eval $(call create-font-symlink,DroidSans-Bold.ttf,Roboto-Bold.ttf))
45 $(eval $(call create-font-symlink,DroidSerif-Regular.ttf,NotoSerif-Regular.ttf))
46 $(eval $(call create-font-symlink,DroidSerif-Bold.ttf,NotoSerif-Bold.ttf))
47 $(eval $(call create-font-symlink,DroidSerif-Italic.ttf,NotoSerif-Italic.ttf))
48 $(eval $(call create-font
[all...]
/frameworks/minikin/sample/
H A Dexample.cpp59 MinikinFont *font = new MinikinFontFreeType(face); local
60 family->addFont(font);
68 MinikinFont *font = new MinikinFontFreeType(face); local
69 family->addFont(font);
H A Dexample_skia.cpp61 MinikinFont *font = new MinikinFontSkia(skFace); local
62 family->addFont(font);
70 MinikinFont *font = new MinikinFontSkia(skFace); local
71 family->addFont(font);
/frameworks/base/core/jni/android/graphics/
H A DMinikinUtils.cpp59 FontCollection *font; local
61 FontStyle minikinStyle = prepareMinikinPaint(&minikinPaint, &font, paint, typeface);
62 layout->setFontCollection(font);
H A DMinikinSkia.cpp45 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 DTypefaceImpl.cpp74 MinikinFont *font = new MinikinFontSkia(skFace); local
75 family->addFont(font);
76 font->Unref();
78 ALOGE("failed to create font %s", fn);
150 MinikinFont* mf = firstFamily->getClosestMatch(defaultStyle).font;
H A DHarfBuzzNGFaceSkia.cpp166 hb_font_t* font = hb_font_create(face); local
171 hb_font_set_ppem(font, x_ppem, y_ppem);
172 hb_font_set_scale(font, HBFloatToFixed(sizeX), HBFloatToFixed(sizeY));
175 hb_font_set_funcs(font, harfbuzzSkiaGetFontFuncs(), data, destroyHarfBuzzFontData);
177 return font;
/frameworks/minikin/include/minikin/
H A DMinikinFont.h48 MinikinPaint() : font(0), size(0), scaleX(0), skewX(0), letterSpacing(0), paintFlags(0),
55 MinikinFont *font; member in struct:android::MinikinPaint
H A DFontFamily.h34 // 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/core/jni/
H A Dandroid_text_StaticLayout.cpp150 FontCollection *font; local
152 FontStyle style = MinikinUtils::prepareMinikinPaint(&minikinPaint, &font, paint, typeface);
153 return b->addStyleRun(&minikinPaint, font, style, start, end, isRtl);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBidiRenderer.java31 import java.awt.font.FontRenderContext;
32 import java.awt.font.GlyphVector;
39 * Render the text by breaking it into various scripts and using the right font for each script.
50 Font font; field in class:BidiRenderer.ScriptRun
63 // This List can contain nulls. A null font implies that the we weren't able to load the font
64 // properly. So, if we encounter a situation where we try to use that font, log a warning.
139 // We break the text into scripts and then select font based on it and then render each of
144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw);
151 * Render a script run to the right of the bounds passed. Use the preferred font t
216 render(int start, int limit, Font font, int flag, float[] advances, int advancesIndex, boolean draw) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DFontFamily.cpp159 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;
207 ALOGD("font coverage length=%d, first ch=%x\n", mCoverage->length(),
H A DLayout.cpp140 uint32_t mId; // for the font collection
294 MinikinFont* font = reinterpret_cast<MinikinFont*>(userData); local
296 bool ok = font->GetTable(tag, NULL, &length);
304 ok = font->GetTable(tag, reinterpret_cast<uint8_t*>(buffer), &length);
318 MinikinFont* font = paint->font; local
320 bool ok = font->GetGlyph(unicode, &glyph_id);
330 MinikinFont* font = paint->font; local
331 float advance = font
368 hb_font_t* font = hb_font_create(face); local
401 hb_font_t* font = create_hb_font(face.font, &ctx->paint); local
[all...]
/frameworks/rs/
H A DrsScriptC_LibGL.cpp264 void rsrBindFont(Context *rsc, Font *font) { argument
265 CHECK_OBJ(font);
266 rsi_ContextBindFont(rsc, font);
H A DrsFont.cpp57 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
732 void FontState::precacheLatin(Font *font) { argument
738 font->getCachedUTFChar((int32_t)mLatinPrecache[precacheIdx]);
H A DrsContext.cpp833 Font *font = static_cast<Font *>(vfont); local
834 rsc->setFont(font);
/frameworks/base/libs/hwui/font/
H A DFont.cpp62 ALOGW("Could not query the inverse lookup transform for this font");
491 Font* font = state->mActiveFonts.get(description); local
493 if (!font) {
494 font = new Font(state, description);
495 state->mActiveFonts.put(description, font);
497 font->mIdentityTransform = matrix.isIdentity();
499 return font;
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp645 Font* font = Font::create(this, paint, matrix); local
646 font->precache(paint, text, numGlyphs);
657 ALOGE("No font set");
675 ALOGE("No font set");
686 void FontRenderer::removeFont(const Font* font) { argument
687 mActiveFonts.remove(font->getDescription());
689 if (mCurrentFont == font) {
/frameworks/base/core/java/android/webkit/
H A DWebSettings.java43 * <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...]
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp807 void rsgBindFont(::rs_font font) { argument
809 rsrBindFont(rsc, (Font *)font.p);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 373 milliseconds