/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 32 public final class FontVariationAxis { class 47 public FontVariationAxis(@NonNull String tagString, float styleValue) { in FontVariationAxis() method in FontVariationAxis 139 public static @Nullable FontVariationAxis[] fromFontVariationSettings( in fromFontVariationSettings() 144 final ArrayList<FontVariationAxis> axisList = new ArrayList<>(); in fromFontVariationSettings() 170 axisList.add(new FontVariationAxis(tagString, value)); in fromFontVariationSettings() 176 return axisList.toArray(new FontVariationAxis[0]); in fromFontVariationSettings() 185 public static @NonNull String toFontVariationSettings(@Nullable FontVariationAxis[] axes) { in toFontVariationSettings() 197 if (o == null || !(o instanceof FontVariationAxis)) { in equals() 200 FontVariationAxis axis = (FontVariationAxis) o; in equals()
|
D | Font.java | 71 private @Nullable FontVariationAxis[] mAxes = null; 340 mAxes = FontVariationAxis.fromFontVariationSettings(variationSettings); in setFontVariationSettings() 350 public @NonNull Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() 384 for (FontVariationAxis axis : mAxes) { in build() 425 private final @Nullable FontVariationAxis[] mAxes; 433 @Nullable FontVariationAxis[] axes, @NonNull String localeList) { in Font() 493 public @Nullable FontVariationAxis[] getAxes() { in getAxes() 536 + ", axes=" + FontVariationAxis.toFontVariationSettings(mAxes) in toString()
|
D | FontFileUtil.java | 70 @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] varSettings) { in analyzeStyle() 74 for (FontVariationAxis axis :varSettings) { in analyzeStyle()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | VariationParserTest.java | 22 import android.graphics.fonts.FontVariationAxis; 44 FontVariationAxis.fromFontVariationSettings("'wdth' " + invalidStyle); in testFromFontVariationSetting_InvalidStyleValue() 52 FontVariationAxis.fromFontVariationSettings("'wght' 1, 'wdth' " in testFromFontVariationSetting_InvalidStyleValue() 64 new FontVariationAxis("wdth", 0).getOpenTypeTagValue()); in testOpenTypeTagValue() 66 new FontVariationAxis("AX ", 0).getOpenTypeTagValue()); in testOpenTypeTagValue() 68 new FontVariationAxis(" ", 0).getOpenTypeTagValue()); in testOpenTypeTagValue()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 22 import android.graphics.fonts.FontVariationAxis; 132 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() 142 for (FontVariationAxis axis : axes) { in addFont() 157 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() 163 for (FontVariationAxis axis : axes) { in addFontFromBuffer() 187 FontVariationAxis[] axes) { in addFontFromAssetManager() 192 for (FontVariationAxis axis : axes) { in addFontFromAssetManager()
|
D | FontListParser.java | 20 import android.graphics.fonts.FontVariationAxis; 120 List<FontVariationAxis> axes = new ArrayList<FontVariationAxis>(); in readFont() 140 new FontVariationAxis[axes.size()]), weight, isItalic, fallbackFor); in readFont() 143 private static FontVariationAxis readAxis(XmlPullParser parser) in readAxis() 148 return new FontVariationAxis(tagStr, Float.parseFloat(styleValueStr)); in readAxis()
|
D | Typeface.java | 33 import android.graphics.fonts.FontVariationAxis; 498 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() 540 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid() 561 for (FontVariationAxis axis : axes) { in createAssetUid() 935 @NonNull List<FontVariationAxis> axes) { 1217 long native_instance, List<FontVariationAxis> axes);
|
D | Paint.java | 28 import android.graphics.fonts.FontVariationAxis; 1910 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings(settings); in setFontVariationSettings() 1911 final ArrayList<FontVariationAxis> filteredAxes = new ArrayList<FontVariationAxis>(); in setFontVariationSettings() 1912 for (final FontVariationAxis axis : axes) { in setFontVariationSettings()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 25 import android.graphics.fonts.FontVariationAxis; 65 private final @NonNull FontVariationAxis[] mAxes; 74 public Font(@NonNull String fontName, int ttcIndex, @NonNull FontVariationAxis[] axes, in Font() 103 public @NonNull FontVariationAxis[] getAxes() { in getAxes()
|
D | FontVariationAxis.aidl | 19 parcelable FontVariationAxis;
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | Typeface_Builder_Delegate.java | 24 import android.graphics.fonts.FontVariationAxis; 39 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid()
|
D | Typeface_Delegate.java | 38 import android.graphics.fonts.FontVariationAxis; 141 List<FontVariationAxis> axes) { in nativeCreateFromTypefaceWithVariation()
|
D | FontFamily_Delegate.java | 29 import android.graphics.fonts.FontVariationAxis; 298 FontVariationAxis[] axes, int weight, int italic) { in addFont()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 35 import android.graphics.fonts.FontVariationAxis; 181 private final FontVariationAxis[] mAxes; 197 @Nullable FontVariationAxis[] axes, @IntRange(from = 1, to = 1000) int weight, in FontInfo() 224 public @Nullable FontVariationAxis[] getAxes() { in getAxes() 857 FontVariationAxis[] axes = in getFontFromProvider() 858 FontVariationAxis.fromFontVariationSettings(variationSettings); in getFontFromProvider()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 24 import android.graphics.fonts.FontVariationAxis; 142 FontVariationAxis.fromFontVariationSettings(axes)); in testVariationFont()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 36 import android.graphics.fonts.FontVariationAxis; 84 FontVariationAxis[] actual = font.getAxes(); in testGetFontFromProvider_resultOK() 133 FontVariationAxis[] actual = font.getAxes(); in testGetFontFromProvider_resultFontUnavailable() 153 FontVariationAxis[] actual = font.getAxes(); in testGetFontFromProvider_resultMalformedQuery()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 70 import android.graphics.fonts.FontVariationAxis;
|
/frameworks/base/config/ |
D | preloaded-classes | 1382 android.graphics.fonts.FontVariationAxis
|
D | boot-image-profile.txt | 5643 …ontFamily;->addFontFromBuffer(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;II)Z 6093 …ontent/res/AssetManager;Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;IILjava/lang… 6890 …ts/Font$Builder;->setFontVariationSettings([Landroid/graphics/fonts/FontVariationAxis;)Landroid/gr… 6892 …io/File;Landroid/graphics/fonts/FontStyle;I[Landroid/graphics/fonts/FontVariationAxis;Ljava/lang/S… 6904 HSPLandroid/graphics/fonts/FontVariationAxis;-><init>(Ljava/lang/String;F)V 6905 …android/graphics/fonts/FontVariationAxis;->fromFontVariationSettings(Ljava/lang/String;)[Landroid/… 12732 HSPLandroid/provider/FontsContract$FontInfo;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; 33546 Landroid/graphics/fonts/FontVariationAxis;
|
D | hiddenapi-greylist-max-o.txt | 20605 …id/graphics/FontFamily;->addFont(Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;II)Z 20623 …FontListParser;->readAxis(Lorg/xmlpull/v1/XmlPullParser;)Landroid/graphics/fonts/FontVariationAxis; 20628 Landroid/graphics/fonts/FontVariationAxis;->getOpenTypeTagValue()I 20629 Landroid/graphics/fonts/FontVariationAxis;->isValidTag(Ljava/lang/String;)Z 20630 Landroid/graphics/fonts/FontVariationAxis;->isValidValueFormat(Ljava/lang/String;)Z 20631 Landroid/graphics/fonts/FontVariationAxis;->makeTag(Ljava/lang/String;)I 20632 Landroid/graphics/fonts/FontVariationAxis;->mTagString:Ljava/lang/String; 20633 Landroid/graphics/fonts/FontVariationAxis;->STYLE_VALUE_PATTERN:Ljava/util/regex/Pattern; 20634 Landroid/graphics/fonts/FontVariationAxis;->TAG_PATTERN:Ljava/util/regex/Pattern; 21340 …ontent/res/AssetManager;Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;IILjava/lang… [all …]
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 15173 …cs.Typeface.Builder setFontVariationSettings(@Nullable android.graphics.fonts.FontVariationAxis[]); 15837 method @Nullable public android.graphics.fonts.FontVariationAxis[] getAxes(); 15854 ….fonts.Font.Builder setFontVariationSettings(@Nullable android.graphics.fonts.FontVariationAxis[]); 15891 public final class FontVariationAxis { 15892 ctor public FontVariationAxis(@NonNull String, float); 15893 …method @Nullable public static android.graphics.fonts.FontVariationAxis[] fromFontVariationSetting… 15896 …public static String toFontVariationSettings(@Nullable android.graphics.fonts.FontVariationAxis[]); 38516 method @Nullable public android.graphics.fonts.FontVariationAxis[] getAxes();
|
/frameworks/base/api/ |
D | current.txt | 15173 …cs.Typeface.Builder setFontVariationSettings(@Nullable android.graphics.fonts.FontVariationAxis[]); 15837 method @Nullable public android.graphics.fonts.FontVariationAxis[] getAxes(); 15854 ….fonts.Font.Builder setFontVariationSettings(@Nullable android.graphics.fonts.FontVariationAxis[]); 15891 public final class FontVariationAxis { 15892 ctor public FontVariationAxis(@NonNull String, float); 15893 …method @Nullable public static android.graphics.fonts.FontVariationAxis[] fromFontVariationSetting… 15896 …public static String toFontVariationSettings(@Nullable android.graphics.fonts.FontVariationAxis[]); 38660 method @Nullable public android.graphics.fonts.FontVariationAxis[] getAxes();
|