/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 132 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() argument 146 return nAddFont(mBuilderPtr, fontBuffer, ttcIndex, weight, italic); in addFont() 157 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() argument 167 return nAddFontWeightStyle(mBuilderPtr, font, ttcIndex, weight, italic); in addFontFromBuffer() 186 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument 196 return nAddFontFromAssetManager(mBuilderPtr, mgr, path, cookie, isAsset, ttcIndex, weight, in addFontFromAssetManager() 201 private static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex) { in nAddFont() argument 202 return nAddFont(builderPtr, font, ttcIndex, -1, -1); in nAddFont() 217 private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, in nAddFont() argument 220 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument [all …]
|
D | Typeface.java | 476 public Builder setTtcIndex(@IntRange(from = 0) int ttcIndex) { in setTtcIndex() 477 mFontBuilder.setTtcIndex(ttcIndex); in setTtcIndex() 539 private static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument 550 builder.append(Integer.toString(ttcIndex)); in createAssetUid()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 110 static bool addSkTypeface(NativeFamilyBuilder* builder, sk_sp<SkData>&& data, int ttcIndex, in addSkTypeface() argument 122 params.setCollectionIndex(ttcIndex); in addSkTypeface() 133 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, "", ttcIndex, 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() 220 jobject jassetMgr, jstring jpath, jint cookie, jboolean isAsset, jint ttcIndex, in FontFamily_addFontFromAssetManager() argument 265 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontFromAssetManager()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 34 std::string_view filePath, int ttcIndex, in MinikinFontSkia() argument 40 , mTtcIndex(ttcIndex) in MinikinFontSkia() 130 int ttcIndex; in createFontWithVariation() local 131 std::unique_ptr<SkStreamAsset> stream(mTypeface->openStream(&ttcIndex)); in createFontWithVariation() 134 params.setCollectionIndex(ttcIndex); in createFontWithVariation() 146 ttcIndex, variations); in createFontWithVariation()
|
D | MinikinSkia.h | 32 std::string_view filePath, int ttcIndex,
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFileUtil.java | 70 @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] varSettings) { in analyzeStyle() 97 if (ttcIndex >= buffer.getInt(8 /* offset to number of fonts in TTC */)) { in analyzeStyle() 101 12 /* offset to array of offsets of font files */ + 4 * ttcIndex); in analyzeStyle()
|
D | Font.java | 326 public @NonNull Builder setTtcIndex(@IntRange(from = 0) int ttcIndex) { in setTtcIndex() 327 mTtcIndex = ttcIndex; in setTtcIndex() 415 boolean italic, int ttcIndex); in nBuild() argument 432 @NonNull FontStyle fontStyle, @IntRange(from = 0) int ttcIndex, in Font() 438 mTtcIndex = ttcIndex; in Font()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Builder_Delegate.java | 38 public static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument 40 return Builder.createAssetUid_Original(mgr, path, ttcIndex, axes, weight, italic, fallback); in createAssetUid()
|
D | FontFamily_Delegate.java | 297 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex, in addFont() argument 304 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic); in addFont() 341 /*package*/ static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, 349 int ttcIndex, int weight, int isItalic) { 375 int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) { 477 private boolean addFont(final String path, int ttcIndex, int weight, int italic) {
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 123 int ttcIndex = FontTestUtil.getTtcIndexFromStyle(weight, italic); in testTtcFont() local 125 int packed = FontFileUtil.analyzeStyle(buffer, ttcIndex, null); in testTtcFont() 126 assertEquals(path + "#" + ttcIndex, weight, FontFileUtil.unpackWeight(packed)); in testTtcFont() 127 assertEquals(path + "#" + ttcIndex, italic, FontFileUtil.unpackItalic(packed)); in testTtcFont()
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 36 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/ |
D | FontResourcesParser.java | 91 @Nullable String variationSettings, int ttcIndex) { in FontFileResourceEntry() argument 96 mTtcIndex = ttcIndex; in FontFileResourceEntry() 226 int ttcIndex = array.getInt(R.styleable.FontFamilyFont_ttcIndex, 0); in readFont() local 235 return new FontFileResourceEntry(filename, weight, italic, variationSettings, ttcIndex); in readFont()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | Font.cpp | 137 jstring filePath, jint weight, jboolean italic, jint ttcIndex) { in Font_Builder_build() argument 164 params.setCollectionIndex(ttcIndex); in Font_Builder_build() 177 ttcIndex, builder->axes); in Font_Builder_build()
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | Font_Builder_Delegate.java | 106 boolean italic, int ttcIndex) { in nBuild() argument 112 font.mTtcIndex = ttcIndex; in nBuild()
|
D | FontFamily_Builder_Delegate.java | 162 private void addFont(final ByteBuffer buffer, int ttcIndex, int weight, boolean italic) {
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 74 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, in Font() argument 77 mTtcIndex = ttcIndex; in Font()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | MockFontProvider.java | 97 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument 101 mTtcIndex = ttcIndex; in Font()
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 61 uint32_t ttcIndex = typeface->GetFontIndex(); in prepareFont() local 64 HbFaceUniquePtr face(hb_face_create(blob.get(), ttcIndex)); in prepareFont()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 196 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, in FontInfo() 200 mTtcIndex = ttcIndex; in FontInfo() 835 final int ttcIndex = ttcIndexColumnIndex != -1 in getFontFromProvider() local 859 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode)); in getFontFromProvider()
|
/frameworks/base/api/ |
D | current.txt | 1499 field public static final int ttcIndex = 16844143; // 0x101056f
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 97555 Lcom/android/internal/R$attr;->ttcIndex:I
|