Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DFontVariation.h28 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation()
29 AxisTag axisTag; member
/frameworks/minikin/tests/unittest/
DFontTest.cpp241 EXPECT_EQ(TAG_wght, axes[0].axisTag); in TEST()
251 EXPECT_EQ(TAG_wght, axes[0].axisTag); in TEST()
260 EXPECT_EQ(TAG_ital, axes[0].axisTag); in TEST()
270 EXPECT_EQ(TAG_ital, axes[0].axisTag); in TEST()
279 EXPECT_EQ(TAG_wght, axes[0].axisTag); in TEST()
280 EXPECT_EQ(TAG_ital, axes[1].axisTag); in TEST()
291 EXPECT_EQ(TAG_wght, axes[0].axisTag); in TEST()
292 EXPECT_EQ(TAG_ital, axes[1].axisTag); in TEST()
312 EXPECT_EQ(MakeTag('w', 'g', 'h', 't'), overridden->baseTypeface()->GetAxes()[0].axisTag); in TEST()
/frameworks/minikin/libs/minikin/
DFont.cpp231 variations.push_back({variation.axisTag, variation.value}); in prepareFont()
287 if (wght != -1 && variation.axisTag == TAG_wght) { in getAdjustedFont()
289 } else if (ital != -1 && variation.axisTag == TAG_ital) { in getAdjustedFont()
292 variations.push_back({variation.axisTag, variation.value}); in getAdjustedFont()
328 if (wght != -1 && variation.axisTag == TAG_wght) { in getAdjustedTypeface()
330 } else if (ital != -1 && variation.axisTag == TAG_ital) { in getAdjustedTypeface()
333 variations.push_back({variation.axisTag, variation.value}); in getAdjustedTypeface()
DFontFamily.cpp77 if (axis.axisTag == parent->getSupportedAxisAt(i)) { in create()
114 if (font->isAxisSupported(axis.axisTag)) { in FontFamily()
411 variation.axisTag)) { in createFamilyWithVariation()
427 if (font->isAxisSupported(variation.axisTag)) { in createFamilyWithVariation()
DFontCollection.cpp899 variation.axisTag)) { in createCollectionWithVariation()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp134 skVariation.push_back({axis.axisTag, axis.value}); in Font_Builder_clone()
309 return (static_cast<uint64_t>(var.axisTag) << 32) | static_cast<uint64_t>(floatBinary); in Font_getAxisInfo()
454 skVariation.push_back({axis.axisTag, axis.value}); in createMinikinFontSkia()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp137 skVariation[i].axis = variations[i].axisTag; in createFontWithVariation()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp118 skVariation.push_back({axis.axisTag, axis.value}); in addSkTypeface()
/frameworks/base/native/android/
Dsystem_fonts.cpp333 result->mAxes.push_back(std::make_pair(axis.axisTag, axis.value)); in AFontMatcher_match()