HomeSort by relevance Sort by last modified time
    Searched defs:Font (Results 1 - 25 of 35) sorted by null

1 2

  /frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
TextTest.java 88 mTextScript.set_gFontSans(Font.create(mRS, mRes, "sans-serif",
89 Font.Style.NORMAL, 8.0f / metrics.density));
90 mTextScript.set_gFontSerif(Font.create(mRS, mRes, "serif",
91 Font.Style.NORMAL, 8.0f / metrics.density));
RsBenchRS.java 284 mScript.set_gFontSerif(Font.create(mRS, mRes, "serif", Font.Style.NORMAL, 8));
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xdefs.h 83 typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
88 typedef XID Font;
X.h 105 typedef XID Font;
361 #define BadFont 7 /* parameter not a Font */
377 #define BadName 15 /* font or color name doesn't exist */
Xproto.h 246 #define Font CARD32
385 * non-aligned big-endian font ID follows this struct
389 for font change, or 0 if just delta given */
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xdefs.h 83 typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
88 typedef XID Font;
X.h 105 typedef XID Font;
361 #define BadFont 7 /* parameter not a Font */
377 #define BadName 15 /* font or color name doesn't exist */
Xproto.h 246 #define Font CARD32
385 * non-aligned big-endian font ID follows this struct
389 for font change, or 0 if just delta given */
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xdefs.h 83 typedef struct _Font *FontPtr; /* also in fonts/include/font.h */
88 typedef XID Font;
X.h 105 typedef XID Font;
361 #define BadFont 7 /* parameter not a Font */
377 #define BadName 15 /* font or color name doesn't exist */
Xproto.h 246 #define Font CARD32
385 * non-aligned big-endian font ID follows this struct
389 for font change, or 0 if just delta given */
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
Font.h 76 class Font {
78 Font();
79 Font(const FontDescription&, short letterSpacing, short wordSpacing);
80 // This constructor is only used if the platform wants to start with a native font.
81 Font(const FontPlatformData&, bool isPrinting, FontSmoothingMode = AutoSmoothing);
82 ~Font();
84 Font(const Font&);
85 Font& operator=(const Font&)
    [all...]
Font.cpp 25 #include "Font.h"
42 Font::CodePath Font::s_codePath = Auto;
45 // Font Implementation (Cross-Platform Portion)
48 Font::Font()
56 Font::Font(const FontDescription& fd, short letterSpacing, short wordSpacing)
65 Font::Font(const FontPlatformData& fontData, bool isPrinterFont, FontSmoothingMode fontSmoothingMode
    [all...]
  /frameworks/base/libs/hwui/font/
Font.cpp 29 #include "Font.h"
39 // Font
42 Font::Font(FontRenderer* state, const Font::FontDescription& desc) :
46 Font::FontDescription::FontDescription(const SkPaint* paint, const mat4& matrix) {
51 mFlags |= Font::kFakeBold;
62 ALOGW("Could not query the inverse lookup transform for this font");
66 Font::~Font() {
472 Font* font = state->mActiveFonts.get(description); local
    [all...]
Font.h 34 // Font
40 * Represents a font, defined by a Skia font id and a font size. A font is used
43 class Font {
76 ~Font();
84 const Font::FontDescription& getDescription() const {
89 * Creates a new font associated with the specified font state
    [all...]
  /frameworks/rs/
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 {
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)
    [all...]
rsFont.h 45 class Font : public ObjectBase {
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/graphics/java/android/renderscript/
Font.java 37 * rendered glyph bitmaps is maintained. Each font object represents a combination of a typeface,
38 * and point size. You can create multiple font objects to represent styles such as bold or italic text,
39 * faces, and different font sizes. During creation, the Android system quieries device's screen DPI to
42 * font to the RenderScript is required. A note of caution on performance, though the state changes
46 * <p>Font color and transparency are not part of the font object and you can freely modify
47 * them in the script to suit the user's rendering needs. Font colors work as a state machine.
50 public class Font extends BaseObj {
52 //These help us create a font by family name
154 Font(int id, RenderScript rs)
    [all...]
  /external/webkit/Source/WebCore/inspector/front-end/
Resource.js 44 Font: 3,
64 case this.Font:
65 return WebInspector.UIString("Font");
89 case this.Font:
90 return "font";
391 case WebInspector.Resource.Type.Font:
  /frameworks/base/media/java/android/media/
TimedText.java 62 private static final int KEY_STRUCT_FONT_LIST = 9; // List<Font>
101 private List<Font> mFontList = null;
183 * ID of the font. This ID will be used to choose the font
184 * to be used from the font list.
204 * The size of the font
218 * @param fontId the ID of the font.
222 * @param fontSize the size of the font.
240 * Helper class to hold the font ID and name.
244 public static final class Font {
604 Font font = new Font(id, name); local
    [all...]
  /frameworks/base/core/java/android/text/
Html.java 309 out.append("<font size =\"");
314 out.append("<font color =\"#");
329 out.append("</font>");
332 out.append("</font>");
493 } else if (tag.equalsIgnoreCase("font")) {
543 } else if (tag.equalsIgnoreCase("font")) {
650 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK);
655 Object obj = getLast(text, Font.class);
661 Font f = (Font) obj
    [all...]
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 

Completed in 474 milliseconds

1 2