/external/chromium_org/ui/gfx/ |
font.cc | 5 #include "ui/gfx/font.h" 13 // Font, public: 15 Font::Font() : platform_font_(PlatformFont::CreateDefault()) { 18 Font::Font(const Font& other) : platform_font_(other.platform_font_) { 21 gfx::Font& Font::operator=(const Font& other) [all...] |
font.h | 19 // Font provides a wrapper around an underlying font. Copy and assignment 22 // Figure of font metrics: 30 class GFX_EXPORT Font { 32 // The following constants indicate the font style. 40 // Creates a font with the default name and style. 41 Font(); 43 // Creates a font that is a clone of another font object. 44 Font(const Font& other) [all...] |
font_fallback_win.h | 11 #include "ui/gfx/font.h" 27 // Parses a font |family| in the format "FamilyFoo & FamilyBar (TrueType)". 34 // Iterator over linked fallback fonts for a given font. The linked font chain 38 // Instantiates the iterator over the linked font chain for |font|. The first 39 // item will be |font| itself. 40 explicit LinkedFontsIterator(Font font); 43 // Sets the font that would be returned by the next call to |NextFont()| [all...] |
font_list_unittest.cc | 18 std::string FontToString(const gfx::Font& font) { 19 std::string font_string = font.GetFontName(); 21 font_string += base::IntToString(font.GetFontSize()); 22 int style = font.GetStyle(); 23 if (style & gfx::Font::BOLD) 25 if (style & gfx::Font::ITALIC) 35 // Test init from font name style size string. 42 // Test init from font names, style and size. 46 int font_style = Font::BOLD | Font::ITALIC [all...] |
platform_font_win_unittest.cc | 10 #include "ui/gfx/font.h" 16 // Returns a font based on |base_font| with height at most |target_height| and 17 // font size maximized. Returns |base_font| if height is already equal. 18 gfx::Font AdjustFontSizeForHeight(const gfx::Font& base_font, 20 Font expected_font = base_font; 23 Font larger_font = base_font.DeriveFont(1, 0); 40 const Font base_font; 46 Font expected_font = AdjustFontSizeForHeight(base_font, target_height); 49 Font derived_font = platform_font->DeriveFontWithHeight(target_height, 0) [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/ |
stats.h | 25 class Font; 31 int32_t TotalFontSize(Font* font); 33 double TableSizePercent(Font* font, int32_t tag); 35 void PrintComparison(FILE* out, Font* font, Font* new_font); 37 void PrintStats(FILE* out, Font* font); [all...] |
subsetter.h | 20 #include "sfntly/font.h" 25 // Subsets a given font using a character predicate. 28 Subsetter(sfntly::Font* font, CharacterPredicate* predicate); 32 // Performs subsetting returning the subsetted font. 33 virtual CALLER_ATTACH sfntly::Font* Subset(); 36 sfntly::Ptr<sfntly::Font> font_;
|
utils.h | 20 #include "sfntly/font.h" 24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path); 25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path); 33 bool SerializeFont(const char* font_path, sfntly::Font* font); 35 sfntly::Font* font);
|
merger.h | 24 class Font; 28 // Merges the subsets in the font array into a single font. 34 // Performs merging returning the subsetted font. 35 virtual CALLER_ATTACH sfntly::Font* Merge();
|
/external/sfntly/cpp/src/sample/subtly/ |
stats.h | 25 class Font; 31 int32_t TotalFontSize(Font* font); 33 double TableSizePercent(Font* font, int32_t tag); 35 void PrintComparison(FILE* out, Font* font, Font* new_font); 37 void PrintStats(FILE* out, Font* font); [all...] |
subsetter.h | 20 #include "sfntly/font.h" 25 // Subsets a given font using a character predicate. 28 Subsetter(sfntly::Font* font, CharacterPredicate* predicate); 32 // Performs subsetting returning the subsetted font. 33 virtual CALLER_ATTACH sfntly::Font* Subset(); 36 sfntly::Ptr<sfntly::Font> font_;
|
utils.h | 20 #include "sfntly/font.h" 24 CALLER_ATTACH sfntly::Font* LoadFont(const char* font_path); 25 CALLER_ATTACH sfntly::Font::Builder* LoadFontBuilder(const char* font_path); 33 bool SerializeFont(const char* font_path, sfntly::Font* font); 35 sfntly::Font* font);
|
/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/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontTest.cpp | 26 // Tests for the Font class. 30 #include "platform/fonts/Font.h" 50 EXPECT_EQ(Font::Simple, Font::characterRangeCodePath(below, 1)); 51 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(start, 1)); 52 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(midway, 1)); 53 EXPECT_EQ(Font::Complex, Font::characterRangeCodePath(end, 1)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
StringTruncator.h | 37 class Font; 43 static String centerTruncate(const String&, float maxWidth, const Font&, EnableRoundingHacksOrNot = DisableRoundingHacks); 44 static String rightTruncate(const String&, float maxWidth, const Font&, EnableRoundingHacksOrNot = DisableRoundingHacks); 45 static float width(const String&, const Font&, EnableRoundingHacksOrNot = DisableRoundingHacks);
|
/external/chromium_org/ui/base/l10n/ |
l10n_font_util.h | 12 class Font; 18 // its localized size data and the given font. The width in cols is held in a 22 const gfx::Font& font); 24 const gfx::Font& font); 27 const gfx::Font& font);
|
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.h | 31 Font* font, 32 Font::Builder* font_builder);
|
/external/sfntly/cpp/src/sfntly/tools/subsetter/ |
glyph_table_subsetter.h | 31 Font* font, 32 Font::Builder* font_builder);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextLayoutEngineSpacing.h | 27 class Font; 35 SVGTextLayoutEngineSpacing(const Font&); 41 const Font& m_font;
|
SVGTextLayoutEngineBaseline.h | 28 class Font; 38 SVGTextLayoutEngineBaseline(const Font&); 48 const Font& m_font;
|
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
FontTest.java | 23 import android.renderscript.Font; 24 import android.renderscript.Font.Style; 31 for (Font.Style style : Font.Style.values()) { 32 Font F = null; 33 F = Font.create(mRS, mRes, "sans-serif", style, fontSize); 38 fail("set name twice for a font"); 43 F = Font.create(mRS, mRes, "serif", style, fontSize); 47 fail("set empty name for a font"); 53 F = Font.create(mRS, mRes, "mono", style, fontSize) [all...] |
/external/chromium_org/ui/views/controls/table/ |
table_utils.h | 14 class Font; 26 VIEWS_EXPORT int WidthForContent(const gfx::Font& header_font, 27 const gfx::Font& content_font, 34 // to fit the columns into. |header_font| the font used to draw the header and 41 const gfx::Font& header_font, 42 const gfx::Font& content_font,
|
/external/chromium_org/ui/app_list/views/ |
signin_view.h | 16 class Font; 41 scoped_ptr<gfx::Font> title_font_; 42 scoped_ptr<gfx::Font> text_font_; 43 scoped_ptr<gfx::Font> button_font_;
|