Home
last modified time | relevance | path

Searched refs:mFamilies (Results 1 – 6 of 6) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontCollection.cpp85 mFamilies.push_back(family); // emplace_back would be better in init()
95 nTypefaces = mFamilies.size(); in init()
112 const std::shared_ptr<FontFamily>& family = mFamilies[j]; in init()
132 mFamilies.reserve(familiesCount); in FontCollection()
138 mFamilies.push_back(families[index]); in FontCollection()
156 writer->write<uint32_t>(mFamilies.size()); in writeTo()
157 for (const std::shared_ptr<FontFamily>& fontFamily : mFamilies) { in writeTo()
181 for (const std::shared_ptr<FontFamily>& fontFamily : fontCollection->mFamilies) { in collectAllFontFamilies()
247 if ((vs == 0 || hasVSGlyph) && (mFamilies[0] == fontFamily || fontFamily->isCustomFallback())) { in calcCoverageScore()
347 range = {0, static_cast<uint16_t>(mFamilies.size())}; in getFamilyForChar()
[all …]
/frameworks/base/core/java/android/text/
DFontConfig.java56 private final @NonNull List<FontFamily> mFamilies; field in FontConfig
71 mFamilies = families; in FontConfig()
84 return mFamilies; in getFontFamilies()
126 return mFamilies.toArray(new FontFamily[0]); in getFamilies()
136 dest.writeParcelableList(mFamilies, flags); in writeToParcel()
167 && Objects.equals(mFamilies, that.mFamilies) in equals()
173 return Objects.hash(mFamilies, mAliases, mLastModifiedTimeMillis, mConfigVersion); in hashCode()
179 + "mFamilies=" + mFamilies in toString()
/frameworks/minikin/include/minikin/
DFontCollection.h198 const std::vector<std::shared_ptr<FontFamily>>& getFamilies() const { return mFamilies; } in getFamilies()
253 std::vector<std::shared_ptr<FontFamily>> mFamilies; variable
/frameworks/base/graphics/java/android/graphics/
DTypeface.java778 private final ArrayList<FontFamily> mFamilies = new ArrayList<>(); field in Typeface.CustomFallbackBuilder
801 mFamilies.add(family); in CustomFallbackBuilder()
849 Preconditions.checkArgument(mFamilies.size() < getMaxCustomFallbackCount(), in addCustomFallback()
851 mFamilies.add(family); in addCustomFallback()
861 final int userFallbackSize = mFamilies.size();
865 ptrArray[i] = mFamilies.get(i).getNativePtr();
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp214 EXPECT_EQ(copied[0]->mFamilies[0], copied[1]->mFamilies[0]); in TEST()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59367 Landroid/text/FontConfig;->mFamilies:[Landroid/text/FontConfig$Family;