Searched defs:ttcIndex (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DFontFamily.java71 public boolean addFont(String path, int ttcIndex) { argument
76 return nAddFont(mNativePtr, fontBuffer, ttcIndex);
83 public boolean addFontWeightStyle(ByteBuffer font, int ttcIndex, List<FontListParser.Axis> axes, argument
85 return nAddFontWeightStyle(mNativePtr, font, ttcIndex, axes, weight, style);
94 private static native boolean nAddFont(long nativeFamily, ByteBuffer font, int ttcIndex); argument
96 int ttcIndex, List<FontListParser.Axis> listOfAxis,
95 nAddFontWeightStyle(long nativeFamily, ByteBuffer font, int ttcIndex, List<FontListParser.Axis> listOfAxis, int weight, boolean isItalic) argument
H A DFontListParser.java56 Font(String fontName, int ttcIndex, List<Axis> axes, int weight, boolean isItalic) { argument
58 this.ttcIndex = ttcIndex;
64 public int ttcIndex; field in class:FontListParser.Font
/frameworks/base/libs/hwui/hwui/
H A DMinikinSkia.cpp26 int ttcIndex) :
28 mFontSize(fontSize), mTtcIndex(ttcIndex) {
25 MinikinFontSkia(SkTypeface* typeface, const void* fontData, size_t fontSize, int ttcIndex) argument
/frameworks/base/core/jni/android/graphics/
H A DFontFamily.cpp57 size_t fontSize, int ttcIndex) {
58 MinikinFont* minikinFont = new MinikinFontSkia(face, fontData, fontSize, ttcIndex);
88 jint ttcIndex) {
106 params.setCollectionIndex(ttcIndex);
115 return addSkTypeface(fontFamily, face, fontPtr, (size_t)fontSize, ttcIndex);
129 jobject font, jint ttcIndex, jobject listOfAxis, jint weight, jboolean isItalic) {
171 params.setCollectionIndex(ttcIndex);
181 MinikinFont* minikinFont = new MinikinFontSkia(face, fontPtr, (size_t)fontSize, ttcIndex);
223 return addSkTypeface(fontFamily, face, buf, bufSize, /* ttcIndex */ 0);
56 addSkTypeface(FontFamily* family, SkTypeface* face, const void* fontData, size_t fontSize, int ttcIndex) argument
87 FontFamily_addFont(JNIEnv* env, jobject clazz, jlong familyPtr, jobject bytebuf, jint ttcIndex) argument
128 FontFamily_addFontWeightStyle(JNIEnv* env, jobject clazz, jlong familyPtr, jobject font, jint ttcIndex, jobject listOfAxis, jint weight, jboolean isItalic) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DFontFamily_Delegate.java250 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex) { argument
252 return delegate != null && delegate.addFont(path, ttcIndex);
280 /*package*/ static boolean nAddFont(long nativeFamily, ByteBuffer font, int ttcIndex) { argument
287 int ttcIndex, List<FontListParser.Axis> listOfAxis,
392 private boolean addFont(final String path, int ttcIndex) { argument
286 nAddFontWeightStyle(long nativeFamily, ByteBuffer font, int ttcIndex, List<FontListParser.Axis> listOfAxis, int weight, boolean isItalic) argument

Completed in 1110 milliseconds