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(): len(0), radius(0.0f), textSize(0.0f), typeface(nullptr), in ShadowText() function
42 ShadowText(const SkPaint* paint, float radius, uint32_t len, const char* srcText, in ShadowText() argument
60 ~ShadowText() { in ~ShadowText() argument
65 static int compare(const ShadowText& lhs, const ShadowText& rhs);
67 bool operator==(const ShadowText& other) const {
71 bool operator!=(const ShadowText& other) const {
104 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { in strictly_order_type()
105 return ShadowText::compare(lhs, rhs) < 0; in strictly_order_type()
108 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { in compare_type()
[all …]
DTextDropShadowCache.cpp34 hash_t ShadowText::hash() const { in hash()
55 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { in compare()
100 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), in TextDropShadowCache()
115 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), in TextDropShadowCache()
152 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) { in operator ()() argument
175 ShadowText entry(paint, radius, len, text, positions); in get()