/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | FontLoader.java | 141 * @param style a 1-item array containing the requested style. Based on the font being read 144 * @return the font object or null if no match could be found. 154 // get the font objects from the main list based on family. 157 result.add(info.font[style]); 164 result.add(info.font[style]); 175 result.add(info.font[style]); 182 final Font[] font = new Font[4]; // Matches the 4 type-face styles. field in class:FontLoader.FontInfo 256 // if has a normal font file, add to the list 257 if (mFontInfo.font[Typeface.NORMAL] != null) { 260 // create missing font style [all...] |
/frameworks/base/docs/html/reference/renderscript/ |
H A D | doxygen.css | 4 font-family: Lucida Grande, Verdana, Geneva, Arial, sans-serif; 5 font-size: 12px; 11 font-size: 150%; 15 font-size: 150%; 16 font-weight: bold; 21 font-size: 120%; 25 font-size: 100%; 29 font-weight: bold; 58 font-weight: bold; 62 font [all...] |
/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)) 86 # Build the rest font files as prebuilt. 90 define build-one-font-module 117 $(eval $(call create-font-symlink,Roboto-Light.ttf,Roboto-Regular.ttf)) 118 $(eval $(call create-font [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BidiRenderer.java | 21 import java.awt.font.FontRenderContext; 22 import java.awt.font.GlyphVector; 33 * Render the text by breaking it into various scripts and using the right font for each script. 44 FontInfo font; field in class:BidiRenderer.ScriptRun 93 // We break the text into scripts and then select font based on it and then render each of 100 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); 107 * Render a script run to the right of the bounds passed. Use the preferred font to render as 109 * be drawn using the preferred font. 133 // The current character cannot be drawn with the preferred font. Cycle through all the 136 for (FontInfo font 163 render(int start, int limit, FontInfo font, int flag, float[] advances, int advancesIndex, boolean draw) argument [all...] |
H A D | Typeface_Delegate.java | 114 // font loader has not been initialized yet, add the delegate to a list of delegates 115 // to init when the font loader is initialized. 134 // font loader has not been initialized yet, add the delegate to a list of delegates 135 // to init when the font loader is initialized. 157 Font font = Font.createFont(Font.TRUETYPE_FONT, f); 158 if (font != null) { 159 Typeface_Delegate newDelegate = new Typeface_Delegate(font); 164 String.format("Unable to load font %1$s", relativePath), 175 // return a copy of the base font 201 private Typeface_Delegate(Font font) { argument [all...] |
H A D | Paint_Delegate.java | 33 import java.awt.font.FontRenderContext; 104 * Returns the list of {@link Font} objects. The first item is the main font, the rest 105 * are fall backs for characters not present in the main font. 1137 // create new font objects as well as FontMetrics, based on the current text size 1140 for (Font font : fonts) { 1142 info.mFont = font.deriveFont(mTextSize);
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
H A D | ContentSettingsAdapter.java | 264 public synchronized void setStandardFontFamily(String font) { argument 265 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "setStandardFontFamily=" + font); 266 mAwSettings.setStandardFontFamily(font); 275 public synchronized void setFixedFontFamily(String font) { argument 276 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "setFixedFontFamily=" + font); 277 mAwSettings.setFixedFontFamily(font); 286 public synchronized void setSansSerifFontFamily(String font) { argument 287 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "setSansSerifFontFamily=" + font); 288 mAwSettings.setSansSerifFontFamily(font); 297 public synchronized void setSerifFontFamily(String font) { argument 308 setCursiveFontFamily(String font) argument 319 setFantasyFontFamily(String font) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
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;
|
H A D | TextLayoutCache.cpp | 861 hb_font_t* font = createFont(face, &mShapingPaint, sizeX, sizeY); local 870 hb_shape(font, mBuffer, NULL, 0); 871 hb_font_destroy(font);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 42 * <li>TEXT_AUTOSIZING boosts font size of paragraphs based on heuristics to make 689 * Sets the standard font family name. The default is "sans-serif". 691 * @param font a font family name 693 public synchronized void setStandardFontFamily(String font) { argument 698 * Gets the standard font family name. 700 * @return the standard font family name as a string 708 * Sets the fixed font family name. The default is "monospace". 710 * @param font a font famil 712 setFixedFontFamily(String font) argument 731 setSansSerifFontFamily(String font) argument 750 setSerifFontFamily(String font) argument 769 setCursiveFontFamily(String font) argument 788 setFantasyFontFamily(String font) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Android.mk | 11 font/CacheTexture.cpp \ 12 font/Font.cpp \
|
H A D | FontRenderer.cpp | 82 // texture binding will be performed by the font renderer as 679 Font* font = Font::create(this, paint, matrix); local 680 font->precache(paint, text, numGlyphs); 691 ALOGE("No font set"); 709 ALOGE("No font set"); 720 void FontRenderer::removeFont(const Font* font) { argument 721 mActiveFonts.remove(font->getDescription()); 723 if (mCurrentFont == font) {
|
H A D | FontRenderer.h | 29 #include "font/FontUtil.h" 30 #include "font/CacheTexture.h" 31 #include "font/CachedGlyphInfo.h" 32 #include "font/Font.h" 177 void removeFont(const Font* font);
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.cpp | 64 ALOGW("Could not query the inverse lookup transform for this font"); 479 Font* font = state->mActiveFonts.get(description); local 481 if (!font) { 482 font = new Font(state, description); 483 state->mActiveFonts.put(description, font); 485 font->mIdentityTransform = matrix.isIdentity(); 487 return font;
|
/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.h | 184 void precacheLatin(Font *font); 208 // Render state for the font
|
H A D | rsContext.cpp | 832 Font *font = static_cast<Font *>(vfont); local 833 rsc->setFont(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]);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 209 Typeface font = Typeface.create("sans-serif-condensed", Typeface.NORMAL); 210 mTextPaint.setTypeface(font); 215 font = Typeface.create("sans-serif", Typeface.BOLD); 216 mWarningTextPaint.setTypeface(font);
|
/frameworks/base/media/java/android/media/ |
H A D | TimedText.java | 183 * ID of the font. This ID will be used to choose the font 184 * to be used from the font list. 204 * The size of the font 218 * @param fontId the ID of the font. 222 * @param fontSize the size of the font. 240 * Helper class to hold the font ID and name. 246 * The font ID 251 * The font name 257 * @param id the font I [all...] |
/frameworks/rs/scriptc/ |
H A D | rs_graphics.rsh | 374 * Binds the font object to be used for all subsequent font rendering calls 375 * @param font object to bind 378 rsgBindFont(rs_font font); 380 * Sets the font color for all subsequent rendering calls
|