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

/frameworks/base/graphics/java/android/renderscript/
H A DFont.java44 * <p>Font color and transparency are not part of the font object and you can freely modify
45 * them in the script to suit the user's rendering needs. Font colors work as a state machine.
48 public class Font extends BaseObj { class in inherits:BaseObj
137 Font(int id, RenderScript rs) { method in class:Font
144 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) {
152 Font rsFont = new Font(fontId, rs);
157 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) {
161 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) {
170 Font rsFon
[all...]
/frameworks/base/libs/rs/
H A DrsFont.cpp33 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { function in class:Font
39 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) {
75 void Font::preDestroy() const {
84 void Font::invalidateTextureCache() {
90 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) {
110 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y,
136 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) {
158 void Font::renderUTF(const char *text, uint32_t len, int32_t x, int32_t y,
166 if (mode == Font
[all...]
H A DrsFont.h46 class Font : public ObjectBase { class in namespace:android::renderscript
67 ~Font();
77 static Font * create(Context *rsc, const char *name, float fontSize, uint32_t dpi,
121 Font(Context *rsc);
148 ObjectBaseRef<Font> mDefault;
152 Font::RenderMode mode = Font::FRAMEBUFFER,
153 Font::Rect *bounds = NULL,
156 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
163 friend class Font;
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java627 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK);
632 Object obj = getLast(text, Font.class);
638 Font f = (Font) obj;
796 private static class Font { class in class:HtmlToSpannedConverter
800 public Font(String color, String face) { method in class:HtmlToSpannedConverter.Font
/frameworks/base/libs/hwui/
H A DFontRenderer.h59 // Font
66 class Font { class in namespace:android::uirenderer
72 ~Font();
84 static Font* create(FontRenderer* state, uint32_t fontId, float fontSize,
131 Font(FontRenderer* state, uint32_t fontId, float fontSize, int flags, uint32_t italicStyle,
233 friend class Font;
292 Font* mCurrentFont;
293 Vector<Font*> mActiveFonts;
H A DFontRenderer.cpp43 // Font
46 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, function in class:android::uirenderer::Font
55 Font::~Font() {
68 void Font::invalidateTextureCache() {
74 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int x, int y, Rect *bounds) {
95 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y) {
113 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int x, int y,
139 Font
[all...]
/frameworks/base/media/java/android/media/
H A DTimedText.java44 public static final int KEY_STRUCT_FONT_LIST = 9; // List<Font>
84 private List<Font> mFontList = null;
231 public class Font { class in class:TimedText
242 public Font() { } method in class:TimedText.Font
513 * To parse and store the Font list
519 Font font = new Font();
528 mFontList = new ArrayList<Font>();

Completed in 1598 milliseconds