/frameworks/base/graphics/java/android/graphics/ |
H A D | FontListParser.java | 45 public static class Font { class in class:FontListParser 46 Font(String fontName, int weight, boolean isItalic) { method in class:FontListParser.Font 63 public Family(String name, List<Font> fonts, String lang, String variant) { 71 public List<Font> fonts; 110 List<Font> fonts = new ArrayList<Font>(); 120 fonts.add(new Font(fullFilename, weight, isItalic));
|
/frameworks/base/libs/hwui/font/ |
H A D | Font.h | 38 // Font 49 class Font { class in namespace:android::uirenderer 83 ~Font(); 91 const Font::FontDescription& getDescription() const { 98 static Font* create(FontRenderer* state, const SkPaint* paint, const SkMatrix& matrix); 103 Font(FontRenderer* state, const Font::FontDescription& desc); 105 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*, 156 inline int strictly_order_type(const Font::FontDescription& lhs, 157 const Font [all...] |
H A D | Font.cpp | 31 #include "Font.h" 41 // Font 44 Font::Font(FontRenderer* state, const Font::FontDescription& desc) : function in class:android::uirenderer::Font 47 Font::FontDescription::FontDescription(const SkPaint* paint, const SkMatrix& rasterMatrix) 53 mFlags |= Font::kFakeBold; 66 Font::~Font() { 74 hash_t Font [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Font.java | 43 * <p>Font color and transparency are not part of the font object and you can freely modify 44 * them in the script to suit the user's rendering needs. Font colors work as a state machine. 47 public class Font extends BaseObj { class in inherits:BaseObj 151 Font(long id, RenderScript rs) { method in class:Font 159 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { 167 Font rsFont = new Font(fontId, rs); 175 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { 182 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { 191 Font rsFon [all...] |
/frameworks/minikin/include/minikin/ |
H A D | FontFamily.h | 150 class Font { class in class:android::FontFamily 152 Font(MinikinFont* typeface, FontStyle style) : function in class:android::FontFamily::Font 159 std::vector<Font> mFonts;
|
/frameworks/rs/ |
H A D | rsFont.cpp | 36 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { function in class:Font 42 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) { 78 void Font::preDestroy() const { 87 void Font::invalidateTextureCache() { 93 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) { 113 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y, 139 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { 161 void Font::renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, 169 if (mode == Font [all...] |
H A D | rsFont.h | 44 class Font : public ObjectBase { class in namespace:android::renderscript 65 ~Font(); 75 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi, 119 Font(Context *rsc); 146 ObjectBaseRef<Font> mDefault; 150 Font::RenderMode mode = Font::FRAMEBUFFER, 151 Font::Rect *bounds = nullptr, 154 void measureText(const char *text, uint32_t len, Font::Rect *bounds); 164 friend class Font; [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 663 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK); 668 Object obj = getLast(text, Font.class); 674 Font f = (Font) obj; 832 private static class Font { class in class:HtmlToSpannedConverter 836 public Font(String color, String face) { method in class:HtmlToSpannedConverter.Font
|
/frameworks/base/media/java/android/media/ |
H A D | TimedText.java | 62 private static final int KEY_STRUCT_FONT_LIST = 9; // List<Font> 101 private List<Font> mFontList = null; 244 public static final class Font { class in class:TimedText 260 public Font(int id, String name) { method in class:TimedText.Font 592 * To parse and store the Font list 604 Font font = new Font(id, name); 607 mFontList = new ArrayList<Font>(); 724 * List of CharPos, Karaoke, Font, Style, and HyperText, or 3) an instance of
|