Home
last modified time | relevance | path

Searched refs:FamilyMatchResult (Results 1 – 3 of 3) sorted by relevance

/frameworks/minikin/include/minikin/
DFontCollection.h68 struct FamilyMatchResult { struct
93 FamilyMatchResult build() { in build() argument
94 return FamilyMatchResult(mBits | (static_cast<uint64_t>(mSize) << 56)); in build()
117 friend struct FamilyMatchResult;
118 iterator(const FamilyMatchResult& result, uint32_t offset) in iterator() argument
120 const FamilyMatchResult& mResult; argument
125 FamilyMatchResult() : mBits(0) {} in FamilyMatchResult() function
135 inline bool operator==(const FamilyMatchResult& o) const { return mBits == o.mBits; } argument
138 static FamilyMatchResult intersect(FamilyMatchResult l, FamilyMatchResult r);
144 FamilyMatchResult(const FamilyMatchResult& o) = default; argument
[all …]
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp253 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()
265 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()
284 auto b = FontCollection::FamilyMatchResult::Builder(); in TEST()
301 auto b = FontCollection::FamilyMatchResult::Builder(); in TEST()
316 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()
319 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()
323 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()
327 FontCollection::FamilyMatchResult::intersect(Builder().add(2).add(4).add(6).build(), in TEST()
331 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()
/frameworks/minikin/libs/minikin/
DFontCollection.cpp465 FontCollection::FamilyMatchResult FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar()
469 return FamilyMatchResult::Builder().add(0).build(); in getFamilyForChar()
479 FamilyMatchResult::Builder builder; in getFamilyForChar()
510 return FamilyMatchResult::Builder().add(0).build(); in getFamilyForChar()
589 FontCollection::FamilyMatchResult FontCollection::FamilyMatchResult::intersect( in intersect()
590 FontCollection::FamilyMatchResult l, FontCollection::FamilyMatchResult r) { in intersect()
597 FamilyMatchResult::Builder b; in intersect()
719 FamilyMatchResult lastFamilyIndices = FamilyMatchResult(); in itemize()
771 FamilyMatchResult familyIndices = getFamilyForChar( in itemize()
779 FamilyMatchResult intersection = in itemize()
[all …]