HomeSort by relevance Sort by last modified time
    Searched refs:FontFamily (Results 1 - 25 of 55) sorted by null

1 2 3

  /frameworks/minikin/tests/perftests/
FontFamily.cpp 18 #include <minikin/FontFamily.h>
28 std::shared_ptr<FontFamily> family = std::make_shared<FontFamily>(
Android.mk 25 FontFamily.cpp \
  /frameworks/minikin/include/minikin/
FontCollection.h 25 #include <minikin/FontFamily.h>
31 explicit FontCollection(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
32 explicit FontCollection(std::shared_ptr<FontFamily>&& typeface);
77 void init(const std::vector<std::shared_ptr<FontFamily>>& typefaces);
79 const std::shared_ptr<FontFamily>& getFamilyForChar(uint32_t ch, uint32_t vs,
83 const std::shared_ptr<FontFamily>& fontFamily) const;
86 const std::shared_ptr<FontFamily>& fontFamily) const;
89 const FontFamily& fontFamily)
    [all...]
FontFamily.h 123 class FontFamily {
125 explicit FontFamily(std::vector<Font>&& fonts);
126 FontFamily(int variant, std::vector<Font>&& fonts);
127 FontFamily(uint32_t langId, int variant, std::vector<Font>&& fonts);
156 // Creates new FontFamily based on this family while applying font variations. Returns nullptr
158 std::shared_ptr<FontFamily> createFamilyWithVariation(
173 FontFamily(const FontFamily&) = delete;
174 void operator=(const FontFamily&) = delete;
  /frameworks/base/core/jni/android/graphics/
FontUtils.h 24 class FontFamily;
30 FontFamilyWrapper(std::shared_ptr<minikin::FontFamily>&& family) : family(family) {}
31 std::shared_ptr<minikin::FontFamily> family;
  /frameworks/base/rs/java/android/renderscript/
Font.java 63 private static class FontFamily {
71 private static Map<String, FontFamily> sFontFamilyMap;
95 private static void addFamilyToMap(FontFamily family) {
102 sFontFamilyMap = new HashMap<String, FontFamily>();
104 FontFamily sansFamily = new FontFamily();
112 FontFamily serifFamily = new FontFamily();
120 FontFamily monoFamily = new FontFamily();
    [all...]
  /frameworks/minikin/tests/util/
FontTestUtils.h 27 * Returns list of FontFamily from installed fonts.
33 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const char* fontDir, const char* fontXml);
39 * MinikinFontForTest is used for FontFamily creation.
FontTestUtils.cpp 27 #include <minikin/FontFamily.h>
31 std::vector<std::shared_ptr<FontFamily>> getFontFamilies(const char* fontDir, const char* fontXml) {
35 std::vector<std::shared_ptr<FontFamily>> families;
83 std::shared_ptr<FontFamily> family;
85 family = std::make_shared<FontFamily>(variant, std::move(fonts));
89 family = std::make_shared<FontFamily>(langId, variant, std::move(fonts));
  /frameworks/minikin/libs/minikin/
FontFamily.cpp 36 #include <minikin/FontFamily.h>
100 FontFamily::FontFamily(std::vector<Font>&& fonts) : FontFamily(0 /* variant */, std::move(fonts)) {
103 FontFamily::FontFamily(int variant, std::vector<Font>&& fonts)
104 : FontFamily(FontLanguageListCache::kEmptyListId, variant, std::move(fonts)) {
107 FontFamily::FontFamily(uint32_t langId, int variant, std::vector<Font>&& fonts)
112 bool FontFamily::analyzeStyle(const std::shared_ptr<MinikinFont>& typeface, int* weight
    [all...]
FontLanguageListCache.h 22 #include <minikin/FontFamily.h>
FontCollection.cpp 47 FontCollection::FontCollection(std::shared_ptr<FontFamily>&& typeface) : mMaxChar(0) {
48 std::vector<std::shared_ptr<FontFamily>> typefaces;
53 FontCollection::FontCollection(const vector<std::shared_ptr<FontFamily>>& typefaces) :
58 void FontCollection::init(const vector<std::shared_ptr<FontFamily>>& typefaces) {
68 const std::shared_ptr<FontFamily>& family = typefaces[i];
103 const std::shared_ptr<FontFamily>& family = mFamilies[j];
140 const std::shared_ptr<FontFamily>& fontFamily) const {
142 const uint32_t coverageScore = calcCoverageScore(ch, vs, fontFamily);
148 const uint32_t languageScore = calcLanguageMatchingScore(langListId, *fontFamily);
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Typeface.java 109 static FontFamily[] sFallbackFonts;
129 // Must be the same as the C++ constant in core/jni/android/graphics/FontFamily.cpp
174 FontFamily fontFamily = new FontFamily();
176 if (fontFamily.addFontFromAssetManager(mgr, path, cookie, false /* isAsset */,
179 if (!fontFamily.freeze()) {
182 FontFamily[] families = {fontFamily};
231 FontFamily fontFamily = new FontFamily()
    [all...]
FontFamily.java 35 public class FontFamily {
37 private static String TAG = "FontFamily";
47 public FontFamily() {
51 public FontFamily(String lang, int variant) {
56 * Finalize the FontFamily creation.
63 throw new IllegalStateException("This FontFamily is already frozen");
72 throw new IllegalStateException("This FontFamily is already frozen or abandoned");
154 * Allow creating unsupported FontFamily.
156 * For compatibility reasons, we still need to create a FontFamily object even if Minikin failed
160 * freeze() won't fail and will create an empty FontFamily. This empty FontFamily is placed a
    [all...]
  /frameworks/minikin/tests/unittest/
FontCollectionTest.cpp 61 std::shared_ptr<FontFamily> family(new FontFamily(
63 std::vector<std::shared_ptr<FontFamily>> families({ family });
133 std::shared_ptr<FontFamily> multiAxisFamily(new FontFamily(
135 std::vector<std::shared_ptr<FontFamily>> multiAxisFamilies({multiAxisFamily});
139 std::shared_ptr<FontFamily> noAxisFamily(new FontFamily(
141 std::vector<std::shared_ptr<FontFamily>> noAxisFamilies({noAxisFamily});
FontFamilyTest.cpp 17 #include <minikin/FontFamily.h>
48 std::shared_ptr<FontFamily> makeFamily(const std::string& fontPath) {
50 return std::make_shared<FontFamily>(
520 void expectVSGlyphs(FontFamily* family, uint32_t codepoint, const std::set<uint32_t>& vs) {
539 std::shared_ptr<FontFamily> family(
540 new FontFamily(std::vector<Font>{ Font(minikinFont, FontStyle()) }));
591 std::shared_ptr<FontFamily> family(new FontFamily(
602 std::shared_ptr<FontFamily> multiAxisFamily = makeFamily(kMultiAxisFont);
603 std::shared_ptr<FontFamily> noAxisFamily = makeFamily(kNoAxisFont)
    [all...]
FontLanguageListCacheTest.cpp 19 #include <minikin/FontFamily.h>
  /frameworks/minikin/tests/stresstest/
FontFamilyTest.cpp 37 std::shared_ptr<FontFamily> family =
38 std::make_shared<FontFamily>(std::vector<Font>({Font(font, FontStyle())}));
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusheaders.h 5 * FontFamily, Image, InstalledFontCollection, PrivateFontCollection,
45 class FontFamily;
333 Font(const FontFamily *family, REAL emSize,
347 Status GetFamily(FontFamily *family) const;
386 friend class FontFamily;
392 Status GetFamilies(INT numSought, FontFamily *families,
414 class FontFamily: public GdiplusBase
421 static const FontFamily* GenericMonospace();
422 static const FontFamily* GenericSansSerif();
423 static const FontFamily* GenericSerif()
    [all...]
gdiplusimpl.h 4 * GDI+ Bitmap, CachedBitmap, CustomLineCap, Font, FontCollection, FontFamily,
744 __inline__ Font::Font(const FontFamily *family,
825 __inline__ Status Font::GetFamily(FontFamily *family) const
896 FontFamily *families, INT *numFound) const
942 // FontFamily
944 // FIXME: do FontFamily::GenericMonospace() et al. need to be thread safe?
951 __inline__ const FontFamily* FontFamily::GenericMonospace()
959 new FontFamily(nativeFontFamily, Ok);
962 return (FontFamily*) _GdipFontFamilyCachedGenericMonospace
    [all...]
  /external/skia/tests/
FontMgrAndroidParserTest.cpp 19 int CountFallbacks(SkTDArray<FontFamily*> fontFamilies) {
39 void ValidateLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* firstExpectedFile,
60 FontFamily& family = *fontFamilies[i];
70 void DumpLoadedFonts(SkTDArray<FontFamily*> fontFamilies, const char* label) {
159 SkTDArray<FontFamily*> preV17FontFamilies;
177 SkTDArray<FontFamily*> v17FontFamilies;
196 SkTDArray<FontFamily*> v22FontFamilies;
  /external/skia/src/ports/
SkFontMgr_android_parser.h 86 struct FontFamily {
87 FontFamily(const SkString& basePath, bool isFallbackFont)
106 void GetSystemFontFamilies(SkTDArray<FontFamily*>& fontFamilies);
109 void GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies,
SkFontMgr_android_parser.cpp 88 FamilyData(XML_Parser parser, SkTDArray<FontFamily*>& families,
105 SkTDArray<FontFamily*>& fFamilies; // The array to append families, owned by caller
106 std::unique_ptr<FontFamily> fCurrentFamily; // The family being created, owned by this
255 FontFamily* family = new FontFamily(self->fBasePath, true);
290 static FontFamily* find_family(FamilyData* self, const SkString& familyName) {
292 FontFamily* candidate = self->fFamilies[i];
331 FontFamily* targetFamily = find_family(self, to);
338 FontFamily* family = new FontFamily(targetFamily->fBasePath, self->fIsFallback)
    [all...]
  /frameworks/base/libs/hwui/hwui/
Typeface.h 78 std::vector<std::shared_ptr<minikin::FontFamily>>&& families,
Paint.h 25 #include <minikin/FontFamily.h>
Typeface.cpp 36 #include <minikin/FontFamily.h>
133 std::vector<std::shared_ptr<minikin::FontFamily>>&& families,
193 std::shared_ptr<minikin::FontFamily> family = std::make_shared<minikin::FontFamily>(

Completed in 739 milliseconds

1 2 3