Home
last modified time | relevance | path

Searched refs:getStyleValue (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java78 weight = (int) axis.getStyleValue(); in analyzeStyle()
80 italic = (axis.getStyleValue() == 1.0f) ? 1 : 0; in analyzeStyle()
DFontVariationAxis.java75 public float getStyleValue() { in getStyleValue() method in FontVariationAxis
DFont.java472 nAddAxis(builderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); in build()
/frameworks/base/graphics/java/android/graphics/
DFontFamily.java150 nAddAxisValue(mBuilderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); in addFont()
171 nAddAxisValue(mBuilderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); in addFontFromBuffer()
DTypeface.java643 builder.append(Float.toString(axis.getStyleValue())); in createAssetUid()
/frameworks/base/libs/hwui/jni/
DFontUtils.cpp48 jfloat AxisHelper::getStyleValue() const { in getStyleValue() function in android::AxisHelper
DFontUtils.h61 jfloat getStyleValue() const;
DTypeface.cpp78 variations.push_back(minikin::FontVariation(axis.getTag(), axis.getStyleValue())); in Typeface_createFromTypefaceWithVariation()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java87 assertEquals(1.0f, actual[0].getStyleValue(), 0); in testGetFontFromProvider_resultOK()
136 assertEquals(1.0f, actual[0].getStyleValue(), 0); in testGetFontFromProvider_resultFontUnavailable()
156 assertEquals(1.0f, actual[0].getStyleValue(), 0); in testGetFontFromProvider_resultMalformedQuery()
/frameworks/base/core/api/
Dcurrent.txt17021 method public float getStyleValue();