Searched defs:TextLayoutCacheKey (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.h | 65 * TextLayoutCacheKey is the Cache key 67 class TextLayoutCacheKey { class in namespace:android 69 TextLayoutCacheKey(); 71 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, 74 TextLayoutCacheKey(const TextLayoutCacheKey& other); 81 static int compare(const TextLayoutCacheKey& lhs, const TextLayoutCacheKey& rhs); 85 bool operator==(const TextLayoutCacheKey& other) const { 89 bool operator!=(const TextLayoutCacheKey [all...] |
H A D | TextLayoutCache.cpp | 39 mCache(LruCache<TextLayoutCacheKey, sp<TextLayoutValue> >::kUnlimitedCapacity), 68 void TextLayoutCache::operator()(TextLayoutCacheKey& text, sp<TextLayoutValue>& desc) { 97 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags); 217 * TextLayoutCacheKey 219 TextLayoutCacheKey::TextLayoutCacheKey(): start(0), count(0), contextCount(0), function in class:android::TextLayoutCacheKey 225 TextLayoutCacheKey::TextLayoutCacheKey(const SkPaint* paint, const UChar* text, function in class:android::TextLayoutCacheKey 239 TextLayoutCacheKey::TextLayoutCacheKey(cons function in class:android::TextLayoutCacheKey [all...] |
Completed in 6 milliseconds