HomeSort by relevance Sort by last modified time
    Searched refs:Font (Results 26 - 50 of 201) sorted by null

12 3 4 5 6 7 8 9

  /frameworks/minikin/libs/minikin/
FontFamily.cpp 68 Font::Font(const std::shared_ptr<MinikinFont>& typeface, FontStyle style)
72 Font::Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style)
76 std::unordered_set<AxisTag> Font::getSupportedAxesLocked() const {
88 Font::Font(Font&& o) {
94 Font::Font(const Font& o)
145 const Font& font = mFonts[i]; local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/provider/
MockFontProvider.java 52 final static String AUTHORITY = "android.provider.fonts.font";
100 static class Font {
101 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic,
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[] {
    [all...]
  /frameworks/base/libs/hwui/font/
Font.cpp 28 #include "Font.h"
38 // Font
41 Font::Font(FontRenderer* state, const Font::FontDescription& desc) :
44 Font::FontDescription::FontDescription(const SkPaint* paint, const SkMatrix& rasterMatrix)
50 mFlags |= Font::kFakeBold;
59 ALOGW("Could not query the inverse lookup transform for this font");
63 Font::~Font() {
487 Font* font = state->mActiveFonts.get(description); local
    [all...]
  /external/sfntly/cpp/src/sample/subtly/
merger_main.cc 23 #include "sfntly/font.h"
36 void CheckLoading(const char* font_path, Font* font) {
37 if (!font || font->num_tables() == 0) {
38 fprintf(stderr, "Could not load font %s. Terminating.\n", font_path);
51 Ptr<Font> font; local
52 font.Attach(LoadFont(argv[i]));
53 CheckLoading(argv[i], font);
    [all...]
font_info.h 23 #include "sfntly/font.h"
34 typedef std::map<FontId, sfntly::Ptr<sfntly::Font> > FontIdMap;
37 // font id that has the glyph table this glyph belongs to.
59 // Font information used for FontAssembler in the construction of a new font.
60 // Will make copies of character map, glyph id set and font id map.
66 // resolved_glyph_ids defines GlyphIds which should be in the final font
67 // fonts is a map of font ids to fonts to reference any needed table
73 // Gets the table with the specified tag from the font corresponding to
74 // font_id or NULL if there is no such font/table
    [all...]
utils.cc 21 #include "sfntly/font.h"
29 CALLER_ATTACH Font* LoadFont(const char* font_path) {
37 CALLER_ATTACH Font::Builder* LoadFontBuilder(const char* font_path) {
61 bool SerializeFont(const char* font_path, Font* font) {
66 return SerializeFont(font_path, font_factory, font);
69 bool SerializeFont(const char* font_path, FontFactory* factory, Font* font) {
70 if (!font_path || !factory || !font)
72 // Serializing the font to a stream
    [all...]
  /external/sfntly/cpp/src/sfntly/
font.h 32 // Note: following constants are embedded in Font class in Java. They are
35 // Platform ids. These are used in a number of places within the font whenever
48 // Unicode encoding ids. These are used in a number of places within the font
62 // Windows encoding ids. These are used in a number of places within the font
79 // font whenever character encodings need to be specified.
122 // An sfnt container font object. This object is immutable and thread safe. To
123 // construct one use an instance of Font::Builder.
124 class Font : public RefCounted<Font> {
126 // A builder for a font object. The builder allows the for the creation o
    [all...]
font_factory.cc 48 FontPtr font; local
49 font.Attach(LoadSingleOTF(pbis));
50 if (font) {
51 output->push_back(font);
62 FontPtr font; local
63 font.Attach(LoadSingleOTF(wfd));
64 if (font) {
65 output->push_back(font);
98 void FontFactory::SerializeFont(Font* font, OutputStream* os)
129 FontPtr font; local
142 FontPtr font; local
    [all...]
  /external/proguard/src/proguard/gui/splash/
FontSprite.java 26 * This Sprite sets the font for another given sprite.
32 private final VariableFont font; field in class:FontSprite
38 * @param font the variable Font of the given sprite.
39 * @param sprite the sprite that will be provided of a font and painted.
41 public FontSprite(VariableFont font,
44 this.font = font;
53 // Save the old font.
54 Font oldFont = graphics.getFont()
    [all...]
  /external/sfntly/cpp/src/sample/chromium/
subsetter_impl.h 22 #include "sfntly/font.h"
68 CALLER_ATTACH Font* Subset(const IntegerSet& glyph_ids,
  /external/sfntly/cpp/src/test/
test_font_utils.h 20 #include "sfntly/font.h"
28 void SerializeFont(const char* font_path, FontFactory* factory, Font* font);
  /frameworks/rs/
rsFont.h 44 class Font : public ObjectBase {
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...]
rsFont.cpp 34 Font::Font(Context *rsc) : ObjectBase(rsc), mCachedGlyphs(NULL) {
40 bool Font::init(const char *name, float fontSize, uint32_t dpi, const void *data, uint32_t dataLen) {
55 ALOGE("Unable to initialize font %s", name);
65 ALOGE("Unable to set font size on %s", name);
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)
    [all...]
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 48 struct Font {
93 Font clockFont;
146 status_t initFont(Font* font, const char* fallback);
149 void drawText(const char* str, const Font& font, bool bold, int* x, int* y);
150 void drawClock(const Font& font, const int xPos, const int yPos);
  /frameworks/base/core/java/android/text/
FontConfig.java 31 * Font configuration descriptions for System fonts.
51 * Returns the list of aliases defined for the font families in the system fonts.
58 * Class that holds information about a Font.
60 public static final class Font {
71 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes,
81 * Returns the name associated by the system to this font.
88 * Returns the index to be used to access this font when accessing a TTC file.
95 * Returns the list of axes associated to this font.
102 * Returns the weight value for this font.
109 * Returns whether this font is italic
    [all...]
  /external/javassist/sample/rmi/
CountApplet.java 11 private Font font; field in class:CountApplet
39 font = new Font("SansSerif", Font.ITALIC, 40);
68 g.setFont(font);
  /external/sfntly/cpp/src/sfntly/table/
table.h 30 class Font;
32 // A concrete implementation of a root level table in the font. This is the base
89 virtual void SetFont(Font* font);
96 Ptr<Font> font_;
  /external/universal-tween-engine/java/applets/src/aurelienribon/tweenengine/applets/
Theme.java 7 import java.awt.Font;
39 Font font = c.getFont(); local
40 c.setFont(new Font(font.getFamily(), Font.BOLD, font.getSize()));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/X11/
Xdefs.h 81 typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
86 typedef XID Font;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/
Xdefs.h 81 typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
86 typedef XID Font;
  /frameworks/layoutlib/bridge/src/android/graphics/
Typeface_Delegate.java 29 import java.awt.Font;
64 /** @see Font#getStyle() */
81 * The list may contain null when the font failed to load. If null is reached when trying to
83 * some font failed to load.
89 public List<Font> getFonts(FontVariant variant) {
94 ((mStyle & Font.BOLD) == 0 ? 0 : FontFamily_Delegate.BOLD_FONT_WEIGHT_DELTA);
100 final boolean isItalic = (mStyle & Font.ITALIC) != 0;
101 List<Font> fonts = new ArrayList<Font>(mFontFamilies.length);
105 Font font = ffd.getFont(weight, isItalic) local
    [all...]
BidiRenderer.java 29 import java.awt.Font;
32 import java.awt.font.FontRenderContext;
33 import java.awt.font.GlyphVector;
40 * Render the text by breaking it into various scripts and using the right font for each script.
50 private final Font font; field in class:BidiRenderer.ScriptRun
52 private ScriptRun(int start, int limit, @NonNull Font font) {
55 this.font = font;
171 Font font = fontInfos.get(i).mFont; local
    [all...]
FontFamily_Delegate.java 32 import java.awt.Font;
74 // The cache has a drawback that if the font file changed after the font object was created,
93 * A class associating {@link Font} with its metadata.
97 Font mFont;
117 * The variant of the Font Family - compact or elegant.
156 // Skip font configuration files.
178 public Font getFont(int desiredWeight, boolean isItalic) {
186 FontInfo font = mFonts.get(i); local
187 int match = computeMatch(font, desiredStyle)
    [all...]
  /frameworks/minikin/tests/stresstest/
FontFamilyTest.cpp 36 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath, ttcIndex));
38 std::make_shared<FontFamily>(std::vector<Font>({Font(font, FontStyle())}));
41 hb_font_t* hbFont = getHbFontLocked(font.get());
  /external/python/cpython2/Lib/lib-tk/
tkFont.py 1 # Tkinter font wrapper
20 """Given the name of a tk named font, returns a Font representation.
22 return Font(name=name, exists=True)
24 class Font:
26 """Represents a named font.
30 font -- font specifier (name, system font, or (family, size, style)-tuple)
31 name -- name to use for this font configuration (defaults to a unique name
    [all...]

Completed in 2391 milliseconds

12 3 4 5 6 7 8 9