Home
last modified time | relevance | path

Searched refs:skVariation (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp134 std::vector<SkFontArguments::VariationPosition::Coordinate> skVariation; in createFontWithVariation() local
135 skVariation.resize(variations.size()); in createFontWithVariation()
137 skVariation[i].axis = variations[i].axisTag; in createFontWithVariation()
138 skVariation[i].value = SkFloatToScalar(variations[i].value); in createFontWithVariation()
140 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in createFontWithVariation()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp116 FatVector<SkFontArguments::VariationPosition::Coordinate, 2> skVariation; in addSkTypeface() local
118 skVariation.push_back({axis.axisTag, axis.value}); in addSkTypeface()
127 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in addSkTypeface()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp132 FatVector<SkFontArguments::VariationPosition::Coordinate, 2> skVariation; in Font_Builder_clone() local
134 skVariation.push_back({axis.axisTag, axis.value}); in Font_Builder_clone()
138 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in Font_Builder_clone()
452 FatVector<SkFontArguments::VariationPosition::Coordinate, 2> skVariation; in createMinikinFontSkia() local
454 skVariation.push_back({axis.axisTag, axis.value}); in createMinikinFontSkia()
461 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in createMinikinFontSkia()