Home
last modified time | relevance | path

Searched refs:axesCount (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/libs/minikin/
DFont.cpp84 const auto& [axesPtr, axesCount] = reader->readArray<AxisTag>(); in Font()
85 if (axesCount > 0) { in Font()
86 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[axesCount]); in Font()
87 std::copy(axesPtr, axesPtr + axesCount, mSupportedAxes.get()); in Font()
88 mSupportedAxesCount = axesCount; in Font()
104 uint16_t axesCount = parent->mSupportedAxesCount; in Font() local
107 std::copy(axesPtr, axesPtr + axesCount, mSupportedAxes.get()); in Font()
DFontFamily.cpp178 const auto& [axesPtr, axesCount] = reader->readArray<AxisTag>(); in FontFamily()
179 mSupportedAxesCount = axesCount; in FontFamily()
180 if (axesCount > 0) { in FontFamily()
181 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[axesCount]); in FontFamily()
182 std::copy(axesPtr, axesPtr + axesCount, mSupportedAxes.get()); in FontFamily()
363 const uint16_t axesCount = mFonts[i]->getSupportedAxesCount(); in computeCoverage() local
364 if (axesCount != 0) { in computeCoverage()
366 supportedAxesSet.insert(axesPtr, axesPtr + axesCount); in computeCoverage()
DFontCollection.cpp228 const auto& [axesPtr, axesCount] = reader->readArray<AxisTag>(); in FontCollection()
229 mSupportedAxesCount = axesCount; in FontCollection()
230 if (axesCount > 0) { in FontCollection()
231 mSupportedAxes = std::unique_ptr<AxisTag[]>(new AxisTag[axesCount]); in FontCollection()
232 std::copy(axesPtr, axesPtr + axesCount, mSupportedAxes.get()); in FontCollection()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp225 uint32_t axesCount; in create() local
226 std::tie(axesPtr, axesCount) = reader.readArray<minikin::FontVariation>(); in create()
258 std::vector<minikin::FontVariation> axes(axesPtr, axesPtr + axesCount); in create()