/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontCustomizationParser.java | 88 private static Map<String, FontFamily> validateAndTransformToMap(List<FontFamily> families) { in validateAndTransformToMap() argument 90 for (int i = 0; i < families.size(); ++i) { in validateAndTransformToMap() 91 final FontFamily family = families.get(i); in validateAndTransformToMap() 109 List<FontFamily> families = new ArrayList<>(); in readFamilies() local 116 readFamily(parser, fontDir, families, updatableFontMap); in readFamilies() 123 return new Result(validateAndTransformToMap(families), aliases); in readFamilies()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerShellCommand.java | 159 List<FontConfig.FontFamily> families = fontConfig.getFontFamilies(); in dumpFontConfig() local 163 for (int i = 0; i < families.size(); ++i) { in dumpFontConfig() 164 final FontConfig.FontFamily family = families.get(i); in dumpFontConfig() 183 for (int i = 0; i < families.size(); ++i) { in dumpFontConfig() 184 final FontConfig.FontFamily family = families.get(i); in dumpFontConfig() 232 @NonNull FontFamily[] families) { in dumpFallback() argument 233 for (FontFamily family : families) { in dumpFallback() 315 FontFamily[] families = fallbackMap.get(nextArg); in dump() local 316 if (families == null) { in dump() 319 dumpFallback(writer, families); in dump()
|
D | UpdatableFontDir.java | 543 List<FontUpdateRequest.Family> families = persistentConfig.fontFamilies; in getSystemFontConfig() local 546 new ArrayList<>(config.getFontFamilies().size() + families.size()); in getSystemFontConfig() 553 for (int i = 0; i < families.size(); ++i) { in getSystemFontConfig() 554 FontConfig.FontFamily family = resolveFontFiles(families.get(i)); in getSystemFontConfig()
|
/frameworks/minikin/tests/unittest/ |
D | LayoutCoreTest.cpp | 37 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()
|
D | FontCollectionItemizeTest.cpp | 740 std::vector<std::shared_ptr<FontFamily>> families; in TEST() local 741 families.push_back(buildFontFamily(kLatinFont)); in TEST() 742 families.push_back(buildFontFamily(kVSTestFont)); in TEST() 744 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() 933 std::vector<std::shared_ptr<FontFamily>> families; in TEST() local 943 families.push_back(firstFamily); in TEST() 958 families.push_back(family); in TEST() 961 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() 1525 std::vector<std::shared_ptr<FontFamily>> families = {dummyFamily, familyA, familyB}; in TEST() local 1528 std::shared_ptr<FontCollection> collection(new FontCollection(families)); in TEST() [all …]
|
D | FontCollectionTest.cpp | 206 std::vector<std::shared_ptr<FontFamily>> families = {buildFontFamily(kVsTestFont)}; in TEST() local 207 auto fc1 = std::make_shared<FontCollection>(families); in TEST() 208 auto fc2 = std::make_shared<FontCollection>(families); in TEST()
|
D | GreedyLineBreakerTest.cpp | 77 std::vector<std::shared_ptr<FontFamily>> families = {family1, family2}; in doLineBreak() local 78 auto fc = std::make_shared<FontCollection>(families); in doLineBreak() 100 std::vector<std::shared_ptr<FontFamily>> families = {family1}; in TEST_F() local 101 auto fc = std::make_shared<FontCollection>(families); in TEST_F()
|
D | OptimalLineBreakerTest.cpp | 73 std::vector<std::shared_ptr<FontFamily>> families = {family1, family2}; in doLineBreak() local 74 auto fc = std::make_shared<FontCollection>(families); in doLineBreak() 1849 std::vector<std::shared_ptr<FontFamily>> families = {family1}; in TEST_F() local 1850 auto fc = std::make_shared<FontCollection>(families); in TEST_F()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 1102 private static Typeface createFromFamilies(android.graphics.FontFamily[] families) { 1103 long[] ptrArray = new long[families.length]; 1104 for (int i = 0; i < families.length; i++) { 1105 ptrArray[i] = families[i].mNativePtr; 1117 private static Typeface createFromFamilies(@Nullable FontFamily[] families) { 1118 final long[] ptrArray = new long[families.length]; 1119 for (int i = 0; i < families.length; ++i) { 1120 ptrArray[i] = families[i].getNativePtr(); 1134 android.graphics.FontFamily[] families, int weight, int italic) { 1135 return createFromFamiliesWithDefault(families, DEFAULT_FAMILY, weight, italic); [all …]
|
D | FontListParser.java | 150 List<FontConfig.FontFamily> families = new ArrayList<>(); in readFamilies() local 170 families.add(family); in readFamilies() 179 families.addAll(oemNamedFamilies.values()); in readFamilies() 183 for (int i = 0; i < families.size(); ++i) { in readFamilies() 184 String name = families.get(i).getName(); in readFamilies() 197 return new FontConfig(families, filtered, lastModifiedDate, configVersion); in readFamilies()
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 127 Typeface* Typeface::createFromFamilies(std::vector<std::shared_ptr<minikin::FontFamily>>&& families, in createFromFamilies() argument 130 result->fFontCollection.reset(new minikin::FontCollection(families)); in createFromFamilies() 138 families.empty() in createFromFamilies() 140 : families[0]->getClosestMatch(defaultStyle).font->typeface().get(); in createFromFamilies()
|
D | Typeface.h | 81 std::vector<std::shared_ptr<minikin::FontFamily>>&& families, int weight, int italic);
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 36 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/ |
D | FontTestUtils.cpp | 54 std::vector<std::shared_ptr<FontFamily>> families; in getFontFamilies() local 115 families.push_back(family); in getFontFamilies() 118 return families; in getFontFamilies()
|
/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 188 const std::vector<std::shared_ptr<FontFamily>>& families) { in FontCollection() argument 195 if (index >= families.size()) { in FontCollection() 198 mFamilies.push_back(families[index]); in FontCollection() 199 if (families[index]->hasVSTable()) { in FontCollection() 200 mVSFamilyVec.push_back(families[index]); in FontCollection() 739 std::vector<std::shared_ptr<FontFamily>> families; in createCollectionWithVariation() local 743 families.push_back(newFamily); in createCollectionWithVariation() 745 families.push_back(family); in createCollectionWithVariation() 749 return std::shared_ptr<FontCollection>(new FontCollection(families)); in createCollectionWithVariation()
|
/frameworks/base/libs/hwui/jni/ |
D | Typeface.cpp | 108 ScopedLongArrayRO families(env, familyArray); in Typeface_createFromArray() local 114 familyVec.reserve(families.size() + fallbackFamilies.size()); in Typeface_createFromArray() 115 for (size_t i = 0; i < families.size(); i++) { in Typeface_createFromArray() 116 FontFamilyWrapper* family = reinterpret_cast<FontFamilyWrapper*>(families[i]); in Typeface_createFromArray() 123 familyVec.reserve(families.size()); in Typeface_createFromArray() 124 for (size_t i = 0; i < families.size(); i++) { in Typeface_createFromArray() 125 FontFamilyWrapper* family = reinterpret_cast<FontFamilyWrapper*>(families[i]); in Typeface_createFromArray()
|
/frameworks/base/core/java/android/text/ |
D | FontConfig.java | 69 public FontConfig(@NonNull List<FontFamily> families, @NonNull List<Alias> aliases, in FontConfig() argument 71 mFamilies = families; in FontConfig() 145 List<FontFamily> families = source.readParcelableList(new ArrayList<>(), 151 return new FontConfig(families, aliases, lastModifiedDate, configVersion);
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontListParserTest.java | 373 List<FontConfig.FontFamily> families = config.getFontFamilies(); in ignore() local 374 assertThat(families.size()).isEqualTo(2); // legacy one should be ignored. in ignore() 375 assertThat(families.get(1).getFontList().get(0).getFile().getName()) in ignore()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | TypefaceTests.cpp | 424 std::vector<std::shared_ptr<minikin::FontFamily>> families = { in TEST() local 428 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST() 434 std::vector<std::shared_ptr<minikin::FontFamily>> families = { in TEST() local 437 std::move(families), RESOLVE_BY_FONT_TABLE, RESOLVE_BY_FONT_TABLE)); in TEST()
|
/frameworks/base/tools/fonts/ |
D | fontchain_linter.py | 236 families = tree.findall('family') 240 assert len(families) < 254, ( 242 for family in families: 260 for family in families:
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | PinStorage.java | 963 int[] families = { in isPinState() local 967 for (int i = 0; i < families.length; i++) { in isPinState()
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 373 // Radio access families
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 5539 // families.
|