Home
last modified time | relevance | path

Searched refs:LayoutCacheKey (Results 1 – 1 of 1) sorted by relevance

/frameworks/minikin/include/minikin/
DLayoutCache.h37 class LayoutCacheKey {
39 LayoutCacheKey(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in LayoutCacheKey() function
60 bool operator==(const LayoutCacheKey& o) const {
82 uint32_t getMemoryUsage() const { return sizeof(LayoutCacheKey) + sizeof(uint16_t) * mNchars; } in getMemoryUsage()
127 class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, LayoutPiece*> {
138 LayoutCacheKey key(text, range, paint, dir, startHyphen, endHyphen); in getOrCreate()
203 void operator()(LayoutCacheKey& key, LayoutPiece*& value) { in operator()
208 android::LruCache<LayoutCacheKey, LayoutPiece*> mCache GUARDED_BY(mMutex);
222 inline android::hash_t hash_type(const LayoutCacheKey& key) { in hash_type()