Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/fonts/
DFontFamily.java262 private static final int TAG_wght = 0x77676874; // w(0x77), g(0x67), h(0x68), t(0x74) field in FontFamily.Builder
275 if (supportedAxes.contains(TAG_wght)) { in analyzeAndResolveVariableType()
289 if (!supportedAxes.contains(TAG_wght)) { in analyzeAndResolveVariableType()
/frameworks/minikin/include/minikin/
DConstants.h35 const uint32_t TAG_wght = MakeTag('w', 'g', 'h', 't'); variable
/frameworks/minikin/libs/minikin/
DFont.cpp287 if (wght != -1 && variation.axisTag == TAG_wght) { in getAdjustedFont()
296 variations.push_back({TAG_wght, static_cast<float>(wght)}); in getAdjustedFont()
328 if (wght != -1 && variation.axisTag == TAG_wght) { in getAdjustedTypeface()
337 variations.push_back({TAG_wght, static_cast<float>(wght)}); in getAdjustedTypeface()
/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()
279 EXPECT_EQ(TAG_wght, axes[0].axisTag); in TEST()
291 EXPECT_EQ(TAG_wght, axes[0].axisTag); in TEST()