Home
last modified time | relevance | path

Searched refs:mFonts (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/graphics/fonts/
DFontFamilyUpdateRequest.java83 @NonNull private final List<Font> mFonts; field in FontFamilyUpdateRequest.FontFamily.Builder
95 mFonts = new ArrayList<>(fonts); in Builder()
104 mFonts.add(font); in addFont()
112 return new FontFamily(mName, mFonts); in build()
119 private final List<Font> mFonts; field in FontFamilyUpdateRequest.FontFamily
136 mFonts = fonts; in FontFamily()
152 return mFonts; in getFonts()
DFontUpdateRequest.java215 private final @NonNull List<Font> mFonts; field in FontUpdateRequest.Family
219 mFonts = fonts; in Family()
230 dest.writeParcelableList(mFonts, flags); in writeToParcel()
304 return mFonts; in getFonts()
312 return mName.equals(family.mName) && mFonts.equals(family.mFonts); in equals()
317 return Objects.hash(mName, mFonts); in hashCode()
322 return "Family{mName='" + mName + '\'' + ", mFonts=" + mFonts + '}'; in toString()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp93 : mFonts(), in FontFamily()
111 const auto& font = parent->mFonts[i]; in FontFamily()
123 mFonts = std::make_unique<std::shared_ptr<Font>[]>(overriddenFonts.size()); in FontFamily()
125 mFonts[i] = std::move(overriddenFonts[i]); in FontFamily()
136 : mFonts(std::make_unique<std::shared_ptr<Font>[]>(fonts.size())), in FontFamily()
157 mFonts[i] = std::move(fonts[i]); in FontFamily()
166 mFonts = std::make_unique<std::shared_ptr<Font>[]>(mFontsCount); in FontFamily()
171 mFonts[i] = std::shared_ptr<Font>(allFonts, &(*allFonts)[fontIndex]); in FontFamily()
310 Font* bestFont = mFonts[bestIndex].get(); in getClosestMatch()
313 Font* font = mFonts[i].get(); in getClosestMatch()
[all …]
DSystemFonts.cpp55 mFonts = std::move(result); in buildFontSetLocked()
DLayoutCore.cpp325 font_ix = mFonts.size(); in LayoutPiece()
326 mFonts.push_back(fakedFont); in LayoutPiece()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFamily.java83 private final ArrayList<Font> mFonts = new ArrayList<>(); field in FontFamily.Builder
97 mFonts.add(font); in Builder()
121 mFonts.add(font); in addFont()
158 int variableFamilyType = analyzeAndResolveVariableType(mFonts); in buildVariableFamily()
184 for (int i = 0; i < mFonts.size(); ++i) { in build()
185 nAddFont(builderPtr, mFonts.get(i).getNativePtr()); in build()
/frameworks/minikin/include/minikin/
DLayoutCore.h52 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts()
57 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt()
84 std::vector<FakedFont> mFonts; variable
DFontFamily.h69 const Font* getFont(size_t index) const { return mFonts[index].get(); } in getFont()
70 const std::shared_ptr<Font>& getFontRef(size_t index) const { return mFonts[index]; } in getFontRef()
71 FontStyle getStyle(size_t index) const { return mFonts[index]->style(); } in getStyle()
122 std::unique_ptr<std::shared_ptr<Font>[]> mFonts; variable
DSystemFonts.h82 if (!mFonts) { in getFontSetInternal()
85 func(mFonts.value()); in getFontSetInternal()
96 std::optional<std::vector<std::shared_ptr<Font>>> mFonts GUARDED_BY(mMutex);
/frameworks/base/graphics/java/android/graphics/text/
DPositionedGlyphs.java58 private final ArrayList<Font> mFonts; field in PositionedGlyphs
135 return mFonts.get(index); in getFont()
249 mFonts = new ArrayList<>(glyphCount); in PositionedGlyphs()
261 mFonts.add(prevFont); in PositionedGlyphs()
/frameworks/base/core/java/android/text/
DFontConfig.java580 private final @NonNull List<Font> mFonts; field in FontConfig.FontFamily
623 mFonts = fonts; in FontFamily()
634 return mFonts; in getFontList()
683 dest.writeTypedList(mFonts, flags); in writeToParcel()
714 return mFonts.toArray(new Font[0]); in getFonts()
733 && Objects.equals(mFonts, that.mFonts) in equals()
739 return Objects.hash(mFonts, mLocaleList, mVariant); in hashCode()
745 + "mFonts=" + mFonts in toString()
/frameworks/base/core/java/android/provider/
DFontsContract.java308 private final FontInfo[] mFonts; field in FontsContract.FontFamilyResult
313 mFonts = fonts; in FontFamilyResult()
321 return mFonts; in getFonts()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt18459 Landroid/graphics/Typeface$Builder;->mFonts:[Landroid/provider/FontsContract$FontInfo;
41362 Landroid/provider/FontsContract$FontFamilyResult;->mFonts:[Landroid/provider/FontsContract$FontInfo;
55379 Landroid/text/FontConfig$Family;->mFonts:[Landroid/text/FontConfig$Font;