Searched refs:ShadowText (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/hwui/ |
D | TextDropShadowCache.h | 35 struct ShadowText { struct 36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), in ShadowText() function 41 ShadowText(const SkPaint* paint, float radius, uint32_t len, const char* srcText, in ShadowText() function 59 ~ShadowText() { in ~ShadowText() argument 64 static int compare(const ShadowText& lhs, const ShadowText& rhs); 66 bool operator==(const ShadowText& other) const { 70 bool operator!=(const ShadowText& other) const { 103 inline int strictly_order_type(const ShadowText& lhs, const ShadowText& rhs) { in strictly_order_type() 104 return ShadowText::compare(lhs, rhs) < 0; in strictly_order_type() 107 inline int compare_type(const ShadowText& lhs, const ShadowText& rhs) { in compare_type() [all …]
|
D | TextDropShadowCache.cpp | 33 hash_t ShadowText::hash() const { in hash() 53 int ShadowText::compare(const ShadowText& lhs, const ShadowText& rhs) { in compare() 98 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), in TextDropShadowCache() 113 mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), in TextDropShadowCache() 150 void TextDropShadowCache::operator()(ShadowText&, ShadowTexture*& texture) { in operator ()() argument 173 ShadowText entry(paint, radius, len, text, positions); in get()
|