Searched refs:fontBuffer (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 301 ByteBuffer fontBuffer = bufferForPath.get(font.fontName); in makeFamilyFromParsed() local 302 if (fontBuffer == null) { in makeFamilyFromParsed() 306 fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in makeFamilyFromParsed() 307 bufferForPath.put(font.fontName, fontBuffer); in makeFamilyFromParsed() 313 if (!fontFamily.addFontWeightStyle(fontBuffer, font.ttcIndex, font.axes, in makeFamilyFromParsed()
|
D | FontFamily.java | 75 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont() local 76 return nAddFont(mNativePtr, fontBuffer, ttcIndex); in addFont()
|