Home
last modified time | relevance | path

Searched refs:ShadowText (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DTextDropShadowCache.h36 struct ShadowText { struct
37 ShadowText(): glyphCount(0), radius(0.0f), textSize(0.0f), typeface(nullptr), in ShadowText() argument
42 ShadowText(const SkPaint* paint, float radius, uint32_t glyphCount, const glyph_t* srcGlyphs, in ShadowText() argument
55 ~ShadowText() { in ~ShadowText() argument
60 static int compare(const ShadowText& lhs, const ShadowText& rhs);
62 bool operator==(const ShadowText& other) const {
66 bool operator!=(const ShadowText& other) const {
98 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { in strictly_order_type()
99 return ShadowText::compare(lhs, rhs) < 0; in strictly_order_type()
102 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { in compare_type()
[all …]
DTextDropShadowCache.cpp32 hash_t ShadowText::hash() const { in hash()
52 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { in compare()
100 : mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity) in TextDropShadowCache()
127 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) { in operator ()() argument
150 ShadowText entry(paint, radius, numGlyphs, glyphs, positions); in get()