Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/
DFontFamily.java143 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() argument
157 return nAddFont(mBuilderPtr, fontBuffer, ttcIndex, weight, italic); in addFont()
168 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() argument
178 return nAddFontWeightStyle(mBuilderPtr, font, ttcIndex, weight, italic); in addFontFromBuffer()
198 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument
206 return addFontFromBuffer(buffer, ttcIndex, axes, weight, isItalic); in addFontFromAssetManager()
224 private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, in nAddFont() argument
227 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument
DTypeface.java567 public Builder setTtcIndex(@IntRange(from = 0) int ttcIndex) { in setTtcIndex()
568 mFontBuilder.setTtcIndex(ttcIndex); in setTtcIndex()
630 private static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument
641 builder.append(Integer.toString(ttcIndex)); in createAssetUid()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp114 static bool addSkTypeface(NativeFamilyBuilder* builder, sk_sp<SkData>&& data, int ttcIndex, in addSkTypeface() argument
126 args.setCollectionIndex(ttcIndex); in addSkTypeface()
138 fontSize, "", ttcIndex, builder->axes); in addSkTypeface()
172 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont() argument
190 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFont()
194 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle() argument
212 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontWeightStyle()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DFontInterpolator.kt73 font.ttcIndex, in <lambda>()
79 index = font.ttcIndex in <lambda>()
236 start.ttcIndex == end.ttcIndex && start.sourceIdentifier == end.sourceIdentifier in <lambda>()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java127 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testTtcFont() local
129 int packed = FontFileUtil.analyzeStyle(buffer, ttcIndex, null); in testTtcFont()
130 assertEquals(path + "#" + ttcIndex, weight, FontFileUtil.unpackWeight(packed)); in testTtcFont()
131 assertEquals(path + "#" + ttcIndex, italic, FontFileUtil.unpackItalic(packed)); in testTtcFont()
/frameworks/minikin/tests/stresstest/
DFontFamilyTest.cpp36 int ttcIndex = GetParam().second; in TEST_P() local
61 << "Inconsistent Result: " << fontPath << "#" << ttcIndex << ": U+" << std::hex in TEST_P()
/frameworks/base/core/java/android/content/res/
DFontResourcesParser.java98 @Nullable String variationSettings, int ttcIndex) { in FontFileResourceEntry() argument
103 mTtcIndex = ttcIndex; in FontFileResourceEntry()
242 int ttcIndex = array.getInt(R.styleable.FontFamilyFont_ttcIndex, 0); in readFont() local
251 return new FontFileResourceEntry(filename, weight, italic, variationSettings, ttcIndex); in readFont()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java76 @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] varSettings) { in analyzeStyle()
103 if (ttcIndex >= buffer.getInt(8 /* offset to number of fonts in TTC */)) { in analyzeStyle()
107 12 /* offset to array of offsets of font files */ + 4 * ttcIndex); in analyzeStyle()
DFont.java415 public @NonNull Builder setTtcIndex(@IntRange(from = 0) int ttcIndex) { in setTtcIndex()
416 mTtcIndex = ttcIndex; in setTtcIndex()
501 @NonNull String localeList, int weight, boolean italic, int ttcIndex); in nBuild() argument
505 boolean italic, int ttcIndex); in nClone() argument
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp86 jint ttcIndex) { in Font_Builder_build() argument
107 fontPtr, fontSize, ttcIndex, builder->axes); in Font_Builder_build()
126 jint weight, jboolean italic, jint ttcIndex) { in Font_Builder_clone() argument
137 args.setCollectionIndex(ttcIndex); in Font_Builder_clone()
451 int ttcIndex, const std::vector<minikin::FontVariation>& axes) { in createMinikinFontSkia() argument
460 args.setCollectionIndex(ttcIndex); in createMinikinFontSkia()
469 fontPath, ttcIndex, axes); in createMinikinFontSkia()
DFont.h34 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp38 size_t fontSize, std::string_view filePath, int ttcIndex, in MinikinFontSkia() argument
44 , mTtcIndex(ttcIndex) in MinikinFontSkia()
DMinikinSkia.h34 std::string_view filePath, int ttcIndex,
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java97 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument
101 mTtcIndex = ttcIndex; in Font()
/frameworks/base/core/java/android/provider/
DFontsContract.java208 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, in FontInfo()
212 mTtcIndex = ttcIndex; in FontInfo()
866 final int ttcIndex = ttcIndexColumnIndex != -1 in getFontFromProvider() local
890 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode)); in getFontFromProvider()
/frameworks/minikin/libs/minikin/
DFont.cpp217 uint32_t ttcIndex = typeface->GetFontIndex(); in prepareFont() local
220 HbFaceUniquePtr face(hb_face_create(blob.get(), ttcIndex)); in prepareFont()
/frameworks/base/core/api/
Dcurrent.txt1799 field public static final int ttcIndex = 16844143; // 0x101056f
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76044 Lcom/android/internal/R$attr;->ttcIndex:I