/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewFontWeightTest.java | 53 private static class FontStyle { 54 FontStyle(int weight, boolean italic) { 71 private static final Map<Character, FontStyle> CHAR_FONT_MAP; 74 final HashMap<Character, FontStyle> map = new HashMap<>(); 75 map.put('a', new FontStyle(100, false)); 76 map.put('b', new FontStyle(100, true)); 77 map.put('c', new FontStyle(200, false)); 78 map.put('d', new FontStyle(200, true)); 79 map.put('e', new FontStyle(300, false)); 80 map.put('f', new FontStyle(300, true)) [all...] |
/frameworks/minikin/include/minikin/ |
FontStyle.h | 22 // FontStyle represents style information. 23 class FontStyle { 43 constexpr FontStyle() : FontStyle(Weight::NORMAL, Slant::UPRIGHT) {} 44 constexpr explicit FontStyle(Weight weight) : FontStyle(weight, Slant::UPRIGHT) {} 45 constexpr explicit FontStyle(Slant slant) : FontStyle(Weight::NORMAL, slant) {} 46 constexpr FontStyle(Weight weight, Slant slant) 47 : FontStyle(static_cast<uint16_t>(weight), slant) { [all...] |
FontFamily.h | 25 #include "minikin/FontStyle.h" 65 Builder& setStyle(FontStyle style) { 80 Builder& setSlant(FontStyle::Slant slant) { 90 uint16_t mWeight = static_cast<uint16_t>(FontStyle::Weight::NORMAL); 91 FontStyle::Slant mSlant = FontStyle::Slant::UPRIGHT; 100 inline FontStyle style() const { return mStyle; } 107 Font(std::shared_ptr<MinikinFont>&& typeface, FontStyle style, HbFontUniquePtr&& baseFont) 111 static FontStyle analyzeStyle(const HbFontUniquePtr& font); 114 FontStyle mStyle [all...] |
FontCollection.h | 52 FakedFont baseFontFaked(FontStyle style);
|
MinikinFont.h | 57 FontStyle fontStyle; 71 fontStyle == paint.fontStyle && familyVariant == paint.familyVariant &&
|
LayoutCache.h | 39 mStyle(paint.fontStyle), 90 FontStyle mStyle;
|
/frameworks/minikin/tests/unittest/ |
FontFamilyTest.cpp | 634 const char* slantToString(FontStyle::Slant slant) { 635 if (slant == FontStyle::Slant::ITALIC) { 642 std::string fontStyleToString(const FontStyle& style) { 644 snprintf(buf, sizeof(buf), "FontStyle(weight=%d, slant=%s)", style.weight(), 652 constexpr FontStyle::Weight THIN = FontStyle::Weight::THIN; 653 constexpr FontStyle::Weight LIGHT = FontStyle::Weight::LIGHT; 654 constexpr FontStyle::Weight NORMAL = FontStyle::Weight::NORMAL [all...] |
FontCollectionItemizeTest.cpp | 57 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, FontStyle style, 67 paint.fontStyle = style; 75 itemize(collection, str, FontStyle(), localeList, result); 79 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, FontStyle style, 87 itemize(collection, str, FontStyle(), "", result); 106 const FontStyle kRegularStyle = FontStyle(); 107 const FontStyle kItalicStyle = FontStyle(FontStyle::Slant::ITALIC) [all...] |
/frameworks/minikin/libs/minikin/ |
FontFamily.cpp | 43 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), prepareFont(mTypeface)); 47 FontStyle styleFromFont = analyzeStyle(font); 54 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), std::move(font)); 82 FontStyle Font::analyzeStyle(const HbFontUniquePtr& font) { 85 return FontStyle(); 91 return FontStyle(); 94 return FontStyle(static_cast<uint16_t>(weight), static_cast<FontStyle::Slant>(italic)); 124 static int computeMatch(FontStyle style1, FontStyle style2) [all...] |
FontCollection.cpp | 61 const FontStyle defaultStyle; 374 const FontStyle style = paint.fontStyle; 464 FakedFont FontCollection::baseFontFaked(FontStyle style) {
|
/frameworks/base/libs/hwui/tests/unit/ |
TypefaceTests.cpp | 86 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); 91 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, light->fStyle.slant()); 99 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); 105 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); 111 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); 117 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()); 128 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, normal->fStyle.slant()); 135 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); 142 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, italic->fStyle.slant()); 150 EXPECT_EQ(minikin::FontStyle::Slant::ITALIC, boldItalic->fStyle.slant()) [all...] |
/frameworks/base/libs/hwui/hwui/ |
Typeface.h | 38 minikin::FontStyle fStyle;
|
Typeface.cpp | 46 static minikin::FontStyle computeMinikinStyle(int weight, bool italic) { 47 return minikin::FontStyle(uirenderer::MathUtils::clamp(weight, 1, 1000), 48 static_cast<minikin::FontStyle::Slant>(italic)); 52 static minikin::FontStyle computeRelativeStyle(int baseWeight, Typeface::Style relativeStyle) { 134 const minikin::FontStyle defaultStyle; 139 const SkFontStyle& style = skTypeface->fontStyle(); 195 hwTypeface->fStyle = minikin::FontStyle();
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/ |
Font.c | [all...] |
String.c | 286 EFI_HII_FONT_STYLE FontStyle;
502 CopyMem (&FontStyle, BlockHdr, sizeof (EFI_HII_FONT_STYLE));
511 FontInfo->FontStyle = FontStyle;
[all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusgpstubs.h | 53 typedef enum FontStyle GpFontStyle;
|
gdiplusenums.h | 439 typedef enum FontStyle { 446 } FontStyle;
|
/frameworks/minikin/tests/util/ |
FontTestUtils.cpp | 77 FontStyle::Slant italic = static_cast<FontStyle::Slant>( 93 FontStyle style(weight, italic);
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiFont/ |
HiiFont.h | 56 EFI_HII_FONT_STYLE FontStyle;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
HiiFont.h | 85 EFI_HII_FONT_STYLE FontStyle;
|
/external/pdfium/core/fxcrt/css/ |
cfx_css.h | 109 FontStyle,
|
cfx_cssdatatable.cpp | 82 {CFX_CSSProperty::FontStyle, L"font-style", 0xCB1950F5,
|
/external/kotlinc/lib/ |
annotations-13.0.jar | |
/prebuilts/devtools/tools/lib/ |
annotations-12.0.jar | |
/prebuilts/gradle-plugin/org/jetbrains/annotations/13.0/ |
annotations-13.0.jar | |