/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 92 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() argument 106 return nAddFont(mBuilderPtr, fontBuffer, ttcIndex, weight, italic); in addFont() 113 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() argument 123 return nAddFontWeightStyle(mBuilderPtr, font, ttcIndex, weight, italic); in addFontFromBuffer() 139 boolean isAsset, int ttcIndex, int weight, int isItalic, in addFontFromAssetManager() argument 149 return nAddFontFromAssetManager(mBuilderPtr, mgr, path, cookie, isAsset, ttcIndex, weight, in addFontFromAssetManager() 173 private static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex) { in nAddFont() argument 174 return nAddFont(builderPtr, font, ttcIndex, -1, -1); in nAddFont() 192 private static native boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, in nAddFont() argument 195 int ttcIndex, int weight, int isItalic); in nAddFontWeightStyle() argument [all …]
|
D | Typeface.java | 419 public Builder setTtcIndex(@IntRange(from = 0) int ttcIndex) { in setTtcIndex() 424 mTtcIndex = ttcIndex; in setTtcIndex() 500 private static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid() argument 511 builder.append(Integer.toString(ttcIndex)); in createAssetUid()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 98 static bool addSkTypeface(NativeFamilyBuilder* builder, sk_sp<SkData>&& data, int ttcIndex, in addSkTypeface() argument 110 params.setCollectionIndex(ttcIndex); in addSkTypeface() 121 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, ttcIndex, in addSkTypeface() 171 jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFont() argument 189 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFont() 193 jobject font, jint ttcIndex, jint weight, jint isItalic) { in FontFamily_addFontWeightStyle() argument 211 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontWeightStyle() 219 jobject jassetMgr, jstring jpath, jint cookie, jboolean isAsset, jint ttcIndex, in FontFamily_addFontFromAssetManager() argument 258 return addSkTypeface(builder, std::move(data), ttcIndex, weight, isItalic); in FontFamily_addFontFromAssetManager()
|
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 28 int ttcIndex, const std::vector<minikin::FontVariation>& axes) : in MinikinFontSkia() argument 30 mFontSize(fontSize), mTtcIndex(ttcIndex), mAxes(axes) { in MinikinFontSkia() 98 int ttcIndex; in createFontWithVariation() local 99 SkStreamAsset* stream = mTypeface->openStream(&ttcIndex); in createFontWithVariation() 102 params.setCollectionIndex(ttcIndex); in createFontWithVariation() 113 return std::make_shared<MinikinFontSkia>(std::move(face), mFontData, mFontSize, ttcIndex, in createFontWithVariation()
|
D | MinikinSkia.h | 32 int ttcIndex, const std::vector<minikin::FontVariation>& axes);
|
/frameworks/minikin/tests/stresstest/ |
D | FontFamilyTest.cpp | 34 int ttcIndex = GetParam().second; in TEST_P() local 36 std::shared_ptr<MinikinFont> font(new MinikinFontForTest(fontPath, ttcIndex)); in TEST_P() 59 << "Inconsistent Result: " << fontPath << "#" << ttcIndex in TEST_P()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 253 /*package*/ static boolean addFont(FontFamily thisFontFamily, String path, int ttcIndex, in addFont() argument 260 return delegate != null && delegate.addFont(path, ttcIndex, weight, italic); in addFont() 293 /*package*/ static boolean nAddFont(long builderPtr, ByteBuffer font, int ttcIndex, 301 int ttcIndex, int weight, int isItalic) { 327 int cookie, boolean isAsset, int ttcIndex, int weight, int isItalic) { 431 private boolean addFont(final String path, int ttcIndex, int weight, int italic) {
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
D | TypefaceCompatApi26Impl.java | 143 int ttcIndex, int weight, int style) { in addFontFromAssetManager() argument 146 context.getAssets(), fileName, 0 /* cookie */, false /* isAsset */, ttcIndex, in addFontFromAssetManager() 159 int ttcIndex, int weight, int style) { in addFontFromBuffer() argument 162 buffer, ttcIndex, null /* axes */, weight, style); in addFontFromBuffer()
|
D | TypefaceCompatApi24Impl.java | 108 private static boolean addFontWeightStyle(Object family, ByteBuffer buffer, int ttcIndex, in addFontWeightStyle() argument 112 family, buffer, ttcIndex, null /* variation axis */, weight, style); in addFontWeightStyle()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 71 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, in Font() argument 74 mTtcIndex = ttcIndex; in Font()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 199 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, in FontInfo() 203 mTtcIndex = ttcIndex; in FontInfo() 784 final int ttcIndex = ttcIndexColumnIndex != -1 in getFontFromProvider() local 808 result.add(new FontInfo(fileUri, ttcIndex, axes, weight, italic, resultCode)); in getFontFromProvider()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | MockFontProvider.java | 101 public Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument 105 mTtcIndex = ttcIndex; in Font()
|
/frameworks/support/compat/java/android/support/v4/provider/ |
D | FontsContractCompat.java | 298 public FontInfo(@NonNull Uri uri, @IntRange(from = 0) int ttcIndex, in FontInfo() 302 mTtcIndex = ttcIndex; in FontInfo() 794 final int ttcIndex = ttcIndexColumnIndex != -1 in getFontFromProvider() local 808 result.add(new FontInfo(fileUri, ttcIndex, weight, italic, resultCode)); in getFontFromProvider()
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
D | MockFontProvider.java | 64 Font(int id, int fileId, int ttcIndex, String varSettings, int weight, int italic, in Font() argument 68 mTtcIndex = ttcIndex; in Font()
|