Home
last modified time | relevance | path

Searched refs:families (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DTypeface.java1023 private static Typeface createFromFamilies(android.graphics.FontFamily[] families) {
1024 long[] ptrArray = new long[families.length];
1025 for (int i = 0; i < families.length; i++) {
1026 ptrArray[i] = families[i].mNativePtr;
1037 private static Typeface createFromFamilies(@Nullable FontFamily[] families) {
1038 final long[] ptrArray = new long[families.length];
1039 for (int i = 0; i < families.length; ++i) {
1040 ptrArray[i] = families[i].getNativePtr();
1054 android.graphics.FontFamily[] families, int weight, int italic) {
1055 return createFromFamiliesWithDefault(families, DEFAULT_FAMILY, weight, italic);
[all …]
DFontListParser.java63 List<FontConfig.Family> families = new ArrayList<>(); in readFamilies() local
71 families.add(readFamily(parser, fontDir)); in readFamilies()
78 return new FontConfig(families.toArray(new FontConfig.Family[families.size()]), in readFamilies()
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp100 ScopedLongArrayRO families(env, familyArray); in Typeface_createFromArray() local
102 familyVec.reserve(families.size()); in Typeface_createFromArray()
103 for (size_t i = 0; i < families.size(); i++) { in Typeface_createFromArray()
104 FontFamilyWrapper* family = reinterpret_cast<FontFamilyWrapper*>(families[i]); in Typeface_createFromArray()
/frameworks/minikin/tests/unittest/
DLayoutCoreTest.cpp37 std::vector<std::shared_ptr<FontFamily>> families; in buildLayout() local
39 families.push_back(buildFontFamily(fontPath)); in buildLayout()
41 auto fc = std::make_shared<FontCollection>(families); in buildLayout()
49 std::vector<std::shared_ptr<FontFamily>> families; in buildLayout() local
51 families.push_back(buildFontFamily(fontPath)); in buildLayout()
53 auto fc = std::make_shared<FontCollection>(families); in buildLayout()
DFontCollectionItemizeTest.cpp731 std::vector<std::shared_ptr<FontFamily>> families; in TEST() local
732 families.push_back(buildFontFamily(kLatinFont)); in TEST()
733 families.push_back(buildFontFamily(kVSTestFont)); in TEST()
735 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST()
924 std::vector<std::shared_ptr<FontFamily>> families; in TEST() local
934 families.push_back(firstFamily); in TEST()
949 families.push_back(family); in TEST()
952 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST()
1515 std::vector<std::shared_ptr<FontFamily>> families = {dummyFamily, familyA, familyB}; in TEST() local
1518 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST()
[all …]
DGreedyLineBreakerTest.cpp77 std::vector<std::shared_ptr<FontFamily>> families = {family1, family2}; in doLineBreak() local
78 auto fc = std::make_shared<FontCollection>(families); in doLineBreak()
DOptimalLineBreakerTest.cpp78 std::vector<std::shared_ptr<FontFamily>> families = {family1, family2}; in doLineBreak() local
79 auto fc = std::make_shared<FontCollection>(families); in doLineBreak()
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp125 Typeface* Typeface::createFromFamilies(std::vector<std::shared_ptr<minikin::FontFamily>>&& families, in createFromFamilies() argument
128 result->fFontCollection.reset(new minikin::FontCollection(families)); in createFromFamilies()
136 families.empty() in createFromFamilies()
138 : families[0]->getClosestMatch(defaultStyle).font->typeface().get(); in createFromFamilies()
DTypeface.h78 std::vector<std::shared_ptr<minikin::FontFamily>>&& families, int weight, int italic);
/frameworks/minikin/tests/perftests/
DFontCollection.cpp36 std::vector<std::shared_ptr<FontFamily>> families = in BM_FontCollection_construct() local
39 std::make_shared<FontCollection>(families); in BM_FontCollection_construct()
/frameworks/minikin/tests/util/
DFontTestUtils.cpp54 std::vector<std::shared_ptr<FontFamily>> families; in getFontFamilies() local
115 families.push_back(family); in getFontFamilies()
118 return families; in getFontFamilies()
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java78 final FontFamily[] families = sSystemFallbackMap.get(familyName); in getSystemFallback() local
79 return families == null ? sSystemFallbackMap.get(DEFAULT_FAMILY) : families; in getSystemFallback()
282 final FontFamily[] families = familyList.toArray(new FontFamily[familyList.size()]); in buildSystemFallback() local
284 fallbackMap.put(fallbackName, families); in buildSystemFallback()
/frameworks/base/core/java/android/text/
DFontConfig.java39 public FontConfig(@NonNull Family[] families, @NonNull Alias[] aliases) { in FontConfig() argument
40 mFamilies = families; in FontConfig()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp503 std::vector<std::shared_ptr<FontFamily>> families; in createCollectionWithVariation() local
507 families.push_back(newFamily); in createCollectionWithVariation()
509 families.push_back(family); in createCollectionWithVariation()
513 return std::shared_ptr<FontCollection>(new FontCollection(families)); in createCollectionWithVariation()
/frameworks/base/tools/fonts/
Dfontchain_linter.py218 families = tree.findall('family')
222 assert len(families) < 254, (
224 for family in families:
239 for family in families:
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp422 std::vector<std::shared_ptr<minikin::FontFamily>> families = { in TEST() local
426 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST()
432 std::vector<std::shared_ptr<minikin::FontFamily>> families = { in TEST() local
435 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto370 // Radio access families
/frameworks/native/vulkan/api/
Dvulkan.api3941 … queueFamilyIndexCount /// Number of queue families to share across
/frameworks/base/cmds/statsd/src/
Datoms.proto3374 // families.