Home
last modified time | relevance | path

Searched refs:AxisTag (Results 1 – 9 of 9) sorted by relevance

/frameworks/minikin/include/minikin/
DFontVariation.h24 typedef uint32_t AxisTag; typedef
28 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation()
29 AxisTag axisTag;
DFontFamily.h74 AxisTag getSupportedAxisAt(size_t index) const { return mSupportedAxes[index]; } in getSupportedAxisAt()
124 std::unique_ptr<AxisTag[]> mSupportedAxes;
DFont.h175 const AxisTag* getSupportedAxes() const { return mSupportedAxes.get(); } in getSupportedAxes()
222 std::unique_ptr<AxisTag[]> mSupportedAxes;
DFontCollection.h190 AxisTag getSupportedAxisAt(size_t index) const { return mSupportedAxes[index]; } in getSupportedAxisAt()
294 std::unique_ptr<AxisTag[]> mSupportedAxes;
/frameworks/minikin/libs/minikin/
DFont.cpp84 const auto& [axesPtr, axesCount] = reader->readArray<AxisTag>(); in Font()
86 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[axesCount]); in Font()
105 AxisTag* axesPtr = parent->mSupportedAxes.get(); in Font()
106 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[mSupportedAxesCount]); in Font()
130 writer->writeArray<AxisTag>(mSupportedAxes.get(), mSupportedAxesCount); in writeTo()
260 std::unordered_set<AxisTag> supportedAxes; in calculateSupportedAxes()
DFontFamily.cpp94 mSupportedAxes(std::make_unique<AxisTag[]>(parent->getSupportedAxesCount())), in FontFamily()
129 const AxisTag* src = parent->mSupportedAxes.get(); in FontFamily()
177 static_assert(sizeof(AxisTag) == 4); in FontFamily()
178 const auto& [axesPtr, axesCount] = reader->readArray<AxisTag>(); in FontFamily()
181 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[axesCount]); in FontFamily()
211 writer->writeArray<AxisTag>(mSupportedAxes.get(), mSupportedAxesCount); in writeTo()
361 std::unordered_set<AxisTag> supportedAxesSet; in computeCoverage()
365 const AxisTag* axesPtr = mFonts[i]->getSupportedAxes(); in computeCoverage()
DFontCollection.cpp153 std::unordered_set<AxisTag> supportedAxesSet; in init()
228 const auto& [axesPtr, axesCount] = reader->readArray<AxisTag>(); in FontCollection()
231 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[axesCount]); in FontCollection()
255 writer->writeArray<AxisTag>(mSupportedAxes.get(), mSupportedAxesCount); in writeTo()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp217 builder->axes.push_back({static_cast<minikin::AxisTag>(tag), value}); in FontFamily_addAxisValue()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp80 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis()