Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLayoutCache.h36 class LayoutCacheKey {
38 LayoutCacheKey(const U16StringPiece& text, const Range& range, const MinikinPaint& paint, in LayoutCacheKey() function
60 bool operator==(const LayoutCacheKey& o) const {
84 uint32_t getMemoryUsage() const { return sizeof(LayoutCacheKey) + sizeof(uint16_t) * mNchars; } in getMemoryUsage()
152 class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, LayoutSlot*> {
164 LayoutCacheKey key(text, range, paint, dir, startHyphen, endHyphen); in getOrCreate()
231 void operator()(LayoutCacheKey& key, LayoutSlot*& value) { in operator()
236 android::LruCache<LayoutCacheKey, LayoutSlot*> mCache GUARDED_BY(mMutex);
247 inline android::hash_t hash_type(const LayoutCacheKey& key) { in hash_type()