/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontVariationAxis.java | 33 public final class FontVariationAxis { class 48 public FontVariationAxis(@NonNull String tagString, float styleValue) { in FontVariationAxis() method in FontVariationAxis 140 public static @Nullable FontVariationAxis[] fromFontVariationSettings( in fromFontVariationSettings() 145 final ArrayList<FontVariationAxis> axisList = new ArrayList<>(); in fromFontVariationSettings() 171 axisList.add(new FontVariationAxis(tagString, value)); in fromFontVariationSettings() 177 return axisList.toArray(new FontVariationAxis[0]); in fromFontVariationSettings() 186 public static @NonNull String toFontVariationSettings(@Nullable FontVariationAxis[] axes) { in toFontVariationSettings() 197 public static @NonNull String toFontVariationSettings(@Nullable List<FontVariationAxis> axes) { in toFontVariationSettings() 209 if (o == null || !(o instanceof FontVariationAxis)) { in equals() 212 FontVariationAxis axis = (FontVariationAxis) o; in equals()
|
D | Font.java | 87 private @Nullable FontVariationAxis[] mAxes = null; 429 mAxes = FontVariationAxis.fromFontVariationSettings(variationSettings); in setFontVariationSettings() 439 public @NonNull Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() 473 for (FontVariationAxis axis : mAxes) { in build() 520 private @Nullable FontVariationAxis[] mAxes = null; 624 public @Nullable FontVariationAxis[] getAxes() { in getAxes() 628 mAxes = new FontVariationAxis[axisCount]; in getAxes() 637 mAxes[i] = new FontVariationAxis(new String(charBuffer), value); in getAxes() 859 + ", axes=" + FontVariationAxis.toFontVariationSettings(getAxes()) in toString()
|
D | FontFileUtil.java | 76 @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] varSettings) { in analyzeStyle() 80 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/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | FontInterpolator.kt | 20 import android.graphics.fonts.FontVariationAxis in <lambda>() 66 val sortedAxes: MutableList<FontVariationAxis> in <lambda>() 70 axes: List<FontVariationAxis> in <lambda>() 77 fun set(font: Font, axes: List<FontVariationAxis>) { in <lambda>() 178 start: Array<FontVariationAxis>, in <lambda>() 179 end: Array<FontVariationAxis>, in <lambda>() 181 ): List<FontVariationAxis> { in <lambda>() 186 val result = mutableListOf<FontVariationAxis>() in <lambda>() 204 FontVariationAxis(tagA, v) in <lambda>() 208 FontVariationAxis(tagA, v) in <lambda>() [all …]
|
D | TextAnimator.kt | 26 import android.graphics.fonts.FontVariationAxis 46 val axes = FontVariationAxis.fromFontVariationSettings(fVar) in getTypefaceForVariant()
|
D | TextInterpolator.kt | 21 import android.graphics.fonts.FontVariationAxis in <lambda>() 225 val fvar = FontVariationAxis.toFontVariationSettings(fontRun.baseFont.axes) in <lambda>()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 23 import android.graphics.fonts.FontVariationAxis; 143 public boolean addFont(String path, int ttcIndex, FontVariationAxis[] axes, int weight, in addFont() 153 for (FontVariationAxis axis : axes) { in addFont() 168 public boolean addFontFromBuffer(ByteBuffer font, int ttcIndex, FontVariationAxis[] axes, in addFontFromBuffer() 174 for (FontVariationAxis axis : axes) { in addFontFromBuffer() 199 FontVariationAxis[] axes) { in addFontFromAssetManager()
|
D | FontListParser.java | 26 import android.graphics.fonts.FontVariationAxis; 370 List<FontVariationAxis> axes = new ArrayList<>(); in readFont() 425 varSettings = FontVariationAxis.toFontVariationSettings( in readFont() 426 axes.toArray(new FontVariationAxis[0])); in readFont() 459 private static FontVariationAxis readAxis(XmlPullParser parser) in readAxis() 464 return new FontVariationAxis(tagStr, Float.parseFloat(styleValueStr)); in readAxis()
|
D | Typeface.java | 35 import android.graphics.fonts.FontVariationAxis; 589 public Builder setFontVariationSettings(@Nullable FontVariationAxis[] axes) { in setFontVariationSettings() 631 @Nullable FontVariationAxis[] axes, int weight, int italic, String fallback) { in createAssetUid() 652 for (FontVariationAxis axis : axes) { in createAssetUid() 1026 @NonNull List<FontVariationAxis> axes) { 1599 long native_instance, List<FontVariationAxis> axes);
|
D | Paint.java | 35 import android.graphics.fonts.FontVariationAxis; 2070 FontVariationAxis[] axes = FontVariationAxis.fromFontVariationSettings(settings); in setFontVariationSettings() 2071 final ArrayList<FontVariationAxis> filteredAxes = new ArrayList<FontVariationAxis>(); in setFontVariationSettings() 2072 for (final FontVariationAxis axis : axes) { in setFontVariationSettings()
|
/frameworks/base/core/java/android/graphics/fonts/ |
D | FontFamilyUpdateRequest.java | 167 private @NonNull List<FontVariationAxis> mAxes = Collections.emptyList(); 190 public @NonNull Builder setAxes(@NonNull List<FontVariationAxis> axes) { in setAxes() 221 private final List<FontVariationAxis> mAxes; 242 @IntRange(from = 0) int index, @NonNull List<FontVariationAxis> axes) { in Font() 270 public List<FontVariationAxis> getAxes() { in getAxes()
|
D | FontUpdateRequest.java | 376 FontVariationAxis.toFontVariationSettings(font.getAxes()))); in createFontFamily()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceCreatePerfTest.java | 25 import android.graphics.fonts.FontVariationAxis; 151 final List<FontVariationAxis> axes = Arrays.asList( in testCreate_fromTypefaceWithVariation() 152 new FontVariationAxis("wght", 100f), in testCreate_fromTypefaceWithVariation() 153 new FontVariationAxis("wdth", 0.8f)); in testCreate_fromTypefaceWithVariation()
|
/frameworks/base/core/java/android/text/ |
D | FontVariationAxis.aidl | 19 parcelable FontVariationAxis;
|
D | FontConfig.java | 30 import android.graphics.fonts.FontVariationAxis; 404 public @NonNull FontVariationAxis[] getAxes() { in getAxes() 405 return FontVariationAxis.fromFontVariationSettings(mFontVariationSettings); in getAxes()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | FontInterpolatorTest.kt | 21 import android.graphics.fonts.FontVariationAxis in <lambda>() 45 val expectAxes = FontVariationAxis.fromFontVariationSettings(expectVarSettings)?.also { in <lambda>()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 35 import android.graphics.fonts.FontVariationAxis; 193 private final FontVariationAxis[] mAxes; 209 @Nullable FontVariationAxis[] axes, @IntRange(from = 1, to = 1000) int weight, in FontInfo() 236 public @Nullable FontVariationAxis[] getAxes() { in getAxes() 888 FontVariationAxis[] axes = in getFontFromProvider() 889 FontVariationAxis.fromFontVariationSettings(variationSettings); in getFontFromProvider()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 27 import android.graphics.fonts.FontVariationAxis; 146 FontVariationAxis.fromFontVariationSettings(axes)); in testVariationFont()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractTest.java | 36 import android.graphics.fonts.FontVariationAxis; 85 FontVariationAxis[] actual = font.getAxes(); in testGetFontFromProvider_resultOK() 134 FontVariationAxis[] actual = font.getAxes(); in testGetFontFromProvider_resultFontUnavailable() 154 FontVariationAxis[] actual = font.getAxes(); in testGetFontFromProvider_resultMalformedQuery()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 28 import android.graphics.fonts.FontVariationAxis; 291 FontVariationAxis[] axes = font.getAxes(); in dumpFont() 294 sb.append(FontVariationAxis.toFontVariationSettings(axes)); in dumpFont()
|
/frameworks/base/config/ |
D | boot-profile.txt | 8 …ontConfig$Font;-><init>(Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;IZLjava/lang… 35 Landroid/text/FontConfig$Font;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; 36 …ts/Font$Builder;->setFontVariationSettings([Landroid/graphics/fonts/FontVariationAxis;)Landroid/gr… 38 …io/File;Landroid/graphics/fonts/FontStyle;I[Landroid/graphics/fonts/FontVariationAxis;Ljava/lang/S… 39 …io/File;Landroid/graphics/fonts/FontStyle;I[Landroid/graphics/fonts/FontVariationAxis;Ljava/lang/S…
|
D | boot-image-profile.txt | 6795 …ontent/res/AssetManager;Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;IILjava/lang… 7861 …ts/Font$Builder;->setFontVariationSettings([Landroid/graphics/fonts/FontVariationAxis;)Landroid/gr… 7866 HSPLandroid/graphics/fonts/Font;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; 7876 …nts/FontFileUtil;->analyzeStyle(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;)I 7880 HSPLandroid/graphics/fonts/FontVariationAxis;-><init>(Ljava/lang/String;F)V 7881 …android/graphics/fonts/FontVariationAxis;->fromFontVariationSettings(Ljava/lang/String;)[Landroid/… 7882 HSPLandroid/graphics/fonts/FontVariationAxis;->isValidTag(Ljava/lang/String;)Z 7883 HSPLandroid/graphics/fonts/FontVariationAxis;->makeTag(Ljava/lang/String;)I 13201 HSPLandroid/provider/FontsContract$FontInfo;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; 14669 HSPLandroid/text/FontConfig$Font;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; [all …]
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 6792 …ontent/res/AssetManager;Ljava/lang/String;I[Landroid/graphics/fonts/FontVariationAxis;IILjava/lang… 7858 …ts/Font$Builder;->setFontVariationSettings([Landroid/graphics/fonts/FontVariationAxis;)Landroid/gr… 7863 HSPLandroid/graphics/fonts/Font;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; 7873 …nts/FontFileUtil;->analyzeStyle(Ljava/nio/ByteBuffer;I[Landroid/graphics/fonts/FontVariationAxis;)I 7877 HSPLandroid/graphics/fonts/FontVariationAxis;-><init>(Ljava/lang/String;F)V 7878 …android/graphics/fonts/FontVariationAxis;->fromFontVariationSettings(Ljava/lang/String;)[Landroid/… 7879 HSPLandroid/graphics/fonts/FontVariationAxis;->isValidTag(Ljava/lang/String;)Z 7880 HSPLandroid/graphics/fonts/FontVariationAxis;->makeTag(Ljava/lang/String;)I 13198 HSPLandroid/provider/FontsContract$FontInfo;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; 14605 HSPLandroid/text/FontConfig$Font;->getAxes()[Landroid/graphics/fonts/FontVariationAxis; [all …]
|
D | preloaded-classes | 2504 android.graphics.fonts.FontVariationAxis 14145 [Landroid.graphics.fonts.FontVariationAxis;
|