Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp135 std::vector<SkFontArguments::VariationPosition::Coordinate> skVariation; in createFontWithVariation() local
136 skVariation.resize(variations.size()); in createFontWithVariation()
138 skVariation[i].axis = variations[i].axisTag; in createFontWithVariation()
139 skVariation[i].value = SkFloatToScalar(variations[i].value); in createFontWithVariation()
141 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in createFontWithVariation()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp130 FatVector<SkFontArguments::VariationPosition::Coordinate, 2> skVariation; in Font_Builder_clone() local
132 skVariation.push_back({axis.axisTag, axis.value}); in Font_Builder_clone()
136 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in Font_Builder_clone()
450 FatVector<SkFontArguments::VariationPosition::Coordinate, 2> skVariation; in createMinikinFontSkia() local
452 skVariation.push_back({axis.axisTag, axis.value}); in createMinikinFontSkia()
459 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in createMinikinFontSkia()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp114 FatVector<SkFontArguments::VariationPosition::Coordinate, 2> skVariation; in addSkTypeface() local
116 skVariation.push_back({axis.axisTag, axis.value}); in addSkTypeface()
125 args.setVariationDesignPosition({skVariation.data(), static_cast<int>(skVariation.size())}); in addSkTypeface()