Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DFontFamily.java71 public boolean addFont(String path, int ttcIndex) { in addFont() argument
76 return nAddFont(mNativePtr, fontBuffer, ttcIndex); in addFont()
83 public boolean addFontWeightStyle(ByteBuffer font, int ttcIndex, List<FontListParser.Axis> axes, in addFontWeightStyle() argument
85 return nAddFontWeightStyle(mNativePtr, font, ttcIndex, axes, weight, style); in addFontWeightStyle()
94 private static native boolean nAddFont(long nativeFamily, ByteBuffer font, int ttcIndex); in nAddFont() argument
96 int ttcIndex, List<FontListParser.Axis> listOfAxis, in nAddFontWeightStyle() argument
DFontListParser.java56 Font(String fontName, int ttcIndex, List<Axis> axes, int weight, boolean isItalic) { in Font() argument
58 this.ttcIndex = ttcIndex; in Font()
64 public int ttcIndex; field in FontListParser.Font
DTypeface.java313 if (!fontFamily.addFontWeightStyle(fontBuffer, font.ttcIndex, font.axes, in makeFamilyFromParsed()
315 Log.e(TAG, "Error creating font " + font.fontName + "#" + font.ttcIndex); in makeFamilyFromParsed()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp57 size_t fontSize, int ttcIndex) { in addSkTypeface() argument
58 MinikinFont* minikinFont = new MinikinFontSkia(face, fontData, fontSize, ttcIndex); in addSkTypeface()
88 jint ttcIndex) { in FontFamily_addFont() argument
106 params.setCollectionIndex(ttcIndex); in FontFamily_addFont()
115 return addSkTypeface(fontFamily, face, fontPtr, (size_t)fontSize, ttcIndex); in FontFamily_addFont()
129 jobject font, jint ttcIndex, jobject listOfAxis, jint weight, jboolean isItalic) { in FontFamily_addFontWeightStyle() argument
171 params.setCollectionIndex(ttcIndex); in FontFamily_addFontWeightStyle()
181 MinikinFont* minikinFont = new MinikinFontSkia(face, fontPtr, (size_t)fontSize, ttcIndex); in FontFamily_addFontWeightStyle()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java250 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex) { in addFont() argument
252 return delegate != null && delegate.addFont(path, ttcIndex); in addFont()
280 /*package*/ static boolean nAddFont(long nativeFamily, ByteBuffer font, int ttcIndex) {
287 int ttcIndex, List<FontListParser.Axis> listOfAxis,
392 private boolean addFont(final String path, int ttcIndex) {
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp26 int ttcIndex) : in MinikinFontSkia() argument
28 mFontSize(fontSize), mTtcIndex(ttcIndex) { in MinikinFontSkia()
DMinikinSkia.h32 int ttcIndex);