Lines Matching refs:ShadowText
35 struct ShadowText { struct
36 ShadowText(): len(0), radius(0.0f), textSize(0.0f), typeface(NULL), in ShadowText() argument
41 ShadowText(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()
108 return ShadowText::compare(lhs, rhs); in compare_type()
111 inline hash_t hash_type(const ShadowText& entry) { in hash_type()
126 class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> {
136 void operator()(ShadowText& text, ShadowTexture*& texture);
166 LruCache<ShadowText, ShadowTexture*> mCache;