Searched defs:Font (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/libs/hwui/font/
H A DFont.h33 // Font
42 class Font { class in namespace:android::uirenderer
48 ~Font();
67 static Font* create(FontRenderer* state, uint32_t fontId, float fontSize,
73 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*,
91 Font(FontRenderer* state, uint32_t fontId, float fontSize, int flags, uint32_t italicStyle,
H A DFont.cpp25 #include "Font.h"
33 // Font
36 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, function in class:android::uirenderer::Font
45 Font::~Font() {
53 void Font::invalidateTextureCache(CacheTexture* cacheTexture) {
62 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y,
84 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
103 void Font
[all...]
/frameworks/base/graphics/java/android/renderscript/
H A DFont.java45 * <p>Font color and transparency are not part of the font object and you can freely modify
46 * them in the script to suit the user's rendering needs. Font colors work as a state machine.
49 public class Font extends BaseObj { class in inherits:BaseObj
153 Font(int id, RenderScript rs) { method in class:Font
161 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) {
169 Font rsFont = new Font(fontId, rs);
177 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) {
184 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) {
193 Font rsFon
[all...]
/frameworks/rs/
H A DrsFont.cpp34 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { function in class:Font
40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) {
76 void Font::preDestroy() const {
85 void Font::invalidateTextureCache() {
91 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) {
111 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y,
137 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) {
159 void Font::renderUTF(const char *text, uint32_t len, int32_t x, int32_t y,
167 if (mode == Font
[all...]
H A DrsFont.h45 class Font : public ObjectBase { class in namespace:android::renderscript
66 ~Font();
76 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
120 Font(Context *rsc);
147 ObjectBaseRef<Font> mDefault;
151 Font::RenderMode mode = Font::FRAMEBUFFER,
152 Font::Rect *bounds = NULL,
155 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
165 friend class Font;
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java651 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK);
656 Object obj = getLast(text, Font.class);
662 Font f = (Font) obj;
820 private static class Font { class in class:HtmlToSpannedConverter
824 public Font(String color, String face) { method in class:HtmlToSpannedConverter.Font
/frameworks/base/media/java/android/media/
H A DTimedText.java62 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

Completed in 95 milliseconds