Searched refs:baseTypeface (Results 1 – 11 of 11) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | FontTest.cpp | 44 EXPECT_EQ(minikinFont->GetFontPath(), font.baseTypeface()->GetFontPath()); in TEST() 52 const auto& typeface = font.baseTypeface(); in TEST() 54 EXPECT_EQ(typeface, font.baseTypeface()); in TEST() 78 std::shared_ptr<MinikinFont> typeface = moveFrom.baseTypeface(); in TEST() 81 EXPECT_EQ(typeface, moveTo.baseTypeface()); in TEST() 109 std::shared_ptr<MinikinFont> typeface = moveFrom.baseTypeface(); in TEST() 114 EXPECT_EQ(typeface, moveTo.baseTypeface()); in TEST() 123 moveTo.baseTypeface(); in TEST() 133 std::shared_ptr<MinikinFont> typeface = moveFrom.baseTypeface(); in TEST() 136 moveTo.baseTypeface(); in TEST() [all …]
|
D | SystemFontsTest.cpp | 108 fontPaths.insert(getBasename(font->baseTypeface()->GetFontPath())); in TEST()
|
D | FontFamilyTest.cpp | 869 if (dummyFonts[i].get() == closest.font->baseTypeface().get()) { in TEST_F()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | TextAnimator.kt | 41 fun createVariantTypeface(baseTypeface: Typeface, fVar: String?): Typeface { in getTypefaceForVariant() 43 return baseTypeface in getTypefaceForVariant() 49 axes.removeIf { !baseTypeface.isSupportedAxes(it.getOpenTypeTagValue()) } in getTypefaceForVariant() 51 return baseTypeface in getTypefaceForVariant() 53 return Typeface.createFromTypefaceWithVariation(baseTypeface, axes) in getTypefaceForVariant() 59 var baseTypeface: Typeface, variable in com.android.systemui.animation.TypefaceVariantCacheImpl 64 return baseTypeface in getTypefaceForVariant() 70 return TypefaceVariantCache.createVariantTypeface(baseTypeface, fvar).also { in getTypefaceForVariant()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 128 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->baseTypeface().get()); in Font_Builder_clone() 160 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->baseTypeface().get()); in Font_getGlyphBounds() 180 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->baseTypeface().get()); in Font_getFontMetrics() 210 const std::shared_ptr<minikin::MinikinFont>& minikinFont = font->font->baseTypeface(); in Font_newByteBuffer() 218 return reinterpret_cast<jlong>(font->font->baseTypeface()->GetFontData()); in Font_getBufferAddress() 237 const std::shared_ptr<minikin::MinikinFont>& minikinFont = font->font->baseTypeface(); in Font_getFontPath() 276 const std::shared_ptr<minikin::MinikinFont>& minikinFont = font->font->baseTypeface(); in Font_getIndex() 290 const std::shared_ptr<minikin::MinikinFont>& minikinFont = font->font->baseTypeface(); in Font_getAxisCount() 305 const std::shared_ptr<minikin::MinikinFont>& minikinFont = font->font->baseTypeface(); in Font_getAxisInfo() 315 return font->font->baseTypeface()->GetSourceId(); in Font_getSourceId()
|
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 113 parent->baseTypeface()->createFontWithVariation(axes); in Font() 120 parent->baseTypeface()->createFontWithVariation(axes); in Font() 131 MinikinFontFactory::getInstance().write(writer, baseTypeface().get()); in writeTo() 172 const std::shared_ptr<MinikinFont>& Font::baseTypeface() const { in baseTypeface() function in minikin::Font
|
D | FontFamily.cpp | 435 minikinFont = font->baseTypeface()->createFontWithVariation(variations); in createFamilyWithVariation()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 252 for (const auto& [tag, value] : font->baseTypeface()->GetAxes()) { in ASystemFontIterator_open() 256 fonts.insert({font->baseTypeface()->GetFontPath(), std::move(locale), in ASystemFontIterator_open() 259 static_cast<uint32_t>(font->baseTypeface()->GetFontIndex()), in ASystemFontIterator_open() 325 reinterpret_cast<android::MinikinFontSkia*>(font->baseTypeface().get()); in AFontMatcher_match()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 186 … Typeface::resolveDefault(nullptr)->fFontCollection->getFamilyAt(0)->getFont(0)->baseTypeface(); in defaultFont()
|
/frameworks/minikin/include/minikin/ |
D | Font.h | 165 const std::shared_ptr<MinikinFont>& baseTypeface() const;
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.cpp | 81 const minikin::MinikinFont* minikinFont = font.baseTypeface().get(); in drawGlyphs()
|