Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DFontCollection.h79 struct FamilyMatchResult { struct
104 FamilyMatchResult build() { in build() argument
105 return FamilyMatchResult(mBits | (static_cast<uint64_t>(mSize) << 56)); in build()
128 friend struct FamilyMatchResult;
129 iterator(const FamilyMatchResult& result, uint32_t offset) in iterator() argument
131 const FamilyMatchResult& mResult; argument
136 FamilyMatchResult() : mBits(0) {} in FamilyMatchResult() argument
146 inline bool operator==(const FamilyMatchResult& o) const { return mBits == o.mBits; } argument
149 static FamilyMatchResult intersect(FamilyMatchResult l, FamilyMatchResult r);
155 FamilyMatchResult(const FamilyMatchResult& o) = default; argument
[all …]
/frameworks/minikin/libs/minikin/
DFontCollection.cpp337 FontCollection::FamilyMatchResult FontCollection::getFamilyForChar(uint32_t ch, uint32_t vs, in getFamilyForChar()
341 return FamilyMatchResult::Builder().add(0).build(); in getFamilyForChar()
351 FamilyMatchResult::Builder builder; in getFamilyForChar()
382 return FamilyMatchResult::Builder().add(0).build(); in getFamilyForChar()
460 FontCollection::FamilyMatchResult FontCollection::FamilyMatchResult::intersect( in intersect()
461 FontCollection::FamilyMatchResult l, FontCollection::FamilyMatchResult r) { in intersect()
468 FamilyMatchResult::Builder b; in intersect()
490 FamilyMatchResult lastFamilyIndices = FamilyMatchResult(); in itemize()
542 FamilyMatchResult familyIndices = getFamilyForChar( in itemize()
550 FamilyMatchResult intersection = in itemize()
[all …]
/frameworks/minikin/tests/unittest/
DFontCollectionTest.cpp238 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()
250 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()
269 auto b = FontCollection::FamilyMatchResult::Builder(); in TEST()
286 auto b = FontCollection::FamilyMatchResult::Builder(); in TEST()
301 using Builder = FontCollection::FamilyMatchResult::Builder; in TEST()
304 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()
308 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()
312 FontCollection::FamilyMatchResult::intersect(Builder().add(2).add(4).add(6).build(), in TEST()
316 FontCollection::FamilyMatchResult::intersect(Builder().add(1).add(2).add(3).build(), in TEST()