Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLayout.cpp68 class LayoutCacheKey { class
70 LayoutCacheKey(const std::shared_ptr<FontCollection>& collection, const MinikinPaint& paint, in LayoutCacheKey() function in minikin::LayoutCacheKey
80 bool operator==(const LayoutCacheKey &other) const;
124 class LayoutCache : private android::OnEntryRemoved<LayoutCacheKey, Layout*> {
134 Layout* get(LayoutCacheKey& key, LayoutContext* ctx, in get()
148 void operator()(LayoutCacheKey& key, Layout*& value) { in operator ()()
153 android::LruCache<LayoutCacheKey, Layout*> mCache;
183 bool LayoutCacheKey::operator==(const LayoutCacheKey& other) const { in operator ==()
199 android::hash_t LayoutCacheKey::computeHash() const { in computeHash()
215 android::hash_t hash_type(const LayoutCacheKey& key) { in hash_type()
[all …]
/frameworks/minikin/include/minikin/
DLayout.h106 friend class LayoutCacheKey;