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

1 2 3 4 5 6

  /external/proguard/src/proguard/gui/splash/
ConstantFont.java 32 private final Font value;
34 public ConstantFont(Font value)
42 public Font getFont(long time)
VariableFont.java 26 * This interface represents a Font that varies with time.
33 * Returns the Font for the given time.
35 public Font getFont(long time);
VariableSizeFont.java 32 private final Font font; field in class:VariableSizeFont
36 private Font cachedFont;
41 * @param font the base font.
42 * @param size the variable size of the font.
44 public VariableSizeFont(Font font, VariableDouble size)
46 this.font = font;
    [all...]
  /external/webkit/WebCore/platform/graphics/
StringTruncator.h 34 class Font;
39 static String centerTruncate(const String&, float maxWidth, const Font&, bool disableRoundingHacks = true);
40 static String rightTruncate(const String&, float maxWidth, const Font&, bool disableRoundingHacks = true);
41 static float width(const String&, const Font&, bool disableRoundingHacks = true);
Font.cpp 25 #include "Font.h"
42 const uint8_t Font::gRoundingHackCharacterTable[256] = {
53 Font::CodePath Font::s_codePath = Auto;
57 // Font Implementation (Cross-Platform Portion)
60 Font::Font()
67 Font::Font(const FontDescription& fd, short letterSpacing, short wordSpacing)
75 Font::Font(const FontPlatformData& fontData, bool isPrinterFont
    [all...]
FontFallbackList.h 2 * This file is part of the internal font implementation. It should not be included by anyone other than
3 * FontMac.cpp, FontWin.cpp and Font.cpp.
33 class Font;
50 bool isFixedPitch(const Font* f) const { if (m_pitch == UnknownPitch) determinePitch(f); return m_pitch == FixedPitch; };
51 void determinePitch(const Font*) const;
61 const SimpleFontData* primarySimpleFontData(const Font* f)
69 const FontData* primaryFontData(const Font* f) const { return fontDataAt(f, 0); }
70 const FontData* fontDataAt(const Font*, unsigned index) const;
71 const FontData* fontDataForCharacters(const Font*, const UChar*, int length) const;
87 friend class Font;
    [all...]
WidthIterator.h 30 class Font;
36 WidthIterator(const Font*, const TextRun&, HashSet<const SimpleFontData*>* fallbackFonts = 0);
41 const Font* m_font;
FontCache.h 46 class Font;
57 const FontData* getFontData(const Font&, int& familyIndex, FontSelector*);
61 // FIXME: Font data returned by this method never go inactive because callers don't track and release them.
62 const SimpleFontData* getFontDataForCharacters(const Font&, const UChar* characters, int length);
102 SimpleFontData* getSimilarFontPlatformData(const Font&);
  /external/webkit/WebCore/platform/haiku/
FileChooserHaiku.cpp 31 String FileChooser::basenameForWidth(const Font&, int width) const
  /external/webkit/WebCore/platform/win/
WebCoreTextRenderer.h 29 class Font;
34 void WebCoreDrawTextAtPoint(GraphicsContext&, const String&, const IntPoint&, const Font&, const Color&, int underlinedIndex = -1);
35 void WebCoreDrawDoubledTextAtPoint(GraphicsContext&, const String&, const IntPoint&, const Font&, const Color& topColor, const Color& bottomColor, int underlinedIndex = -1);
36 float WebCoreTextFloatWidth(const String&, const Font&);
WebCoreTextRenderer.cpp 28 #include "Font.h"
48 static void doDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
54 font.drawText(&context, run, point);
56 context.drawBidiText(font, run, point);
64 beforeWidth = font.width(beforeRun);
69 int underlinedWidth = font.width(underlinedRun);
79 void WebCoreDrawTextAtPoint(GraphicsContext& context, const String& text, const IntPoint& point, const Font& font, const Color& color, int underlinedIndex)
83 doDrawTextAtPoint(context, text, point, font, color, underlinedIndex)
    [all...]
  /external/webkit/WebCore/platform/wx/
FileChooserWx.cpp 33 String FileChooser::basenameForWidth(const Font&, int width) const
  /external/webkit/WebCore/platform/chromium/
ThemeChromiumMac.h 44 virtual FontDescription controlFont(ControlPart, const Font&, float zoomFactor) const;
46 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
47 virtual LengthSize minimumControlSize(ControlPart, const Font&, float zoomFactor) const;
49 virtual LengthBox controlPadding(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
50 virtual LengthBox controlBorder(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
  /external/webkit/WebCore/platform/mac/
ThemeMac.h 40 virtual FontDescription controlFont(ControlPart, const Font&, float zoomFactor) const;
42 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize&, float zoomFactor) const;
43 virtual LengthSize minimumControlSize(ControlPart, const Font&, float zoomFactor) const;
45 virtual LengthBox controlPadding(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
46 virtual LengthBox controlBorder(ControlPart, const Font&, const LengthBox& zoomedBox, float zoomFactor) const;
  /external/junit/src/junit/swingui/
StatusLine.java 5 import java.awt.Font;
15 public static final Font PLAIN_FONT= new Font("dialog", Font.PLAIN, 12);
16 public static final Font BOLD_FONT= new Font("dialog", Font.BOLD, 12);
  /external/webkit/WebCore/platform/
Theme.cpp 31 LengthBox Theme::controlBorder(ControlPart part, const Font&, const LengthBox& zoomedBox, float) const
45 LengthBox Theme::controlPadding(ControlPart part, const Font&, const LengthBox& zoomedBox, float) const
Theme.h 30 #include "Font.h"
73 virtual Font systemFont(ThemeFont, FontDescription&) const { return Font(); }
83 // The font description result should have a zoomed font size.
84 virtual FontDescription controlFont(ControlPart, const Font& font, float /*zoomFactor*/) const { return font.fontDescription(); }
87 virtual LengthSize controlSize(ControlPart, const Font&, const LengthSize& zoomedSize, float /*zoomFactor*/) const { return zoomedSize; }
90 virtual LengthSize minimumControlSize(ControlPart, const Font&, float /*zoomFactor*/) const { return LengthSize(Length(0, Fixed), Length(0, Fixed));
    [all...]
PopupMenuStyle.h 30 #include "Font.h"
38 PopupMenuStyle(const Color& foreground, const Color& background, const Font& font, bool visible, Length textIndent, TextDirection textDirection)
41 , m_font(font)
50 const Font& font() const { return m_font; } function in class:WebCore::PopupMenuStyle
58 Font m_font;
  /external/webkit/WebCore/platform/graphics/chromium/
UniscribeHelperTextRun.h 38 class Font;
46 UniscribeHelperTextRun(const TextRun&, const Font&);
49 // this constructor will not give you font fallback, but it will provide
51 // ("TryToPreloadFont") if the caller does not have a TextRun/Font.
63 // This function retrieves the Windows font data (HFONT, etc) for the next
64 // WebKit font in the list. If the font data corresponding to font_index_
67 // WebKit and adds them to in hfonts_ and friends so that font data can be
72 // Reference to WebKit::Font that contains all the information about fonts
74 // NextWinFontData to retrieve Windows font data for a series o
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Typeface.java 23 import java.awt.Font;
54 private final List<Font> mFonts;
64 * Returns the underlying {@link Font} objects. The first item in the list is the real
65 * font. Any other items are fallback fonts for characters not found in the first one.
67 public List<Font> getFonts() {
88 * If null is passed for the name, then the "default" font will be chosen.
92 * @param familyName May be null. The name of the font family.
99 Font font = mFontLoader.getFont(familyName, styleBuffer); local
100 if (font != null)
123 Font font = mFontLoader.getFont(family.mFamily, styleBuffer); local
    [all...]
  /external/webkit/WebCore/platform/graphics/haiku/
FontHaiku.cpp 29 #include "Font.h"
36 #include <Font.h>
63 bool Font::canReturnFallbackFontsForComplexText()
68 void Font::drawGlyphs(GraphicsContext* graphicsContext, const SimpleFontData* font,
73 BFont* m_font = font->platformData().font();
90 void Font::drawComplexText(GraphicsContext* ctx, const TextRun& run, const FloatPoint& point,
97 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
103 FloatRect Font::selectionRectForComplexText(const TextRun&, const IntPoint&, int, int, int) cons
    [all...]
FontCacheHaiku.cpp 35 #include "Font.h"
48 const SimpleFontData* FontCache::getFontDataForCharacters(const Font& font, const UChar* characters, int length)
50 FontPlatformData data(font.fontDescription(), font.family().family());
54 SimpleFontData* FontCache::getSimilarFontPlatformData(const Font& font)
62 // FIXME: Would be even better to somehow get the user's default font here.
  /external/webkit/WebCore/platform/graphics/qt/
FontCacheQt.cpp 30 #include "Font.h"
47 const SimpleFontData* FontCache::getFontDataForCharacters(const Font&, const UChar*, int)
52 SimpleFontData* FontCache::getSimilarFontPlatformData(const Font& font)
  /external/webkit/WebCore/platform/android/
FileChooserAndroid.cpp 28 #include "Font.h"
32 String FileChooser::basenameForWidth(const Font& font, int width) const
41 while (font.width(TextRun(output.impl())) > width && output.length() > 4)
  /external/webkit/WebCore/platform/graphics/win/
FontWin.cpp 27 #include "Font.h"
39 bool Font::canReturnFallbackFontsForComplexText()
44 FloatRect Font::selectionRectForComplexText(const TextRun& run, const IntPoint& point, int h,
63 void Font::drawComplexText(GraphicsContext* context, const TextRun& run, const FloatPoint& point,
66 // This glyph buffer holds our glyphs + advances + font data for each glyph.
92 float Font::floatWidthForComplexText(const TextRun& run, HashSet<const SimpleFontData*>* fallbackFonts) const
99 int Font::offsetForPositionForComplexText(const TextRun& run, int x, bool includePartialGlyphs) const

Completed in 320 milliseconds

1 2 3 4 5 6