/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFamily.java | 69 private final ArrayList<Font> mFonts = new ArrayList<>(); field in FontFamily.Builder 80 mFonts.add(font); in Builder() 102 mFonts.add(font); in addFont() 118 for (int i = 0; i < mFonts.size(); ++i) { in build() 119 nAddFont(builderPtr, mFonts.get(i).getNativePtr()); in build() 122 final FontFamily family = new FontFamily(mFonts, ptr); in build() 140 private final ArrayList<Font> mFonts; field in FontFamily 145 mFonts = fonts; in FontFamily() 156 return mFonts.get(index); in getFont() 165 return mFonts.size(); in getSize()
|
/frameworks/minikin/include/minikin/ |
D | FontFamily.h | 47 size_t getNumFonts() const { return mFonts.size(); } in getNumFonts() 48 const Font* getFont(size_t index) const { return &mFonts[index]; } in getFont() 49 FontStyle getStyle(size_t index) const { return mFonts[index].style(); } in getStyle() 74 std::vector<Font> mFonts; variable
|
D | LayoutCore.h | 58 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts() 62 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt() 85 std::vector<FakedFont> mFonts; variable
|
/frameworks/layoutlib/bridge/src/android/graphics/fonts/ |
D | FontFamily_Builder_Delegate.java | 61 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); field in FontFamily_Builder_Delegate 120 Font cachedFont = mFonts.get(desiredStyle); 127 if (mFonts.size() == 1) { 129 bestFont = mFonts.keySet().iterator().next(); 133 for (FontInfo font : mFonts.keySet()) { 180 mFonts.putIfAbsent(fontInfo, fontInfo.mFont);
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 118 mFonts(std::move(fonts)), in FontFamily() 122 MINIKIN_ASSERT(!mFonts.empty(), "FontFamily must contain at least one font."); in FontFamily() 147 const Font* bestFont = &mFonts[0]; in getClosestMatch() 149 for (size_t i = 1; i < mFonts.size(); i++) { in getClosestMatch() 150 const Font& font = mFonts[i]; in getClosestMatch() 170 for (size_t i = 0; i < mFonts.size(); ++i) { in computeCoverage() 171 std::unordered_set<AxisTag> supportedAxes = mFonts[i].getSupportedAxes(); in computeCoverage() 220 for (const Font& font : mFonts) { in createFamilyWithVariation()
|
D | LayoutCore.cpp | 392 font_ix = mFonts.size(); in LayoutPiece() 393 mFonts.push_back(fakedFont); in LayoutPiece()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 183 private final @NonNull Font[] mFonts; field in FontConfig.Family 226 mFonts = fonts; in Family() 244 return mFonts; in getFonts()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 144 private Map<FontInfo, Font> mFonts = new LinkedHashMap<>(); field in FontFamily_Delegate 213 Font cachedFont = mFonts.get(desiredStyle); in getFont() 220 if (mFonts.size() == 1) { in getFont() 222 bestFont = mFonts.keySet().iterator().next(); in getFont() 226 for (FontInfo font : mFonts.keySet()) { in getFont() 511 return mFonts.putIfAbsent(fontInfo, fontInfo.mFont) == null;
|
D | Paint_Delegate.java | 86 private List<FontInfo> mFonts; field in Paint_Delegate 139 if (mFonts != null) { in getFonts() 140 return mFonts; in getFonts() 153 mFonts = Collections.unmodifiableList(infoList); in getFonts() 155 return mFonts; in getFonts() 1304 mFonts = null; in invalidateFonts()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 292 private final FontInfo[] mFonts; field in FontsContract.FontFamilyResult 297 mFonts = fonts; in FontFamilyResult() 305 return mFonts; in getFonts()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 22781 Landroid/graphics/Typeface$Builder;->mFonts:[Landroid/provider/FontsContract$FontInfo; 60035 Landroid/provider/FontsContract$FontFamilyResult;->mFonts:[Landroid/provider/FontsContract$FontInfo; 75060 Landroid/text/FontConfig$Family;->mFonts:[Landroid/text/FontConfig$Font;
|