Searched refs:FontFileUtil (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 26 import android.graphics.fonts.FontFileUtil; 113 int packed = FontFileUtil.analyzeStyle(buffer, 0, null); in testRegularFonts() 114 assertEquals(path, weight, FontFileUtil.unpackWeight(packed)); in testRegularFonts() 115 assertEquals(path, italic, FontFileUtil.unpackItalic(packed)); in testRegularFonts() 129 int packed = FontFileUtil.analyzeStyle(buffer, ttcIndex, null); in testTtcFont() 130 assertEquals(path + "#" + ttcIndex, weight, FontFileUtil.unpackWeight(packed)); in testTtcFont() 131 assertEquals(path + "#" + ttcIndex, italic, FontFileUtil.unpackItalic(packed)); in testTtcFont() 145 int packed = FontFileUtil.analyzeStyle(buffer, 0, in testVariationFont() 147 assertEquals(path + "#" + axes, weight, FontFileUtil.unpackWeight(packed)); in testVariationFont() 148 assertEquals(path + "#" + axes, italic, FontFileUtil.unpackItalic(packed)); in testVariationFont() [all …]
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | OtfFontFileParser.java | 24 import android.graphics.fonts.FontFileUtil; 43 return FontFileUtil.getPostScriptName(buffer, 0); in getPostScriptName() 53 String psName = FontFileUtil.getPostScriptName(buffer, 0); in buildFontFileName() 54 int isType1Font = FontFileUtil.isPostScriptType1Font(buffer, 0); in buildFontFileName() 55 int isCollection = FontFileUtil.isCollectionFont(buffer); in buildFontFileName() 78 return FontFileUtil.getRevision(buffer, 0); in getRevision()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | TextShaperTest.java | 22 import android.graphics.fonts.FontFileUtil; 42 String psName = FontFileUtil.getPostScriptName(font.getBuffer(), 0); in testFontWithPath()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 453 final int packed = FontFileUtil.analyzeStyle(mBuffer, mTtcIndex, mAxes); in build() 454 if (FontFileUtil.isSuccess(packed)) { in build() 456 mWeight = FontFileUtil.unpackWeight(packed); in build() 459 mItalic = FontFileUtil.unpackItalic(packed) ? STYLE_ITALIC : STYLE_NORMAL; in build() 597 FontFileUtil.unpackWeight(packedStyle), in getStyle() 598 FontFileUtil.unpackItalic(packedStyle) in getStyle()
|
D | FontFamily.java | 274 FontFileUtil.getSupportedAxes(font.getBuffer(), font.getTtcIndex()); in analyzeAndResolveVariableType() 288 FontFileUtil.getSupportedAxes(font.getBuffer(), font.getTtcIndex()); in analyzeAndResolveVariableType()
|
D | FontFileUtil.java | 35 public class FontFileUtil { class 37 private FontFileUtil() {} // Do not instantiate in FontFileUtil() method in FontFileUtil
|
/frameworks/base/boot/ |
D | preloaded-classes | 2501 android.graphics.fonts.FontFileUtil
|
D | boot-image-profile.txt | 7873 HSPLandroid/graphics/fonts/FontFileUtil;->analyzeStyle(Ljava/nio/ByteBuffer;I[Landroid/graphics/fon… 24888 Landroid/graphics/fonts/FontFileUtil;
|
/frameworks/base/config/ |
D | preloaded-classes | 2505 android.graphics.fonts.FontFileUtil
|
D | boot-image-profile.txt | 7876 HSPLandroid/graphics/fonts/FontFileUtil;->analyzeStyle(Ljava/nio/ByteBuffer;I[Landroid/graphics/fon… 35022 Landroid/graphics/fonts/FontFileUtil;
|