Searched refs:AxisTag (Results 1 – 9 of 9) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | FontVariation.h | 24 typedef uint32_t AxisTag; typedef 28 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation() 29 AxisTag axisTag;
|
D | FontFamily.h | 74 AxisTag getSupportedAxisAt(size_t index) const { return mSupportedAxes[index]; } in getSupportedAxisAt() 124 std::unique_ptr<AxisTag[]> mSupportedAxes;
|
D | Font.h | 175 const AxisTag* getSupportedAxes() const { return mSupportedAxes.get(); } in getSupportedAxes() 222 std::unique_ptr<AxisTag[]> mSupportedAxes;
|
D | FontCollection.h | 190 AxisTag getSupportedAxisAt(size_t index) const { return mSupportedAxes[index]; } in getSupportedAxisAt() 294 std::unique_ptr<AxisTag[]> mSupportedAxes;
|
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 84 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()
|
D | FontFamily.cpp | 94 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()
|
D | FontCollection.cpp | 153 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/ |
D | FontFamily.cpp | 217 builder->axes.push_back({static_cast<minikin::AxisTag>(tag), value}); in FontFamily_addAxisValue()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 80 toBuilder(builderPtr)->axes.emplace_back(static_cast<minikin::AxisTag>(tag), value); in Font_Builder_addAxis()
|