HomeSort by relevance Sort by last modified time
    Searched refs:ShadowText (Results 1 - 2 of 2) sorted by null

  /frameworks/base/libs/hwui/
TextDropShadowCache.h 34 struct ShadowText {
35 ShadowText(): radius(0), len(0), textSize(0.0f), typeface(NULL) {
38 ShadowText(SkPaint* paint, uint32_t radius, uint32_t len, const char* srcText):
58 ~ShadowText() {
76 bool operator<(const ShadowText& rhs) const {
94 }; // struct ShadowText
107 class TextDropShadowCache: public OnEntryRemoved<ShadowText, ShadowTexture*> {
117 void operator()(ShadowText& text, ShadowTexture*& texture);
147 GenerationCache<ShadowText, ShadowTexture*> mCache;
TextDropShadowCache.cpp 31 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
46 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity),
83 void TextDropShadowCache::operator()(ShadowText& text, ShadowTexture*& texture) {
106 ShadowText entry(paint, radius, len, text);

Completed in 190 milliseconds