Home
last modified time | relevance | path

Searched refs:fontPtr (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/fonts/
DNativeSystemFontHelper.java44 for (long fontPtr = nNext(iterPtr); fontPtr != 0; fontPtr = nNext(iterPtr)) { in getAvailableFonts()
46 FontVariationAxis[] axes = new FontVariationAxis[nGetAxisCount(fontPtr)]; in getAvailableFonts()
49 tagToStr(nGetAxisTag(fontPtr, i)), nGetAxisValue(fontPtr, i)); in getAvailableFonts()
51 nativeFonts.add(new Font.Builder(new File(nGetFilePath(fontPtr))) in getAvailableFonts()
52 .setWeight(nGetWeight(fontPtr)) in getAvailableFonts()
53 .setSlant(nIsItalic(fontPtr) in getAvailableFonts()
55 .setTtcIndex(nGetCollectionIndex(fontPtr)) in getAvailableFonts()
61 nCloseFont(fontPtr); in getAvailableFonts()
72 final long fontPtr = nMatchFamilyStyleCharacter(familyName, weight, italic, languageTags, in matchFamilyStyleCharacter() local
77 return new Pair<>(new File(nGetFilePath(fontPtr)), runLength); in matchFamilyStyleCharacter()
[all …]