Searched refs:font1 (Results 1 – 2 of 2) sorted by relevance
71 FontFileResourceEntry font1 = fileEntries[0]; in testParse() local72 assertEquals(400, font1.getWeight()); in testParse()73 assertEquals(0, font1.getItalic()); in testParse()74 assertEquals("'wdth' 0.8", font1.getVariationSettings()); in testParse()75 assertEquals(0, font1.getTtcIndex()); in testParse()76 assertEquals("res/font/samplefont.ttf", font1.getFileName()); in testParse()
423 public static int computeMatch(@NonNull FontInfo font1, @NonNull FontInfo font2) {424 int score = Math.abs(font1.mWeight / 100 - font2.mWeight / 100);425 if (font1.mIsItalic != font2.mIsItalic) {