/frameworks/base/libs/hwui/font/ |
H A D | Font.h | 39 // Font 50 class Font { class in namespace:android::uirenderer 84 ~Font(); 92 const Font::FontDescription& getDescription() const { 99 static Font* create(FontRenderer* state, const SkPaint* paint, const SkMatrix& matrix); 104 Font(FontRenderer* state, const Font::FontDescription& desc); 106 typedef void (Font::*RenderGlyph)(CachedGlyphInfo*, int, int, uint8_t*, 157 inline int strictly_order_type(const Font::FontDescription& lhs, 158 const Font [all...] |
H A D | Font.cpp | 28 #include "Font.h" 38 // Font 41 Font::Font(FontRenderer* state, const Font::FontDescription& desc) : function in class:android::uirenderer::Font 44 Font::FontDescription::FontDescription(const SkPaint* paint, const SkMatrix& rasterMatrix) 50 mFlags |= Font::kFakeBold; 63 Font::~Font() { 69 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 160 static public Font createFromFile(RenderScript rs, Resources res, String path, float pointSize) { 168 Font rsFont = new Font(fontId, rs); 176 static public Font createFromFile(RenderScript rs, Resources res, File path, float pointSize) { 183 static public Font createFromAsset(RenderScript rs, Resources res, String path, float pointSize) { 192 Font rsFon [all...] |
/frameworks/base/core/java/android/text/ |
H A D | FontConfig.java | 31 * Font configuration descriptions for System fonts. 58 * Class that holds information about a Font. 60 public static final class Font { class in class:FontConfig 71 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, method in class:FontConfig.Font 131 * Class that holds information about a Font alias. 167 * Class that holds information about a Font family. 171 private final @NonNull Font[] mFonts; 206 public Family(@NonNull String name, @NonNull Font[] fonts, @NonNull String language, 224 public @Nullable Font[] getFonts() {
|
H A D | Html.java | 1150 start(text, new Font(face)); 1155 Font font = getLast(text, Font.class); 1275 private static class Font { class in class:HtmlToSpannedConverter 1278 public Font(String face) { method in class:HtmlToSpannedConverter.Font
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | MockFontProvider.java | 100 static class Font { class in class:MockFontProvider 101 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, method in class:MockFontProvider.Font 152 private static Map<String, Font[]> QUERY_MAP; 154 HashMap<String, Font[]> map = new HashMap<>(); 157 map.put("singleFontFamily", new Font[] { 158 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 400, 0, Columns.RESULT_CODE_OK), 161 map.put("singleFontFamily2", new Font[] { 162 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, null, 700, 0, Columns.RESULT_CODE_OK), 165 map.put(BLOCKING_QUERY, new Font[] { 166 new Font(i [all...] |
/frameworks/minikin/include/minikin/ |
H A D | FontFamily.h | 105 struct Font { struct in namespace:minikin 106 Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style); 107 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style); 108 Font(Font&& o); 109 Font(const Font& o); 125 explicit FontFamily(std::vector<Font>&& fonts); 126 FontFamily(int variant, std::vector<Font>&& fonts); 127 FontFamily(uint32_t langId, int variant, std::vector<Font> [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | FontFamily.cpp | 68 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style) function in class:minikin::Font 72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style) function in class:minikin::Font 76 std::unordered_set<AxisTag> Font::getSupportedAxesLocked() const { 88 Font::Font(Font&& o) { function in class:minikin::Font 94 Font::Font(cons function in class:minikin::Font [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 34 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) { function in class:android::renderscript::Font 40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) { 76 void Font::preDestroy() const { 86 void Font::invalidateTextureCache() { 92 void Font::drawCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y) { 112 void Font::drawCachedGlyph(CachedGlyphInfo* glyph, int32_t x, int32_t y, 138 void Font::measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds) { 160 void Font::renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, 168 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 explicit 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/cmds/bootanimation/ |
H A D | BootAnimation.h | 86 struct Font { struct in class:android::BootAnimation 131 Font clockFont; 136 status_t initFont(Font* font, const char* fallback); 139 void drawText(const char* str, const Font& font, bool bold, int* x, int* y); 140 void drawClock(const Font& font, const int xPos, const int yPos);
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
H A D | MockFontProvider.java | 63 static class Font { class in class:MockFontProvider 64 Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, method in class:MockFontProvider.Font 118 private static final Map<String, Font[]> QUERY_MAP; 120 HashMap<String, Font[]> map = new HashMap<>(); 123 map.put(SINGLE_FONT_FAMILY_QUERY, new Font[] { 124 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, "'wght' 100", 400, 0, 128 map.put(SINGLE_FONT_FAMILY2_QUERY, new Font[] { 129 new Font(id++, SAMPLE_FONT_FILE_0_ID, 0, "'wght' 100", 700, 1, 133 map.put(NOT_FOUND_QUERY, new Font[] { 134 new Font( [all...] |
/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
|