/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontTest.java | 130 boolean italic = style.second.booleanValue(); in testBuilder_buffer() 131 final int slant = italic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT; in testBuilder_buffer() 132 String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testBuilder_buffer() 151 boolean italic = style.second.booleanValue(); in testBuilder_buffer_ttc() 152 final int slant = italic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT; in testBuilder_buffer_ttc() 156 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testBuilder_buffer_ttc() 173 boolean italic = style.second.booleanValue(); in testBuilder_buffer_vf() 175 final int slant = italic ? FontStyle.FONT_SLANT_ITALIC : FontStyle.FONT_SLANT_UPRIGHT; in testBuilder_buffer_vf() 179 FontTestUtil.getVarSettingsFromStyle(weight, italic)); in testBuilder_buffer_vf() 197 boolean italic = style.second.booleanValue(); in testBuilder_buffer_override() [all …]
|
D | NativeSystemFontHelper.java | 71 boolean italic, String languageTags, int familyVariant, String text) { in matchFamilyStyleCharacter() argument 72 final long fontPtr = nMatchFamilyStyleCharacter(familyName, weight, italic, languageTags, in matchFamilyStyleCharacter() 74 final int runLength = nMatchFamilyStyleCharacter_runLength(familyName, weight, italic, in matchFamilyStyleCharacter() 96 boolean italic, String languageTags, int familyVariant, String text); in nMatchFamilyStyleCharacter() argument 98 boolean italic, String languageTags, int familyVariant, String text); in nMatchFamilyStyleCharacter_runLength() argument
|
D | FontTestUtil.java | 262 public static int getTtcIndexFromStyle(int weight, boolean italic) { in getTtcIndexFromStyle() argument 263 return sTtcMap.get(new Pair<>(weight, italic)).intValue(); in getTtcIndexFromStyle() 269 public static String getVarSettingsFromStyle(int weight, boolean italic) { in getVarSettingsFromStyle() argument 270 return sVariationSettingsMap.get(new Pair<>(weight, italic)); in getVarSettingsFromStyle() 276 public static int getFontResourceIdFromStyle(int weight, boolean italic) { in getFontResourceIdFromStyle() argument 277 return sResourceMap.get(new Pair<>(weight, italic)); in getFontResourceIdFromStyle() 283 public static String getFontPathFromStyle(int weight, boolean italic) { in getFontPathFromStyle() argument 284 return sFontMap.get(new Pair<>(weight, italic)); in getFontPathFromStyle()
|
D | NativeSystemFontTest.java | 110 for (boolean italic : italics) { in testMatchFamilyStyleCharacter_notCrash() 116 familyName, weight, italic, languageTag, in testMatchFamilyStyleCharacter_notCrash()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceCustomFallbackBuilderTest.java | 54 final boolean italic = style.second.booleanValue(); in createFullFamilyTypeface() 58 FontTestUtil.getFontPathFromStyle(weight, italic)).build()); in createFullFamilyTypeface() 61 FontTestUtil.getFontPathFromStyle(weight, italic)).build()); in createFullFamilyTypeface() 72 final boolean italic = style.second.booleanValue(); in testSingleFont_path() 74 final String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testSingleFont_path() 87 final boolean italic = style.second.booleanValue(); in testSingleFont_ttc() 89 final int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testSingleFont_ttc() 103 final boolean italic = style.second.booleanValue(); in testSingleFont_vf() 105 final String varSettings = FontTestUtil.getVarSettingsFromStyle(weight, italic); in testSingleFont_vf() 126 final boolean italic = style.second.booleanValue(); in testFamily_selectStyle() [all …]
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_fonts_cts_SystemFonts.cpp | 110 FontMatcher& setStyle(uint16_t weight, bool italic) { in setStyle() argument 111 AFontMatcher_setStyle(mMatcher.get(), weight, italic); in setStyle() 188 jboolean italic, jstring langTags, jint familyVariant, in nMatchFamilyStyleCharacter() argument 196 .setStyle(weight, italic) in nMatchFamilyStyleCharacter() 203 jboolean italic, jstring langTags, jint familyVariant, in nMatchFamilyStyleCharacter_runLength() argument 210 .setStyle(weight, italic) in nMatchFamilyStyleCharacter_runLength()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MockFontProvider.java | 63 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument 70 mItalic = italic; in Font()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewFontWeightTest.java | 55 FontStyle(int weight, boolean italic) { in FontStyle() argument 57 mItalic = italic; in FontStyle()
|