Searched refs:axisTag (Results 1 – 9 of 9) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | FontVariation.h | 28 FontVariation(AxisTag axisTag, float value) : axisTag(axisTag), value(value) {} in FontVariation() 29 AxisTag axisTag; member
|
/frameworks/minikin/tests/unittest/ |
D | FontTest.cpp | 241 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/ |
D | Font.cpp | 231 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()
|
D | FontFamily.cpp | 77 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()
|
D | FontCollection.cpp | 899 variation.axisTag)) { in createCollectionWithVariation()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 134 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/ |
D | MinikinSkia.cpp | 137 skVariation[i].axis = variations[i].axisTag; in createFontWithVariation()
|
/frameworks/base/libs/hwui/jni/ |
D | FontFamily.cpp | 118 skVariation.push_back({axis.axisTag, axis.value}); in addSkTypeface()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 333 result->mAxes.push_back(std::make_pair(axis.axisTag, axis.value)); in AFontMatcher_match()
|